ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ingmar Stein" <>
Subject Re: Javac task not generating class files
Date Fri, 23 Mar 2001 12:52:23 GMT
> > If that doesn't work, I'm going to write a new taskdef that start a new
> > compiler instance for each java file.
> You can't always get away with this.  If two classes depend on
> each other, you can't compile either one first; they both have to
> be compiled together.

Yes, but Javac will automatically compile all files a class depends on and
if those don't fail to compile, it generates the class file.

> You might be interested in javadeps, a Java dependency
> figure-out-er.  It can generate Makefile fragments; presumably it
> could be hacked to generate build.xml fragments instead.  I don't
> recall where it comes from; you'll have to do a search (also
> search for "jdeps", as it sometimes goes by that abbreviated
> name).

Hmm, good idea. Let's see if I find it.


View raw message