ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "alu, artifex" <apache-u...@artifex.co.at>
Subject Re: uptodate task question [solved]
Date Tue, 27 Apr 2004 13:13:58 GMT

i wasn't aware that it is possible to use 2 srcfiles elements,
it works fine now - thanks a lot!

anyway, shouldn't the other version:

<srcfiles dir=".">
    <include ...>
    <include ...>
</srcfiles>

work too? (${dir.src} is a relative path)

regards,
alu


Peter Reilly wrote:

> Please echo "${dir.src}", if it is an absolute path
> the <include name="${dir.src}...."/> will  not find it.
>
> You should use two <srcfiles/> nested elements:
>
> <uptodate property="xDoclet.struts.isUpToDate">
>   <srcfiles dir="${xdoclet.mergefiles}"
>             includes="struts/**/*.xml"/>
>   <srcfiles dir="${dir.src}"
>             includes="at/artifex/xtend/mvc/**/*.java"/>
>   <mapper type="merge" to="${dir.webapp}/WEB-INF/struts-config.xml"/>
> </uptodate>
>
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


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


Mime
View raw message