You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Siamack Farshi <sf...@724.com> on 2002/01/07 23:11:13 UTC
A quick question
Hello Everyone:
I would like to use javac 1.4 to compile my projects. My ant uses the javac
classic complier which is 1.1 or 1.2. Where should I set the property
build.compiler
to uses the compiler of my choice. If I use the following in my build.xml,
will it work:
<property name="build.compiler" value="/usr/local/java1.4/bin/javac"/>
Thanks in advnace,
regards,
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: A quick question
Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 7 Jan 2002, Siamack Farshi <sf...@724.com> wrote:
> I would like to use javac 1.4 to compile my projects.
If you are Ant with Java 1.4, it will do so automatically, unless you
fiddle with build.compiler (setting it to modern would be
appropriate).
Stefan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: A quick question
Posted by Ylan Segal <yl...@digiworks.tv>.
The answer is in the ant manual. Look at Built-In Tasks > Javac and read the
fifth and sixth paragraphs.
Ylan.
- Back from my vacation.
> -----Original Message-----
> From: Siamack Farshi [mailto:sfarshi@724.com]
> Sent: Monday, January 07, 2002 4:11 PM
> To: 'ant-user@jakarta.apache.org'
> Subject: A quick question
>
>
> Hello Everyone:
> I would like to use javac 1.4 to compile my projects. My ant
> uses the javac
> classic complier which is 1.1 or 1.2. Where should I set the property
> build.compiler
> to uses the compiler of my choice. If I use the following in my build.xml,
> will it work:
>
> <property name="build.compiler" value="/usr/local/java1.4/bin/javac"/>
>
> Thanks in advnace,
> regards,
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>