On Fri, 2003-12-19 at 14:56, Marco Mistroni wrote:
>       I have downloaded XDoclet (latest version)

By that do you mean the latest CVS version, or beta 3?

> and tried to build it
> from
> Sources.
> Everything went fine until xdoclet tried to build the samples.
> At that stage the build failed with following exception
> 
> ejbdoclet:
>      [echo] +---------------------------------------------------+
>      [echo] |                                                   |
>      [echo] | R U N N I N G   E J B D O C L E T                 |
>      [echo] |                                                   |
>      [echo] +---------------------------------------------------+
> 
> BUILD FAILED
> file:C:/XDoclet/samples/build.xml:113: Can't create a jboss element
> under ejbdoc
> let. Make sure the jar file containing the corresponding subtask class
> is on the
>  classpath specified in the <taskdef> that defined {2}.
> 
> Anyone can help me in figuring out the problem?

Might there be an older version of xdoclet being found on the classpath
ahead of the one it's just built?  That's the usual culprit for these
"can't create X element" errors.  Alternatively, are you sure it managed
to build the jboss module okay?  Lastly, what about the jboss j2ee
classes?  Could there be any other jboss classes being found on the
classpath instead of the jboss-j2ee.jar from samples/lib?

Try running 'ant -verbose' in the samples directory to get more
information on where it's loading the various classes from.


Andrew.



-------------------------------------------------------
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

Reply via email to