Try to find my uncommitted patch in the mail archive. It will help you to set up sourcepath and also performs dependence tracking.
Vitaly > -----Original Message----- > From: Christopher Hull [mailto:[EMAIL PROTECTED] > Sent: Saturday, June 17, 2000 2:56 AM > To: ant-dev > Subject: javac tool dependencies not working properly. > > > Please excuse me if this is old news. I just joined this list > yesterday. > > There seems to be a difference between the way javac (the exe) and the > <javac> tool in Ant work. > > When passing a -sourcepath to javac, the date based dependencies work, > i.e. javac is able to see if one of the NON-targetted .java files has > changed, and compile it. > > com/foo/foo.java > com/bar/bar.java > javac -sourcepath com foo.java > bar.java will recompile too if bar.class is older. (assuming foo.java > imports bar.java) > > Unfortunately this behavior is not true of the javac tool in Ant. Date > based dependencies are only checked for those files which are overt > targets (those files mentioned in the includes attribute). I am using > the classic compiler. Does this work properly under 1.3? > > Any ideas? > > Thanks > -Chris > __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com
