Hack the DocletTask's createTask method and insert it there if ant's
javadoc task supports it....
 
Ara.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:xdoclet-user-
> [EMAIL PROTECTED]] On Behalf Of Rainer Schmitz
> Sent: Tuesday, February 26, 2002 2:08 PM
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-user] JDK 1.4 assertion problem
> 
> When using the new JDK 1.4 keyword "assert" xDoclet produces a javadoc
> error:
> 
> [ejbdoclet] Test.java:453: not a statement
> [ejbdoclet]             assert false;
> [ejbdoclet]             ^
> [ejbdoclet] Test.java:453: ';' expected
> [ejbdoclet] Loading source file Test.java...
> [ejbdoclet]             assert false;
> 
> 
> I think javadoc has to be started with the "-source 1.4" parameter,
but
> how do I tell it the ejbdoclet task?
> 
> Thanks,
> Rainer
> 
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to