Am Die, 2003-12-16 um 23.33 schrieb Mark Lowe:
> Haug
>
> Am i right in assuming that you're used to using ant?
>
> xdoclet is like a bunch of ant extensions, i haven't been using
> xdoclet
>
> very long but having used ant for a couple of years or so I haven't
> found any of the problems you're talking about.
>
> So what's the problem exactly?
I unpacked xdoclet 1.1.2 and copied the jar file into my ant/lib
directory. I switched to the samples/script directory and tried
to compile the examples, which failed.
Buildfile: build.xml
init:
prepare:
ejbdoclet:
BUILD FAILED
file:/home/shared/xdoclet/samples/script/build.xml:110:
java.lang.NoClassDefFoundError: org/apache/log4j/Category
I think there is a dependency on log4j. At least this should be
part of an installation description.
I found a log4j jar in one of the beta distributions and
copied it to ant/lib. Know it seams to work to a certain degre,
until I get the following errors.
...
[ejbdoclet] Generating Util class for 'test.ejb.CustomerBean'.
[ejbdoclet] Generating Util class for 'test.ejb.CustomerBMPBean'.
[ejbdoclet] Running <castorMapping/>
[ejbdoclet] Generating output 'mapping.xml' using template file
'jar:file:/home/shared/apache-ant-1.5.4/lib/xdoclet.jar!/xdoclet/ejb/vendor/mapping_xml.j'.
[ejbdoclet] Running <jrun/>
[ejbdoclet] Generating jrun-ejb-jar.xml.
[ejbdoclet] 45 warnings
compile-ejbs:
[javac] Compiling 96 source files to
/home/shared/xdoclet/samples/build/ejb/classes
[javac]
/home/shared/xdoclet/samples/gen-src/java/test/ejb/CustomerBMPBMP.java:25: cannot
resolve symbol
[javac] symbol : class AddressLocal
[javac] location: class test.ejb.CustomerBMPBMP
[javac] public AddressLocal address;
[javac] ^
[javac]
/home/shared/xdoclet/samples/gen-src/java/test/ejb/CustomerBMPBMP.java:65: cannot
resolve symbol
[javac] symbol : class AddressLocal
[javac] location: class test.ejb.CustomerBMPBMP
[javac] public AddressLocal getAddress()
[javac] ^
[javac]
/home/shared/xdoclet/samples/gen-src/java/test/ejb/CustomerBMPBMP.java:70: cannot
resolve symbol
[javac] symbol : class AddressLocal
[javac] location: class test.ejb.CustomerBMPBMP
[javac] public void setAddress( AddressLocal address )
[javac] ^
[javac] 3 errors
BUILD FAILED
file:/home/shared/xdoclet/samples/script/build.xml:295: Compile failed;
see the compiler error output for details.
Regards
Haug
--
Haug B�rger <[EMAIL PROTECTED]>
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user