of course i'm using the ant script. by calling ant in the samples dir. when i execute the build.sh via sh ./build.sh i got some other errors. (: command not known)
when i start it via ant ejbdoclet tells me that it generates all the files. after that the compilation fails with the given error... grtx jens > are you using the ant build script? the ejbdoclet task should generate > the missing classes. > > cheers > dim > > On Sat, 10 Nov 2001, Jens Kumpfmueller wrote: > > > hi all, > > > > when i try to build the samples included in xdoclet 1.0.1 zip i always > > get the following error: > > > > compile: > > [javac] Compiling 42 source files to /usr/java/xdoclet/samples/build/ejb > > [javac] > > /usr/java/xdoclet/samples/gen-src/java/test/interfaces/Account.java:9: > > test.interfaces.Account is already defined in this compilation unit > > [javac] import test.interfaces.Account; > > [javac] ^ > > [javac] > > /usr/java/xdoclet/samples/gen-src/java/test/interfaces/AccountData.java:10: > > test.interfaces.AccountData is already defined in this compilation unit > > [javac] import test.interfaces.AccountData; > > [javac] ^ > > [javac] > > /usr/java/xdoclet/samples/gen-src/java/test/interfaces/Customer.java:10: > > test.interfaces.Customer is already defined in this compilation unit > > [javac] import test.interfaces.Customer; > > [javac] ^ > > [javac] > > /usr/java/xdoclet/samples/gen-src/java/test/interfaces/CustomerData.java:11: > > test.interfaces.CustomerData is already defined in this compilation unit > > [javac] import test.interfaces.CustomerData; > > [javac] ^ > > [javac] > > /usr/java/xdoclet/samples/gen-src/java/test/interfaces/PersonData.java:11: > > test.interfaces.PersonData is already defined in this compilation unit > > [javac] import test.interfaces.PersonData; > > [javac] ^ > > [javac] > > /usr/java/xdoclet/samples/gen-src/java/test/interfaces/PersonPK.java:12: > > test.interfaces.PersonPK is already defined in this compilation unit > > [javac] import test.interfaces.PersonPK; > > [javac] ^ > > [javac] > > /usr/java/xdoclet/samples/gen-src/java/test/interfaces/CustomerPK.java:12: > > test.interfaces.CustomerPK is already defined in this compilation unit > > [javac] import test.interfaces.CustomerPK; > > [javac] ^ > > [javac] > > /usr/java/xdoclet/samples/gen-src/java/test/interfaces/Person.java:10: > > test.interfaces.Person is already defined in this compilation unit > > [javac] import test.interfaces.Person; > > [javac] ^ > > [javac] 8 errors > > > > > > how can i solve those problems? > > > > thx in advice > > > > jens > > > > > > _______________________________________________ > > Xdoclet-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > > > > _______________________________________________ > Xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
