You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Lin Sun <li...@gmail.com> on 2007/01/12 20:45:06 UTC
cannot build axis2 trunk
Hi there,
I still haven't had luck in building axis2 trunk and I am getting a compile
error with the trunk I checked out .5-1 hour ago:
test:compile:
[copy] Copying 1 file to
E:\axis2-trunk\modules\saaj\target\test-classes\mod
ules
[javac] Compiling 20 source files to
E:\axis2-trunk\modules\saaj\target\test
-classes
[javac]
E:\axis2-trunk\modules\saaj\test\org\apache\axis2\saaj\SOAPPartTest.
java:165: cannot resolve symbol
[javac] symbol : method getInputEncoding ()
[javac] location: class javax.xml.soap.SOAPPart
[javac] String inputEncoding = sp.getInputEncoding();
[javac] ^
[javac] 1 error
BUILD FAILED
File...... C:\Documents and
Settings\Administrator\.maven\cache\maven-multiproje
ct-plugin-1.5-SNAPSHOT\plugin.jelly
Element... maven:reactor
Line...... 227
Column.... -1
Unable to obtain goal [multiproject:install-callback] -- C:\Documents and
Settin
gs\Administrator\.maven\cache\maven-test-plugin-1.8.1-SNAPSHOT\plugin.jelly:
55:-
1: <javac> Compile failed; see the compiler error output for details.
Total time : 25 minutes 55 seconds
Finished at : Friday, January 12, 2007 2:38:31 PM EST
Thanks, Lin
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: cannot build axis2 trunk
Posted by Ruchith Fernando <ru...@gmail.com>.
Thanks thilina... my maven version was the problem (1.0.2)
Thanks,
Ruchith
On 1/13/07, Thilina Gunarathne <cs...@gmail.com> wrote:
> Hi Ruchith,
> That conditional was working for me earleir with other excludes like
> jaxbri & jaxws.
> Make sure you are using maven 1.1-beta-x...
>
> Thanks,
> Thilina
>
> On 1/13/07, Ruchith Fernando <ru...@gmail.com> wrote:
> > Hi Lin,
> >
> > This is because the Axis2 SAAJ impl is now being updated to SAAJ 1.3.
> >
> > I tried to make the SAAJ stuff build only when JDK 1.5 is present
> > (using maven.multiproject.includes.requiresJDK15 of project.properties
> > and removing them from maven.multiproject.includes) but it doesn't
> > seem to work for me :-(
> >
> > Thanks,
> > Ruchith
> >
> > On 1/13/07, Lin Sun <li...@gmail.com> wrote:
> > > Hi there,
> > >
> > > I still haven't had luck in building axis2 trunk and I am getting a compile
> > > error with the trunk I checked out .5-1 hour ago:
> > >
> > > test:compile:
> > > [copy] Copying 1 file to
> > > E:\axis2-trunk\modules\saaj\target\test-classes\mod
> > > ules
> > > [javac] Compiling 20 source files to
> > > E:\axis2-trunk\modules\saaj\target\test
> > > -classes
> > > [javac]
> > > E:\axis2-trunk\modules\saaj\test\org\apache\axis2\saaj\SOAPPartTest.
> > > java:165: cannot resolve symbol
> > > [javac] symbol : method getInputEncoding ()
> > > [javac] location: class javax.xml.soap.SOAPPart
> > > [javac] String inputEncoding = sp.getInputEncoding();
> > > [javac] ^
> > > [javac] 1 error
> > >
> > > BUILD FAILED
> > > File...... C:\Documents and
> > > Settings\Administrator\.maven\cache\maven-multiproje
> > > ct-plugin-1.5-SNAPSHOT\plugin.jelly
> > > Element... maven:reactor
> > > Line...... 227
> > > Column.... -1
> > > Unable to obtain goal [multiproject:install-callback] -- C:\Documents and
> > > Settin
> > > gs\Administrator\.maven\cache\maven-test-plugin-1.8.1-SNAPSHOT\plugin.jelly:
> > > 55:-
> > > 1: <javac> Compile failed; see the compiler error output for details.
> > > Total time : 25 minutes 55 seconds
> > > Finished at : Friday, January 12, 2007 2:38:31 PM EST
> > >
> > > Thanks, Lin
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> > >
> >
> >
> > --
> > www.ruchith.org
> > www.wso2.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Thilina Gunarathne
> WSO2, Inc.; http://www.wso2.com/
> Home page: http://webservices.apache.org/~thilina/
> Blog: http://thilinag.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
www.ruchith.org
www.wso2.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: cannot build axis2 trunk
Posted by Thilina Gunarathne <cs...@gmail.com>.
Lin,
Try commenting out the following entries under
maven.multiproject.includes= in the etc/project.properties...
..
modules/saaj/project.xml,\
modules/saaj-api/project.xml,\
...
Let them be there only under maven.multiproject.includes.requiresJDK15..
~Thilina
On 1/13/07, Thilina Gunarathne <cs...@gmail.com> wrote:
> Hi Ruchith,
> That conditional was working for me earleir with other excludes like
> jaxbri & jaxws.
> Make sure you are using maven 1.1-beta-x...
>
> Thanks,
> Thilina
>
> On 1/13/07, Ruchith Fernando <ru...@gmail.com> wrote:
> > Hi Lin,
> >
> > This is because the Axis2 SAAJ impl is now being updated to SAAJ 1.3.
> >
> > I tried to make the SAAJ stuff build only when JDK 1.5 is present
> > (using maven.multiproject.includes.requiresJDK15 of project.properties
> > and removing them from maven.multiproject.includes) but it doesn't
> > seem to work for me :-(
> >
> > Thanks,
> > Ruchith
> >
> > On 1/13/07, Lin Sun <li...@gmail.com> wrote:
> > > Hi there,
> > >
> > > I still haven't had luck in building axis2 trunk and I am getting a compile
> > > error with the trunk I checked out .5-1 hour ago:
> > >
> > > test:compile:
> > > [copy] Copying 1 file to
> > > E:\axis2-trunk\modules\saaj\target\test-classes\mod
> > > ules
> > > [javac] Compiling 20 source files to
> > > E:\axis2-trunk\modules\saaj\target\test
> > > -classes
> > > [javac]
> > > E:\axis2-trunk\modules\saaj\test\org\apache\axis2\saaj\SOAPPartTest.
> > > java:165: cannot resolve symbol
> > > [javac] symbol : method getInputEncoding ()
> > > [javac] location: class javax.xml.soap.SOAPPart
> > > [javac] String inputEncoding = sp.getInputEncoding();
> > > [javac] ^
> > > [javac] 1 error
> > >
> > > BUILD FAILED
> > > File...... C:\Documents and
> > > Settings\Administrator\.maven\cache\maven-multiproje
> > > ct-plugin-1.5-SNAPSHOT\plugin.jelly
> > > Element... maven:reactor
> > > Line...... 227
> > > Column.... -1
> > > Unable to obtain goal [multiproject:install-callback] -- C:\Documents and
> > > Settin
> > > gs\Administrator\.maven\cache\maven-test-plugin-1.8.1-SNAPSHOT\plugin.jelly:
> > > 55:-
> > > 1: <javac> Compile failed; see the compiler error output for details.
> > > Total time : 25 minutes 55 seconds
> > > Finished at : Friday, January 12, 2007 2:38:31 PM EST
> > >
> > > Thanks, Lin
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> > >
> >
> >
> > --
> > www.ruchith.org
> > www.wso2.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Thilina Gunarathne
> WSO2, Inc.; http://www.wso2.com/
> Home page: http://webservices.apache.org/~thilina/
> Blog: http://thilinag.blogspot.com/
>
--
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: cannot build axis2 trunk
Posted by Thilina Gunarathne <cs...@gmail.com>.
Hi Ruchith,
That conditional was working for me earleir with other excludes like
jaxbri & jaxws.
Make sure you are using maven 1.1-beta-x...
Thanks,
Thilina
On 1/13/07, Ruchith Fernando <ru...@gmail.com> wrote:
> Hi Lin,
>
> This is because the Axis2 SAAJ impl is now being updated to SAAJ 1.3.
>
> I tried to make the SAAJ stuff build only when JDK 1.5 is present
> (using maven.multiproject.includes.requiresJDK15 of project.properties
> and removing them from maven.multiproject.includes) but it doesn't
> seem to work for me :-(
>
> Thanks,
> Ruchith
>
> On 1/13/07, Lin Sun <li...@gmail.com> wrote:
> > Hi there,
> >
> > I still haven't had luck in building axis2 trunk and I am getting a compile
> > error with the trunk I checked out .5-1 hour ago:
> >
> > test:compile:
> > [copy] Copying 1 file to
> > E:\axis2-trunk\modules\saaj\target\test-classes\mod
> > ules
> > [javac] Compiling 20 source files to
> > E:\axis2-trunk\modules\saaj\target\test
> > -classes
> > [javac]
> > E:\axis2-trunk\modules\saaj\test\org\apache\axis2\saaj\SOAPPartTest.
> > java:165: cannot resolve symbol
> > [javac] symbol : method getInputEncoding ()
> > [javac] location: class javax.xml.soap.SOAPPart
> > [javac] String inputEncoding = sp.getInputEncoding();
> > [javac] ^
> > [javac] 1 error
> >
> > BUILD FAILED
> > File...... C:\Documents and
> > Settings\Administrator\.maven\cache\maven-multiproje
> > ct-plugin-1.5-SNAPSHOT\plugin.jelly
> > Element... maven:reactor
> > Line...... 227
> > Column.... -1
> > Unable to obtain goal [multiproject:install-callback] -- C:\Documents and
> > Settin
> > gs\Administrator\.maven\cache\maven-test-plugin-1.8.1-SNAPSHOT\plugin.jelly:
> > 55:-
> > 1: <javac> Compile failed; see the compiler error output for details.
> > Total time : 25 minutes 55 seconds
> > Finished at : Friday, January 12, 2007 2:38:31 PM EST
> >
> > Thanks, Lin
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> www.ruchith.org
> www.wso2.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
RE: cannot build axis2 trunk
Posted by Lin Sun <li...@gmail.com>.
Hi Ruchith, I tried your suggested workaround below and it builds fine for
me now! :-) I am using maven 1.1 beta 2.
Thanks, Lin
-----Original Message-----
From: Ruchith Fernando [mailto:ruchith.fernando@gmail.com]
Sent: Saturday, January 13, 2007 1:03 AM
To: axis-user@ws.apache.org
Subject: Re: cannot build axis2 trunk
Hi Lin,
This is because the Axis2 SAAJ impl is now being updated to SAAJ 1.3.
I tried to make the SAAJ stuff build only when JDK 1.5 is present
(using maven.multiproject.includes.requiresJDK15 of project.properties
and removing them from maven.multiproject.includes) but it doesn't
seem to work for me :-(
Thanks,
Ruchith
On 1/13/07, Lin Sun <li...@gmail.com> wrote:
> Hi there,
>
> I still haven't had luck in building axis2 trunk and I am getting a
compile
> error with the trunk I checked out .5-1 hour ago:
>
> test:compile:
> [copy] Copying 1 file to
> E:\axis2-trunk\modules\saaj\target\test-classes\mod
> ules
> [javac] Compiling 20 source files to
> E:\axis2-trunk\modules\saaj\target\test
> -classes
> [javac]
> E:\axis2-trunk\modules\saaj\test\org\apache\axis2\saaj\SOAPPartTest.
> java:165: cannot resolve symbol
> [javac] symbol : method getInputEncoding ()
> [javac] location: class javax.xml.soap.SOAPPart
> [javac] String inputEncoding = sp.getInputEncoding();
> [javac] ^
> [javac] 1 error
>
> BUILD FAILED
> File...... C:\Documents and
> Settings\Administrator\.maven\cache\maven-multiproje
> ct-plugin-1.5-SNAPSHOT\plugin.jelly
> Element... maven:reactor
> Line...... 227
> Column.... -1
> Unable to obtain goal [multiproject:install-callback] -- C:\Documents and
> Settin
>
gs\Administrator\.maven\cache\maven-test-plugin-1.8.1-SNAPSHOT\plugin.jelly:
> 55:-
> 1: <javac> Compile failed; see the compiler error output for details.
> Total time : 25 minutes 55 seconds
> Finished at : Friday, January 12, 2007 2:38:31 PM EST
>
> Thanks, Lin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
www.ruchith.org
www.wso2.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: cannot build axis2 trunk
Posted by Ruchith Fernando <ru...@gmail.com>.
Hi Lin,
This is because the Axis2 SAAJ impl is now being updated to SAAJ 1.3.
I tried to make the SAAJ stuff build only when JDK 1.5 is present
(using maven.multiproject.includes.requiresJDK15 of project.properties
and removing them from maven.multiproject.includes) but it doesn't
seem to work for me :-(
Thanks,
Ruchith
On 1/13/07, Lin Sun <li...@gmail.com> wrote:
> Hi there,
>
> I still haven't had luck in building axis2 trunk and I am getting a compile
> error with the trunk I checked out .5-1 hour ago:
>
> test:compile:
> [copy] Copying 1 file to
> E:\axis2-trunk\modules\saaj\target\test-classes\mod
> ules
> [javac] Compiling 20 source files to
> E:\axis2-trunk\modules\saaj\target\test
> -classes
> [javac]
> E:\axis2-trunk\modules\saaj\test\org\apache\axis2\saaj\SOAPPartTest.
> java:165: cannot resolve symbol
> [javac] symbol : method getInputEncoding ()
> [javac] location: class javax.xml.soap.SOAPPart
> [javac] String inputEncoding = sp.getInputEncoding();
> [javac] ^
> [javac] 1 error
>
> BUILD FAILED
> File...... C:\Documents and
> Settings\Administrator\.maven\cache\maven-multiproje
> ct-plugin-1.5-SNAPSHOT\plugin.jelly
> Element... maven:reactor
> Line...... 227
> Column.... -1
> Unable to obtain goal [multiproject:install-callback] -- C:\Documents and
> Settin
> gs\Administrator\.maven\cache\maven-test-plugin-1.8.1-SNAPSHOT\plugin.jelly:
> 55:-
> 1: <javac> Compile failed; see the compiler error output for details.
> Total time : 25 minutes 55 seconds
> Finished at : Friday, January 12, 2007 2:38:31 PM EST
>
> Thanks, Lin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
www.ruchith.org
www.wso2.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org