Bug#324884: ant fails to recognize 'gjdoc' task,
whereas libant1.6 succeeds.
Eric Lavarde - Debian
deb at zorglub.s.bawue.de
Thu Aug 25 13:15:48 UTC 2005
Hi,
as I had patched build.xml to replace javadoc through gjdoc, I just had to
remove my patch, easy enough!
Nevertheless it still doesn't work properly, I get now the following error:
javadoc:
[mkdir] Created dir: /home/ericl/forms-1.0.5/build/docs/api
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] WARNING: -classpath option could not be passed to the VM.
Faking it with
[javadoc] WARNING: System.setProperty("java.class.path",
"/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/gnu-classpath-tools-gjdoc.jar:/usr/share/java/com-sun-javadoc.jar:/usr/share/java/com-sun-tools-doclets-Taglet.jar:/usr/share/java/antlr.jar:/usr/lib/fjsdk/jre/lib/rt.jar");
[javadoc] ERROR: Class or package Forms not found.
So to summarize, with exactly the same setup:
- ant/javadoc/sun vm works
- ant1.6/gjdoc/free-java-sdk works
- ant/javadoc=gjdoc/free-java-sdk does not work
(the warning about the classpath option comes also with ant1.6/gjdoc)
Any idea how to go around this issue?
Thanks, Eric
--
Eric de France, d'Allemagne et de Navarre
More information about the pkg-java-maintainers
mailing list