This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ, Ant and packages?
- From: Tom Tromey <tromey at redhat dot com>
- To: Martin Egholm Nielsen <martin at egholm-nielsen dot dk>
- Cc: java at gcc dot gnu dot org
- Date: 25 May 2004 12:30:56 -0600
- Subject: Re: GCJ, Ant and packages?
- References: <c8t03c$ua6$1@sea.gmane.org>
- Reply-to: tromey at redhat dot com
>>>>> "Martin" == Martin Egholm Nielsen <martin@egholm-nielsen.dk> writes:
Martin> In short, I have the single working source-file
Martin> "src/some/pkg/TestClass.java" which I want to compile into the
Martin> destination directory "out".
Martin> My build.xml file is given below.
Martin> It's "bound" to fail since the package-directory does not
Martin> exist. However, I don't quite see how in the world Adam's script could
Martin> ever work?!
I took a quick look at his build.xml. It uses gcjh, which to me
implies that he is building the .class files first. This would
create the output directories as a side effect.
I suggest just uncommenting the extra mkdir from your build.xml.
Martin> Does any of you have a working Ant/GCJ environment - e.g. with a
Martin> homecooked gcj-anttask for compiling native objects.
Not me.
Tom