Me too, I have the same problem excepting that the javac always recompile 1
specific source file for whatever reason (on over multiple hundreds)! The
modification checking works for many other projects except for this case.
I am using uptodate task to avoid the problem :).
Khiet.

-----Original Message-----
From: Krishna Mohan Nerella [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 1: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]>

Reply via email to