Sounds like it is running the compilation in the current inv9ocation of java.

Rob

> -----Original Message-----
> From: Beat Meier [mailto:mbe...@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-unsubscr...@ant.apache.org
> For additional commands, e-mail: user-h...@ant.apache.org


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

Reply via email to