ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Echlin, Robert" <Robert.Ech...@windriver.com>
Subject RE: Has ant an built in java compiler?
Date Mon, 12 Sep 2011 16:34:05 GMT
Sounds like it is running the compilation in the current inv9ocation of java.

Rob

> -----Original Message-----
> From: Beat Meier [mailto:mbe_ml@swiss-wireless.com.ar]
> Sent: Monday, September 12, 2011 12:19 PM
> To: user@ant.apache.org >> Ant Users List
> Subject: Has ant an built in java compiler?
> 
> Hello
> 
> Has ant (1.8.2) an built in java compiler?
> What compiler is used if in javac fork=no (default) is used?
> 
> My external specified compiler if fork=no is not called, because I have
> a wrapper script to debug the command line invocation.
> With fork=yes it is used. I have read the with fork=yes the external
> compiler is used but what is used with fork=no?
> 
> Example of my javac
> <javac srcdir="${build.src}"
>             destdir="${build.dir}/classes"
>             debug="${debug}"
>             optimize="${optimize}"
>             deprecation="${deprecation}"
>             verbose="${compiler.verbose}"
>             target="1.4"
>             source="1.3"
>             fork="${compiler.fork}"
>             includeAntRuntime="yes">
> <compilerarg line="-Xlint -Xlint:-serial -Xlint:-unchecked"
> compiler="modern"/>
> <classpath refid="project.class.path"/>
> </javac>
> 
> 
> Thanks
> 
> Beat
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message