This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Help with Ant build file
- From: Tom Tromey <tromey at redhat dot com>
- To: Alex Nedelcu <bonefry at gmail dot com>
- Cc: java at gcc dot gnu dot org
- Date: 08 Sep 2006 11:35:06 -0600
- Subject: Re: Help with Ant build file
- References: <1157725283.15232.3.camel@localhost>
- Reply-to: tromey at redhat dot com
>>>>> "Alex" == Alex Nedelcu <bonefry@gmail.com> writes:
Alex> The project has an Ant build file and I don't know how to set the
Alex> default compiler to GCJ.
Alex> I tried:
Alex> <property name="build.compiler" value="gcj" />
Alex> But it had no effect.
This is more an ant question than a gcj question. FWIW I think
something like that should probably work; consult the ant
documentation.
You didn't say what platform you are on. On Fedora (and other Linux
distros these days), the system is typically set up to "just work".
On Fedora this means that ant will use the system java compiler --
we use the compiler that comes with eclipse as it is typically less
buggy than gcj. We're planning to replace the existing gcj .java
front end with ecj for this reason...
Tom