This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCJ, Ant and packages?


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]