ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: Ant requiring tools.jar / SUN compiler tools
Date Thu, 26 Feb 2004 14:46:23 GMT
Sonja Krause-Harder wrote:
> Hi,
> In org/apache/tools/ant/launch/, the comment
> for getToolsJar() states:
> /**
>  * Get the File necessary to load the Sun compiler tools. (...)
>  */
> ... and then tries to either load the compiler classes or find 
> tools.jar in the system.
> Does this mean that ant can't run without an implementation of the
>* classes? Do you know if there is a free (cleanroom)
> implementation of these classes available? Are the classes also needed
> when I only want to use gcj as build.compiler?

tools.jar is used for lots of things -rmic, javadoc, javah. Ant will 
still run if it cannot find the file, and so your build file may or may 
not work, depending on what tasks you use and how they are configured

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message