You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Sandip Ghayal <sg...@yahoo.com> on 2004/08/17 16:08:54 UTC

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\EchoPortSoapBindingImpl.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\EchoPortSoapBindingImpl.java:18:
cannot resolve symbol

symbol  : variable AxisGeronimoUtils 

location: class
org.apache.ws.echosample.EchoPortSoapBindingImpl

			return
(java.lang.String)AxisGeronimoUtils.invokeEJB("echo",methodName,classes,arguments);

                                                 ^

F:\geronimo\src\incubator-geronimo\modules\axis\target\generated\samples\org\apache\ws\echosample\EchoPortSoapBindingImpl.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\EchoPortSoapBindingImpl.java:32:
cannot resolve symbol

symbol  : variable AxisGeronimoUtils 

location: class
org.apache.ws.echosample.EchoPortSoapBindingImpl

			return
((java.lang.Integer)AxisGeronimoUtils.invokeEJB("echo",methodName,classes,arguments)).intValue();

                                                   ^

F:\geronimo\src\incubator-geronimo\modules\axis\target\generated\samples\org\apache\ws\echosample\EchoPortSoapBindingImpl.java:39:
cannot resolve symbol

symbol  : variable AxisGeronimoUtils 

location: class
org.apache.ws.echosample.EchoPortSoapBindingImpl

			return
((java.lang.Double)AxisGeronimoUtils.invokeEJB("echo",methodName,classes,arguments)).doubleValue();

                                                  ^

F:\geronimo\src\incubator-geronimo\modules\axis\target\generated\samples\org\apache\ws\echosample\EchoPortSoapBindingImpl.java:46:
cannot resolve symbol

symbol  : variable AxisGeronimoUtils 

location: class
org.apache.ws.echosample.EchoPortSoapBindingImpl

			return
((java.lang.Float)AxisGeronimoUtils.invokeEJB("echo",methodName,classes,arguments)).floatValue();

                                                 ^

F:\geronimo\src\incubator-geronimo\modules\axis\target\generated\samples\org\apache\ws\echosample\EchoPortSoapBindingImpl.java:53:
cannot resolve symbol

symbol  : variable AxisGeronimoUtils 

location: class
org.apache.ws.echosample.EchoPortSoapBindingImpl

			return
((java.lang.Boolean)AxisGeronimoUtils.invokeEJB("echo",methodName,classes,arguments)).booleanValue();

                                                   ^

F:\geronimo\src\incubator-geronimo\modules\axis\target\generated\samples\org\apache\ws\echosample\EchoPortSoapBindingImpl.java:60:
cannot resolve symbol

symbol  : variable AxisGeronimoUtils 

location: class
org.apache.ws.echosample.EchoPortSoapBindingImpl

			return
((java.lang.Short)AxisGeronimoUtils.invokeEJB("echo",methodName,classes,arguments)).shortValue();

                                                 ^

F:\geronimo\src\incubator-geronimo\modules\axis\target\generated\samples\org\apache\ws\echosample\EchoPortSoapBindingImpl.java:67:
cannot resolve symbol

symbol  : variable AxisGeronimoUtils 

location: class
org.apache.ws.echosample.EchoPortSoapBindingImpl

			return
((java.lang.Long)AxisGeronimoUtils.invokeEJB("echo",methodName,classes,arguments)).longValue();

                                                ^

F:\geronimo\src\incubator-geronimo\modules\axis\target\generated\samples\org\apache\ws\echosample\EchoPortSoapBindingImpl.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\EchoPortSoapBindingImpl.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\EchoPortSoapBindingImpl.java:88:
cannot resolve symbol

symbol  : variable AxisGeronimoUtils 

location: class
org.apache.ws.echosample.EchoPortSoapBindingImpl

			return
(org.apache.ws.echosample.EchoStruct)AxisGeronimoUtils.invokeEJB("echo",methodName,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