[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] Problems compiling from latest cvs



Michele Ravani wrote:

Hi


Hi,

please try:

cd xmlBlaster
cvs upd -dP
build.sh delete
build.sh all


does it help?

thanks
Marcel



compiling from latest cvs gives me quite a bit of errors in the demo
directory. The compiler complains about duplicate classes.

[ xmlBlaster]$ ./build.sh all
Buildfile: build.xml

prepare:
     [echo]  OS_FAMILY     = unix
     [echo] Build timestamp = 01/22/2003 12:34 AM version = 0.8x

prepare-src:

xmlBlaster:
[echo] Converting idl...
[echo] Comparing ./src/java/org/xmlBlaster/protocol/corba/xmlBlaster.idl to ./src/java/org/xmlBlaster/protocol/corba/serverIdl/Server.java
[echo] Generating CORBA stubs and skeletons from ./src/java/org/xmlBlaster/protocol/corba/xmlBlaster.idl
[java] The args attribute is deprecated. Please use nested arg elements.
[copy] Copying 34 files to /home/michele/Projects/xmlBlaster/build/src/xmlBlaster
[javac] Compiling 34 source files to /home/michele/Projects/xmlBlaster/build/classes
[javac] Compiling 1 source file to /home/michele/Projects/xmlBlaster/build/classes
[unjar] Expanding: /home/michele/Projects/xmlBlaster/lib/jutils.jar into /home/michele/Projects/xmlBlaster/build/classes
[jar] Building jar: /home/michele/Projects/xmlBlaster/build/xmlBlaster.jar
[copy] Copying 1 file to /home/michele/Projects/xmlBlaster/lib
[echo] Creating ./demo/soap/webservices/xmlBlaster.sar


demo:
[javac] Compiling 54 source files to /home/michele/Projects/xmlBlaster/build/classes
[javac] /home/michele/Projects/xmlBlaster/build/src/demo/HelloWorld.java:17: duplicate class: HelloWorld
[javac] public class HelloWorld
[javac] ^
[javac] /home/michele/Projects/xmlBlaster/build/src/demo/HelloWorld3.java:48: duplicate class: HelloWorld3
[javac] public class HelloWorld3 implements I_Callback
[javac] ^
[javac] /home/michele/Projects/xmlBlaster/build/src/demo/PtpReceive.java:30: duplicate class: PtpReceive
[javac] public class PtpReceive
[...]


being an Ant (and Java) moron, I'm a bit at loss...