I updated javac.jar from jdk 1.3.1... but I started seeing an error with
javadoc generation (actually from ejbdoclet in the admin module). I started
to look into why it was freaking out and found that the Ant Javadoc task
needs to run bin/javadoc[.exe], it will not use the javadoc classes from
tools.jar.
We might be able to trick it into using the version from tools.jar, but that
would require settting up the search path from build.sh/build.bat to include
tools/bin then add a javadoc script to do the rest.
Looking at the ant source for Javadoc, it looks like it will default to
"javadoc" as the command to execute, when it failes to find
${java.home}/bin/javadoc, which should pick up the correct script from tools
(javadoc for unix can't have a .sh though).
We will also have to copy most of the bits from the ant scripts to find
java... but it could work.
Ant did this because Javadoc will call System.exit(), which I may or may not
do on this version (who knows), but it is really too bad that they:
1) did not provide the option to use the Java command to spawn a new vm
with the javadoc classes.
2) make everything private, so i can't easily write a bm version which
corrects this.
--jason
On Tue, 11 Sep 2001, Hiram Chirino wrote:
>
> Thats easy... just take tools.jar from jdk lib directory, rename to
> javac.jar and, bingo, you've got yourself a new up to date javac.
>
> Regards,
> Hiram
>
> >From: Jason Dillon <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: <[EMAIL PROTECTED]>
> >Subject: [JBoss-dev] javac.jar
> >Date: Tue, 11 Sep 2001 18:04:26 -0700 (PDT)
> >
> >Looks like this has an older compiler which can't handle some language
> >features.
> >
> >Where did this come from? How can we get a newer version?
> >
> >--jason
> >
> >
> >_______________________________________________
> >Jboss-development mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/jboss-development
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development