ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <stev...@iseran.com>
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/Locator.java, 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
> com.sun.tools.javac.* 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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message