ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Skeet" <jon.sk...@peramon.com>
Subject RE: Entire source compiling EVERY time
Date Wed, 22 May 2002 17:39:45 GMT
> Here is my what my target looks like:
> 
>  <target name="compile" depends="prepare">
>     <javac srcdir="${WEB_SOURCE}\com\projectwise\web\common"
> destdir="${WEB_OUT}" />
>     <javac srcdir="${WEB_SOURCE}\com\projectwise\web\server"
> destdir="${WEB_OUT}" />
>     <javac srcdir="${WEB_SOURCE}\com\projectwise\web\client"
> destdir="${WEB_OUT}" 
>      excludes="pwviewer\**"
>      />
>    </target>

That's your problem - you should be using:

<javac srcdir="${WEB_SOURCE}" destdir="${WEB_OUT}" />

and using a filter to get only those directories if that's all you want - otherwise javac
thinks that the srcdir value is the *root* of your package tree.

Jon

--
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