hi I wanna execute unzip if and only if the zip file exists.

my target looks like
<project>
...
<available file="${ConfigDir}A/${ConfigName}-srsc.zip"
property="DeltaAExists"/>
...
<target name="UnzipBaseLine" if="BaseLineExists">
        <unzip src="${ConfigDir}/${ConfigName}-src.${FileExtension}"
dest="${DestinationDir}" />
</target>
...
</project>

it doesnt work - Ant says unexpected <available token.

do I have to make a new target.?

detlef

Reply via email to