ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: javac and srcdir
Date Mon, 30 Oct 2000 09:55:08 GMT
>>>>> "GS" == Gottfried Szing <goofy@yasd.dhs.org> writes:

 GS> why is the srdir parameter of the Javac task mandatory? There is
 GS> no real reason to specify this.

If your source dir is in the CLASSPATH which may be correct or not.  I
prefer to have more control over which sources javac picks up to be
compiled and which it doesn't.

 GS> not with a supplied sourcepath argument which breaks the build
 GS> after a few compiled classes. because the compiler doesnt find
 GS> needed classes!

So you need to specify all your source locations with nested <src>
elements, no big deal, is it?

Stefan

Mime
View raw message