geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bordet, Simone" <simone.bor...@hp.com>
Subject RE: Compilation Error
Date Tue, 24 Aug 2004 07:39:41 GMT
Hi,

see below message from Alan.

Simon 

> -----Original Message-----
> From: Alan D. Cabrera [mailto:adc@toolazydogs.com] 
> Sent: Wednesday, August 18, 2004 13:16
> To: dev@geronimo.apache.org; geronimo-dev@incubator.apache.org
> Subject: RE: Build problem with latest Codeline
> 
> 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\e
chosample\
> 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\e
chosample\
> Ec
> > hoPortSoapBindingImpl.java:18:
> > cannot resolve symbol
> > 
> > symbol  : variable AxisGeronimoUtils
> > 
> > location: class
> > org.apache.ws.echosample.EchoPortSoapBindingImpl
> > 
> > 			return
> >
> (java.lang.String)AxisGeronimoUtils.invokeEJB("echo",methodNam
e,classes,
> ar
> > guments);
> > 
> >                                                  ^
> > 
> > F:\geronimo\src\incubator-
> >
> geronimo\modules\axis\target\generated\samples\org\apache\ws\e
chosample\
> 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\e
chosample\
> Ec
> > hoPortSoapBindingImpl.java:32:
> > cannot resolve symbol
> > 
> > symbol  : variable AxisGeronimoUtils
> > 
> > location: class
> > org.apache.ws.echosample.EchoPortSoapBindingImpl
> > 
> > 			return
> >
> ((java.lang.Integer)AxisGeronimoUtils.invokeEJB("echo",methodN
ame,classe
> s,
> > arguments)).intValue();
> > 
> >                                                    ^
> > 
> > F:\geronimo\src\incubator-
> >
> geronimo\modules\axis\target\generated\samples\org\apache\ws\e
chosample\
> Ec
> > hoPortSoapBindingImpl.java:39:
> > cannot resolve symbol
> > 
> > symbol  : variable AxisGeronimoUtils
> > 
> > location: class
> > org.apache.ws.echosample.EchoPortSoapBindingImpl
> > 
> > 			return
> >
> ((java.lang.Double)AxisGeronimoUtils.invokeEJB("echo",methodNa
me,classes
> ,a
> > rguments)).doubleValue();
> > 
> >                                                   ^
> > 
> > F:\geronimo\src\incubator-
> >
> geronimo\modules\axis\target\generated\samples\org\apache\ws\e
chosample\
> Ec
> > hoPortSoapBindingImpl.java:46:
> > cannot resolve symbol
> > 
> > symbol  : variable AxisGeronimoUtils
> > 
> > location: class
> > org.apache.ws.echosample.EchoPortSoapBindingImpl
> > 
> > 			return
> >
> ((java.lang.Float)AxisGeronimoUtils.invokeEJB("echo",methodNam
e,classes,
> ar
> > guments)).floatValue();
> > 
> >                                                  ^
> > 
> > F:\geronimo\src\incubator-
> >
> geronimo\modules\axis\target\generated\samples\org\apache\ws\e
chosample\
> Ec
> > hoPortSoapBindingImpl.java:53:
> > cannot resolve symbol
> > 
> > symbol  : variable AxisGeronimoUtils
> > 
> > location: class
> > org.apache.ws.echosample.EchoPortSoapBindingImpl
> > 
> > 			return
> >
> ((java.lang.Boolean)AxisGeronimoUtils.invokeEJB("echo",methodN
ame,classe
> s,
> > arguments)).booleanValue();
> > 
> >                                                    ^
> > 
> > F:\geronimo\src\incubator-
> >
> geronimo\modules\axis\target\generated\samples\org\apache\ws\e
chosample\
> Ec
> > hoPortSoapBindingImpl.java:60:
> > cannot resolve symbol
> > 
> > symbol  : variable AxisGeronimoUtils
> > 
> > location: class
> > org.apache.ws.echosample.EchoPortSoapBindingImpl
> > 
> > 			return
> >
> ((java.lang.Short)AxisGeronimoUtils.invokeEJB("echo",methodNam
e,classes,
> ar
> > guments)).shortValue();
> > 
> >                                                  ^
> > 
> > F:\geronimo\src\incubator-
> >
> geronimo\modules\axis\target\generated\samples\org\apache\ws\e
chosample\
> 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\e
chosample\
> 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\e
chosample\
> 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\e
chosample\
> Ec
> > hoPortSoapBindingImpl.java:88:
> > cannot resolve symbol
> > 
> > symbol  : variable AxisGeronimoUtils
> > 
> > location: class
> > org.apache.ws.echosample.EchoPortSoapBindingImpl
> > 
> > 			return
> >
> (org.apache.ws.echosample.EchoStruct)AxisGeronimoUtils.invokeE
JB("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\tar
get\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