Read this: http://jakarta.apache.org/ant/faq.html#always-recompiles
Ylan. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 25, 2002 12:25 PM > To: ANT User List > Subject: javac compiles ALL files instead of updated files > > > i have been facing this problem with my current project. every > time i try to > compile ANT compiles all the source files instead of just the > modified source > files. I am not able to figure out why. > > i have my javac target as > > ------------------------------------------------------------------ > -------------- > > <javac debug="on" deprecation="off" destdir="${build.classes}" > optimize="off" > verbose="off"> > <src path="${basedir}"/> > <exclude name="**/*.properties"/> > <exclude name="**/Makefile"/> > <exclude name="**/CVS/*.*"/> > > <classpath> > <pathelement path="${classpath}"/> > </classpath> > </javac> > > ------------------------------------------------------------------ > ----------- > > Interestingly, i have a similar javac target for an old project > and it seems to > be working perfectly fine there. > > Any help will be appreciated. > > thanks, > Mohan. > -- > A hammer sometimes misses its mark - a bouquet never. > ----------------------------------------------------- > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
