ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ylan Segal" <y...@digiworks.tv>
Subject RE: javac compiles ALL files instead of updated files
Date Fri, 25 Jan 2002 18:46:59 GMT
Read this:
http://jakarta.apache.org/ant/faq.html#always-recompiles

Ylan.

> -----Original Message-----
> From: njkmohan@softalia.com [mailto:njkmohan@softalia.com]
> 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: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