You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kandula-dev@ws.apache.org by Andrea Santi <th...@gmail.com> on 2007/07/12 14:07:13 UTC

How build kandula2 for axis2.An installation guide exist?

Hi,
i'm trying to build kandula2 for use it with axis2.
I'm using the version of axis2 distribuited by the .war file.
I have installed maven 2.0.7 and apache ant 1.7.
I have checkout the project form the svn repository and put into a eclipse
project.I have added to the project all the axis's lib but in the project
there are still a lot of
not found import like "
org.oasis_open.docs.ws_tx.wscoor._2006._06.CoordinationContext_type3" or
"import org.oasis_open.docs.ws_tx.wscoor._2006._06.Register;".
Some class import also some java file like "
org.apache.kandula.wscoor.RegistrationServiceStub" that dosen't exist in the
package of the project i have checked out.
I would like to know if the source i got are the right ones or if there are
some other library that need to be added.

I've tried too to build the project with maven or ant but that cause other
errors because there aren't the buil.xml and the pom.xml files.

Can anyone tell me the resons of this problems and if is possible give me a
list of the things to do for build and run kandula2 with axis2?

Thanks a lot for the attention.

Re: How build kandula2 for axis2.An installation guide exist?

Posted by Thilina Gunarathne <cs...@gmail.com>.
Oooops... Sorry for the confusion..
it's 'maven clean jar'.. Also I do not see a duplicate build tag in my
project.xml copy..

Messing too much with maven2 has corrupted my memory ;-)..

Thanks,
Thilina

On 7/12/07, Andrea Santi <th...@gmail.com> wrote:
> Thank you a lot for your response.
> I have downloaded and installed maven 1.1 and tried to build kandula2.
> Using 'maven clean install' i got this error :
>
> >> Error parsing project.xml 'C:\.....\project.xml'
> >> ParseError at [row,col]:[302,9]
> Message: Duplicated tag: 'build'
> -------------------------------------------------------------------------------
> BUILD FAILED
>
> Infact in project.xml there are two entries for the tag build i deleted the
> one following
>
>     <build>
>         <nagEmailAddress>kandula-dev@ws.apache.org</nagEmailAddress>
>         <sourceDirectory>src</sourceDirectory>
>      </build>
>
> and tried to build again with the same command.Now the error is:
>
> >> Goal 'install' does not exist in this project.
>
> What can i do to fix this problem?
>
> Thanks for the attention.
>
> 2007/7/12, Thilina Gunarathne < csethil@gmail.com>:
> > Hi,
> > >I have added to the project all the axis's lib but in the project
> > > there are still a lot of
> > > not found import like
> > >
> "org.oasis_open.docs.ws_tx.wscoor._2006._06.CoordinationContext_type3"
> > > or "import
> > > org.oasis_open.docs.ws_tx.wscoor._2006._06.Register ;".
> > > Some class import also some java file like
> > > "org.apache.kandula.wscoor.RegistrationServiceStub"
> that
> > > dosen't exist in the package of the project i have checked out.
> > Above files are code generated during the build process... You'll need
> > to add the "target/src" as a source directory after doing a maven
> > build..
> >
> > > I've tried too to build the project with maven or ant but that cause
> other
> > > errors because there aren't the buil.xml and the pom.xml files.
> > Kandula2 is based on maven1.x not 2.x.. There exists project.xml &
> > maven.xml files..
> > Use 'maven clean install'
> >
> > thanks,
> > Thilina
> > >
> > > Can anyone tell me the resons of this problems and if is possible give
> me a
> > > list of the things to do for build and run kandula2 with axis2?
> > >
> > > Thanks a lot for the attention.
> > >
> > >
> >
> >
> > --
> > Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com
> >
>
>


-- 
Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: kandula-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: kandula-dev-help@ws.apache.org


Re: How build kandula2 for axis2.An installation guide exist?

Posted by Andrea Santi <th...@gmail.com>.
Thank you a lot for your response.
I have downloaded and installed maven 1.1 and tried to build kandula2.
Using 'maven clean install' i got this error :

>> Error parsing project.xml 'C:\.....\project.xml'
>> ParseError at [row,col]:[302,9]
Message: Duplicated tag: 'build'
-------------------------------------------------------------------------------
BUILD FAILED

Infact in project.xml there are two entries for the tag build i deleted the
one following

    <build>
        <nagEmailAddress>kandula-dev@ws.apache.org</nagEmailAddress>
        <sourceDirectory>src</sourceDirectory>
    </build>

and tried to build again with the same command.Now the error is:

>> Goal 'install' does not exist in this project.

What can i do to fix this problem?

Thanks for the attention.

2007/7/12, Thilina Gunarathne <cs...@gmail.com>:
>
> Hi,
> >I have added to the project all the axis's lib but in the project
> > there are still a lot of
> > not found import like
> > "org.oasis_open.docs.ws_tx.wscoor._2006._06.CoordinationContext_type3"
> > or "import
> > org.oasis_open.docs.ws_tx.wscoor._2006._06.Register;".
> > Some class import also some java file like
> > "org.apache.kandula.wscoor.RegistrationServiceStub" that
> > dosen't exist in the package of the project i have checked out.
> Above files are code generated during the build process... You'll need
> to add the "target/src" as a source directory after doing a maven
> build..
>
> > I've tried too to build the project with maven or ant but that cause
> other
> > errors because there aren't the buil.xml and the pom.xml files.
> Kandula2 is based on maven1.x not 2.x.. There exists project.xml &
> maven.xml files..
> Use 'maven clean install'
>
> thanks,
> Thilina
> >
> > Can anyone tell me the resons of this problems and if is possible give
> me a
> > list of the things to do for build and run kandula2 with axis2?
> >
> > Thanks a lot for the attention.
> >
> >
>
>
> --
> Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com
>

Re: How build kandula2 for axis2.An installation guide exist?

Posted by Thilina Gunarathne <cs...@gmail.com>.
Hi,
>I have added to the project all the axis's lib but in the project
> there are still a lot of
> not found import like
> "org.oasis_open.docs.ws_tx.wscoor._2006._06.CoordinationContext_type3"
> or "import
> org.oasis_open.docs.ws_tx.wscoor._2006._06.Register;".
> Some class import also some java file like
> "org.apache.kandula.wscoor.RegistrationServiceStub" that
> dosen't exist in the package of the project i have checked out.
Above files are code generated during the build process... You'll need
to add the "target/src" as a source directory after doing a maven
build..

> I've tried too to build the project with maven or ant but that cause other
> errors because there aren't the buil.xml and the pom.xml files.
Kandula2 is based on maven1.x not 2.x.. There exists project.xml &
maven.xml files..
Use 'maven clean install'

thanks,
Thilina
>
> Can anyone tell me the resons of this problems and if is possible give me a
> list of the things to do for build and run kandula2 with axis2?
>
> Thanks a lot for the attention.
>
>


-- 
Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: kandula-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: kandula-dev-help@ws.apache.org