RE: Has ant an built in java compiler?

2011-09-12 Thread Martin Gainty
jar -xvf $APACHE_HOME/lib/ant.jar look for file called 'defaults.properties' look for keyword=Classname assigment javac=org.apache.tools.ant.taskdefs.Javac Override setting the compiler attribute, specific to the current task e.g. Date: Mon, 12 Sep 2011 13:19:02 -0300 > From: mbe...@swiss-w

RE: Has ant an built in java compiler?

2011-09-12 Thread Echlin, Robert
Sorry Beat, I did not answer your question. Ant does not have a Java compiler. Java has a Java compiler. It looks to me as if Java is running the "modern" compiler that is built into your version of Java. If Java has to load some java classes to do the compile, it know where to get them, so has

RE: Has ant an built in java compiler?

2011-09-12 Thread Echlin, Robert
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 compi

Has ant an built in java compiler?

2011-09-12 Thread Beat Meier
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 th

Re: How can I pass -Xlint to javac ?

2011-09-12 Thread Beat Meier
Thanks a lot That's what I was looking for!! Works like a charm Beat On 09/12/2011 02:30 AM, Urena, Jose M (Jose) wrote: Xlint is only valid for newer compilers if you are concerned that code might be compiled with different JDK versions or from different vendors then compilerarg should have