ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bradford Holcombe <>
Subject ant, javac, javadoc, asserts and JDK 1.4
Date Mon, 17 Sep 2001 19:37:22 GMT
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 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
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

View raw message