GCJ, Ant and packages?
Tom Tromey
tromey@redhat.com
Tue May 25 18:54:00 GMT 2004
>>>>> "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
More information about the Java
mailing list