geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan D. Cabrera" <...@toolazydogs.com>
Subject RE: Build problem with latest Codeline
Date Wed, 29 Sep 2004 12:24:40 GMT
The problem is that the newly created jar isn't in the maven repository
at that time.  This means that the axis tool, which is invoked during
the unit test phase, cannot find it.


Regards,
Alan

> -----Original Message-----
> From: Dain Sundstrom [mailto:dain@coredevelopers.net]
> Sent: Wednesday, August 18, 2004 10:59 AM
> To: dev@geronimo.apache.org
> Subject: Re: Build problem with latest Codeline
> 
> Is there a reason why maven doesn't just do that for us?
> 
> -dain
> 
> On Aug 18, 2004, at 4:16 AM, Alan D. Cabrera wrote:
> 
> > This is a known issue with the Axis module.  The way that you can
get
> > around it is to copy the Geronimo axis jar into your local
repository
> > by
> > hand.
> >
> > You can track the resolution of this issue via
> > http://nagoya.apache.org/jira/browse/AXIS-1517.
> >
> >
> > Regards,
> > Alan
> >
> >> -----Original Message-----
> >> From: Sandip Ghayal [mailto:sghayal@yahoo.com]
> >> Sent: Tuesday, August 17, 2004 9:09 AM
> >> To: geronimo-dev@incubator.apache.org
> >> Subject: Build problem with latest Codeline
> >>
> >> Hello Geronimo Gurus,
> >>
> >> I am new to this project and trying to compile latest
> >> codeline I downloaded yesterday.
> >>
> >> When doing the build I am getting following errors
> >>
> >> <<<<<< START OF ERROR>>>>>>>>>>>
> >> EchoPortSoapBindingImpl.java already exists, WSDL2Java
> >> will not overwrite it.
> >>
> >>     [javac] Compiling 11 source files to
> >> F:\geronimo\src\incubator-
> >> geronimo\modules\axis\target\generated\samples\build\classes
> >> F:\geronimo\src\incubator-
> >>
> >
geronimo\modules\axis\target\generated\samples\org\apache\ws\echosample
> > \
> > Ec
> >> hoPortSoapBindingImpl.java:2:
> >> package org.apache.geronimo.axis does not exist
> >>
> >> import org.apache.geronimo.axis.AxisGeronimoUtils;
> >>
> >>                                 ^
> >>
> >> F:\geronimo\src\incubator-
> >>
> >
geronimo\modules\axis\target\generated\samples\org\apache\ws\echosample
> > \
> > Ec
> >> hoPortSoapBindingImpl.java:18:
> >> cannot resolve symbol
> >>
> >> symbol  : variable AxisGeronimoUtils
> >>
> >> location: class
> >> org.apache.ws.echosample.EchoPortSoapBindingImpl
> >>
> >> 			return
> >>
> >
(java.lang.String)AxisGeronimoUtils.invokeEJB("echo",methodName,classes
> > ,
> > ar
> >> guments);
> >>
> >>                                                  ^
> >>
> >> F:\geronimo\src\incubator-
> >>
> >
geronimo\modules\axis\target\generated\samples\org\apache\ws\echosample
> > \
> > Ec
> >> hoPortSoapBindingImpl.java:25:
> >> cannot resolve symbol
> >>
> >> symbol  : variable AxisGeronimoUtils
> >>
> >> location: class
> >> org.apache.ws.echosample.EchoPortSoapBindingImpl
> >>
> >>
> >> AxisGeronimoUtils.invokeEJB("echo",methodName,classes,arguments);
> >>
> >>                         ^
> >>
> >> F:\geronimo\src\incubator-
> >>
> >
geronimo\modules\axis\target\generated\samples\org\apache\ws\echosample
> > \
> > Ec
> >> hoPortSoapBindingImpl.java:32:
> >> cannot resolve symbol
> >>
> >> symbol  : variable AxisGeronimoUtils
> >>
> >> location: class
> >> org.apache.ws.echosample.EchoPortSoapBindingImpl
> >>
> >> 			return
> >>
> >
((java.lang.Integer)AxisGeronimoUtils.invokeEJB("echo",methodName,class
> > e
> > s,
> >> arguments)).intValue();
> >>
> >>                                                    ^
> >>
> >> F:\geronimo\src\incubator-
> >>
> >
geronimo\modules\axis\target\generated\samples\org\apache\ws\echosample
> > \
> > Ec
> >> hoPortSoapBindingImpl.java:39:
> >> cannot resolve symbol
> >>
> >> symbol  : variable AxisGeronimoUtils
> >>
> >> location: class
> >> org.apache.ws.echosample.EchoPortSoapBindingImpl
> >>
> >> 			return
> >>
> >
((java.lang.Double)AxisGeronimoUtils.invokeEJB("echo",methodName,classe
> > s
> > ,a
> >> rguments)).doubleValue();
> >>
> >>                                                   ^
> >>
> >> F:\geronimo\src\incubator-
> >>
> >
geronimo\modules\axis\target\generated\samples\org\apache\ws\echosample
> > \
> > Ec
> >> hoPortSoapBindingImpl.java:46:
> >> cannot resolve symbol
> >>
> >> symbol  : variable AxisGeronimoUtils
> >>
> >> location: class
> >> org.apache.ws.echosample.EchoPortSoapBindingImpl
> >>
> >> 			return
> >>
> >
((java.lang.Float)AxisGeronimoUtils.invokeEJB("echo",methodName,classes
> > ,
> > ar
> >> guments)).floatValue();
> >>
> >>                                                  ^
> >>
> >> F:\geronimo\src\incubator-
> >>
> >
geronimo\modules\axis\target\generated\samples\org\apache\ws\echosample
> > \
> > Ec
> >> hoPortSoapBindingImpl.java:53:
> >> cannot resolve symbol
> >>
> >> symbol  : variable AxisGeronimoUtils
> >>
> >> location: class
> >> org.apache.ws.echosample.EchoPortSoapBindingImpl
> >>
> >> 			return
> >>
> >
((java.lang.Boolean)AxisGeronimoUtils.invokeEJB("echo",methodName,class
> > e
> > s,
> >> arguments)).booleanValue();
> >>
> >>                                                    ^
> >>
> >> F:\geronimo\src\incubator-
> >>
> >
geronimo\modules\axis\target\generated\samples\org\apache\ws\echosample
> > \
> > Ec
> >> hoPortSoapBindingImpl.java:60:
> >> cannot resolve symbol
> >>
> >> symbol  : variable AxisGeronimoUtils
> >>
> >> location: class
> >> org.apache.ws.echosample.EchoPortSoapBindingImpl
> >>
> >> 			return
> >>
> >
((java.lang.Short)AxisGeronimoUtils.invokeEJB("echo",methodName,classes
> > ,
> > ar
> >> guments)).shortValue();
> >>
> >>                                                  ^
> >>
> >> F:\geronimo\src\incubator-
> >>
> >
geronimo\modules\axis\target\generated\samples\org\apache\ws\echosample
> > \
> > Ec
> >> hoPortSoapBindingImpl.java:67:
> >> cannot resolve symbol
> >>
> >> symbol  : variable AxisGeronimoUtils
> >>
> >> location: class
> >> org.apache.ws.echosample.EchoPortSoapBindingImpl
> >>
> >> 			return
> >>
> >
((java.lang.Long)AxisGeronimoUtils.invokeEJB("echo",methodName,classes,
> > a
> > rg
> >> uments)).longValue();
> >>
> >>                                                 ^
> >>
> >> F:\geronimo\src\incubator-
> >>
> >
geronimo\modules\axis\target\generated\samples\org\apache\ws\echosample
> > \
> > Ec
> >> hoPortSoapBindingImpl.java:74:
> >> cannot resolve symbol
> >>
> >> symbol  : variable AxisGeronimoUtils
> >>
> >> location: class
> >> org.apache.ws.echosample.EchoPortSoapBindingImpl
> >>
> >> 			return
> >>
> >
(byte[])AxisGeronimoUtils.invokeEJB("echo",methodName,classes,arguments
> > )
> > ;
> >>
> >>                                        ^
> >>
> >> F:\geronimo\src\incubator-
> >>
> >
geronimo\modules\axis\target\generated\samples\org\apache\ws\echosample
> > \
> > Ec
> >> hoPortSoapBindingImpl.java:81:
> >> cannot resolve symbol
> >>
> >> symbol  : variable AxisGeronimoUtils
> >>
> >> location: class
> >> org.apache.ws.echosample.EchoPortSoapBindingImpl
> >>
> >>
> >> AxisGeronimoUtils.invokeEJB("echo",methodName,classes,arguments);
> >>
> >>                         ^
> >>
> >> F:\geronimo\src\incubator-
> >>
> >
geronimo\modules\axis\target\generated\samples\org\apache\ws\echosample
> > \
> > Ec
> >> hoPortSoapBindingImpl.java:88:
> >> cannot resolve symbol
> >>
> >> symbol  : variable AxisGeronimoUtils
> >>
> >> location: class
> >> org.apache.ws.echosample.EchoPortSoapBindingImpl
> >>
> >> 			return
> >>
> >
(org.apache.ws.echosample.EchoStruct)AxisGeronimoUtils.invokeEJB("echo"
> > ,
> > me
> >> thodName,classes,arguments);
> >>
> >>
> >>              ^
> >>
> >> 12 errors
> >>
> >>
> >>
> >> BUILD FAILED
> >>
> >> File......
> >> F:\geronimo\src\incubator-geronimo\maven.xml
> >>
> >> Element... maven:reactor
> >>
> >> Line...... 181
> >>
> >> Column.... 27
> >>
> >> Unable to obtain goal [default] --
> >> F:\geronimo\src\incubator-geronimo\modules\axis\maven.xml:36:36:
> >> <ant:ant> Compile failed; see the compiler error
> >> output for details.
> >>
> >> Total time: 5 minutes 33 seconds
> >>
> >> Finished at: Tue Aug 17 08:28:46 EDT 2004
> >> <<<<<< END OF ERROR>>>>>>>>>>>>>>>
> >>
> >> Now If I build this directory from modules/axis then
> >> the build works fine and have no problems.
> >>
> >> It seems the issue is with generated file under
> >> modules/axis/target/generated/build.xml.
> >>
> >> The file generated when compiling from modules/axis
> >> directory has following line
> >> 	<path id="classpath" >
> >> 		<pathelement
> >> location="/F:\geronimo\src\incubator-
> >> geronimo\modules\axis\.\target\classes"/>
> >> 	<pathelement
> >>
> >
location="/F:\geronimo\src\incubator-geronimo\modules\axis\target\test-
> >> classes"/>
> >> 	<pathelement
> >> location="F:\geronimo\src\incubator-
> >> geronimo\modules\axis\target\samples\echo.jar"/>
> >>
> >> Where as when compiling from root directory has
> >> following line
> >>
> >> 	<path id="classpath" >
> >> 		<pathelement
> >> location="/F:\geronimo\src\incubator-geronimo\.\target\classes"/>
> >> 	<pathelement
> >>
location="/F:\geronimo\src\incubator-geronimo\target\test-classes"/>
> >> 	<pathelement
> >> location="F:\geronimo\src\incubator-
> >> geronimo\modules\axis\target\samples\echo.jar"/>
> >>
> >> Notable part is missing Axis directory in the second
> >> case.
> >>
> >> I have been able to trace the bug to
> >> BuildFileGenerator.class located inside
> >> ews-SNAPSHOT.jar. I would like to modify the file and
> >> correct the issue (so that this build could be
> >> completed successfully).
> >>
> >> Now question I have are
> >> 1. Where do I get source code for ews-SNAPSHOT.jar ?
> >> 2. How do I configure the build so that it does not
> >> download this files when doing the build ?
> >>
> >> Thanks,
> >>
> >> Sandip
> >>
> >>
> >>
> >> _______________________________
> >> Do you Yahoo!?
> >> Express yourself with Y! Messenger! Free. Download now.
> >> http://messenger.yahoo.com
> >
> >
> 



Mime
View raw message