On Fri, 2003-11-07 at 23:33, Chevallier Christophe wrote:
> Hi,
> First of all I'm very happy to be able to use xdoclet, I thing this
> project it's very interesting for the java community, thanks to the
> authors.
> But I have a big problem, lets me explain to us :
> I have installed xdoclet xdoclet-bin-1.2b3.tgz on my Mandrake 9.1
> distribution.
> I have untar all files and I want to try the samples. but each time
> I'm doing "ant" i have the same message :
> 
> Buildfile: build.xml
> 
> init:
> 
> prepare:
> 
> 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:/home/download/xdoclet/ok/samples/build.xml:113: The <ejbdoclet>
> task doesn't support the nested "packagesubstitution" element.
> 
> I have try to create another build file for my specific project
> because I want to use xdoclet to generate the hibernate
> configuration's files.
> 
> When I want ant I have exactly the same king of message :hibernate:
>      [echo] +---------------------------------------------------+
>      [echo] |                                                   |
>      [echo] | R U N N I N G   HIBERNATE                   |
>      [echo] |                                                   |
>      [echo] +---------------------------------------------------+
> 
> BUILD FAILED
> file:/home/ccr/Tourism/build.xml:279: The <hibernatedoclet> task
> doesn't support the nested "hibernate" element.
> At the beginning I thought I have the wrong version of ant, but wasn't
> because I have the 1.5.3.
> I'm using the jre 1.4.183 from sun.
> 
> Does some one have an idea ? I have try to found in the archive but
> this action unsuccessful.
> Thank you for your response.
> Christophe.

Can you show us the relevant bits from your build.xml (taskdefs, the
*doclet tasks, and any path definitions that they're referencing)?

Any time a task "doesn't support the nested" subtask or other elements,
chances are it's a classpath problem.  Have you had an older version of
xdoclet installed, which it might be picking up instead?  Are you using
a CLASSPATH environment variable?  Have you added any extra jars into
Ant's lib directory besides the ones that came with it?


Andrew.



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to