<target name="cgi-bin.check">
<-- <echoproperties prefix="cgi-plfiles"/> -->
<fail message="${cgi-bin.target} or ${mirror}/test newer than ${cgi-bin.source}">
<condition>
<and>
<available
file="${cgi-bin.target}"
type="dir"
/>
<available
file="${mirror}/test"
type="dir"
/>
<not>
<and>
<uptodate>
<srcfiles
dir="${cgi-bin.target}"
includes="*.pl"
/>
<mapper
from="*"
to="${cgi-bin.source}/*"
type="glob"
/>
</uptodate>
<uptodate>
<srcfiles
dir="${mirror}/test"
includes="*.php"
/>
<mapper
from="*"
to="${cgi-bin.source}/*"
type="glob"
/>
</uptodate>
</and>
</not>
</and>
</condition>
</fail>
</target>
|