ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tran, Khiet" <kt...@melochemonnex.com>
Subject RE: javac compiles ALL files instead of updated files
Date Fri, 25 Jan 2002 21:48:14 GMT
Thanks, this option helps me alot. It points out that my "package" statement
does not correspond to the java directory where the source is located.

-----Original Message-----
From: vlad@trilogy.com [mailto:vlad@trilogy.com]
Sent: Friday, January 25, 2002 1:45 PM
To: Ant Users List
Subject: RE: javac compiles ALL files instead of updated files


Can you not run with -debug option and see what <javac> says about why it 
recompiles?

Vlad.


Please respond to "Ant Users List" <ant-user@jakarta.apache.org>
To:     "'Ant Users List'" <ant-user@jakarta.apache.org>
cc: 

Subject:        RE: javac compiles ALL files instead of updated files


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:njkmohan@softalia.com]
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>





--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message