ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "alu, artifex" <>
Subject uptodate task question
Date Tue, 27 Apr 2004 12:16:45 GMT
i'm trying to use ant to generate xdoclet mappings for struts only if  
- a source file changed
- one of the xml-fragment files which are merged into struts-config.xml 

i used the following uptodate entry:

<uptodate property="xDoclet.struts.isUpToDate">
    <srcfiles dir=".">
        <include name="${xdoclet.mergefiles}/struts/**/*.xml"/>
    <mapper type="merge" to="${dir.webapp}/WEB-INF/struts-config.xml"/>

it seems like ant only checks for changes in the xml-files, if a java 
file changes the property is
always set to "true". i also tried the attribute

    <uptodate ... targetfile="${dir.webapp}/WEB-INF/struts-config.xml">

instead of the mapper "merge" but with no effect.

any help would be appreciated.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message