MINOR Removed archive existence detection from build.xml 'archiveTask', doesn't work

This commit is contained in:
Ingo Schommer 2011-05-02 11:56:38 +12:00
parent 665b63b6a7
commit 843becc676
1 changed files with 2 additions and 13 deletions

View File

@ -247,19 +247,8 @@ Options:
</else>
</if>
<!-- check if file exists -->
<available file="${${basedir}/${archivename}}" property="afileexists" />
<if>
<istrue value="${afileexists}"/>
<then>
<echo msg="File ${basedir}/${archivename} already exists. Aborting."/>
</then>
<else><!-- File exists, we can continue building the archive -->
<phingCall target="archiveTask" />
<echo msg="Created archive in: ${basedir}/${archivename}" />
</else>
</if>
<phingCall target="archiveTask" />
<echo msg="Created archive in: ${basedir}/${archivename}" />
</target>