You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Bradford Holcombe <bh...@3veni.com> on 2001/09/17 21:37:22 UTC

ant, javac, javadoc, asserts and JDK 1.4

Steve Buroff wrote:

> Anyone know how to use ant javac with JDK 1.4. I need to supply
> the "-source 1.4" option to get it to handle my asserts. I see no
> way to do this and the compiler bombs. Anyone know a workaround?
> Thanks

and yuri.gadow@ieee.org wrote:

> I had the same problem a while ago and had to modify the taskdef. I don't have
> it with me or I'd attach it (can this evening if still needed, but it's a
> fairly easy change to make, just follow the example set in the src (re-use
> through cut & paste))

A temporary patch and related commentary is listed in Ant
Bug 3045
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3045).
Stefan Bodewig has a new javac task in CVS which requires
three files be added to the source release for 1.5alpha (my
particular solution). The assert issues with javadoc have
yet to be resolved at Sun. Again, see the commentary.

-- 
Bradford Holcombe
c/o Triveni Digital
40 Washington Road
Princeton Junction, NJ 08550
609.716.3504
bholcombe@3veni.com
www.trivenidigital.com