ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: In Regards to Report #77
Date Fri, 08 Sep 2000 16:03:27 GMT
>>>>> "RM" == Randy Moore <> writes:

 RM> <property name="srcDir" value="${srcDrive}/disa_projects/com/fgm/xmlreg/parser"
 RM> <property name="buildDir" value="${buildDrive}/Cfusion/Java/classes" />

Ant will not look into the individual .java files it find but try to
determine the package they reside in from the filename.

In your case, if it finds a class


it will assume it lives in the default package (as it finds it
directly in the source dir) and expects the corresponding A.class file
to be 


given the directory names I guess it really should be the package
com.fgm.xmlreg.parser - which Ant will guess as well if you set srcDir
to be ${srcDrive}/disa_projects.

If my assumption is correct, Ant will never find the .class files in
your current setup and therefore compile all files all the time.


View raw message