Home > java, open source > Beware the Ant that ships with Fedora Core 2

Beware the Ant that ships with Fedora Core 2

August 17th, 2004 kikkoman

Ran into a nasty bug at work with the version of Ant that is shipped with Fedora Core 2. It is broken wrt our builds AND I didn’t know it was installed. GRRRRR. It is clicked by default under the Development Tools selection on the install. So I spent alot of time trying to figure out why the Ant that I installed wasn’t working.

FC2 ships with a gcj compiled version of Ant 1.5.3, which if you are not careful with your PATHs will get used instead of the regular Ant.

The FC2 version threw two different errors. On one build file, it couldn’t find javac, ‘Can’t find com.sun.tools.javac.Main’ or something like that. On another build file it seemed to find javac, but javac died by trying to allocate 1.7 gigs of ram.

Strange.

Categories: java, open source Tags:
Comments are closed.