Fix to version/date/docformat prompts in build script

This commit is contained in:
Mark Baker 2013-04-28 17:08:30 +01:00
parent 6f83afd512
commit 2cf5e0f5aa
1 changed files with 24 additions and 15 deletions

View File

@ -4,27 +4,36 @@
<target name="gather">
<if>
<isfalse value="${packageVersion}"/>
<isset property="${packageVersion}"/>
<then>
<echo message="PHPExcel version number is ${packageVersion}" />
</then>
<else>
<propertyprompt propertyName="packageVersion" defaultValue="1.0.0"
promptText="Enter PHPExcel version number"/>
</then>
</else>
</if>
<if>
<isfalse value="${releaseDate}"/>
<isset property="${releaseDate}"/>
<then>
<echo message="Release date is ${releaseDate}" />
</then>
<else>
<propertyprompt propertyName="releaseDate" defaultValue="2010-01-01"
promptText="Enter PHPExcel release date"/>
</then>
</else>
</if>
<if>
<isfalse value="${documentFormat}"/>
<isset property="${documentFormat}"/>
<then>
<echo message="Document Format is ${documentFormat}" />
</then>
<else>
<propertyprompt propertyName="documentFormat" defaultValue="doc"
promptText="Enter Document Format"/>
</then>
</else>
</if>
</target>