Fix to version/date/docformat prompts in build script
This commit is contained in:
parent
6f83afd512
commit
2cf5e0f5aa
|
@ -4,27 +4,36 @@
|
||||||
|
|
||||||
<target name="gather">
|
<target name="gather">
|
||||||
<if>
|
<if>
|
||||||
<isfalse value="${packageVersion}"/>
|
<isset property="${packageVersion}"/>
|
||||||
<then>
|
<then>
|
||||||
|
<echo message="PHPExcel version number is ${packageVersion}" />
|
||||||
|
</then>
|
||||||
|
<else>
|
||||||
<propertyprompt propertyName="packageVersion" defaultValue="1.0.0"
|
<propertyprompt propertyName="packageVersion" defaultValue="1.0.0"
|
||||||
promptText="Enter PHPExcel version number"/>
|
promptText="Enter PHPExcel version number"/>
|
||||||
</then>
|
</else>
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
<if>
|
<if>
|
||||||
<isfalse value="${releaseDate}"/>
|
<isset property="${releaseDate}"/>
|
||||||
<then>
|
<then>
|
||||||
|
<echo message="Release date is ${releaseDate}" />
|
||||||
|
</then>
|
||||||
|
<else>
|
||||||
<propertyprompt propertyName="releaseDate" defaultValue="2010-01-01"
|
<propertyprompt propertyName="releaseDate" defaultValue="2010-01-01"
|
||||||
promptText="Enter PHPExcel release date"/>
|
promptText="Enter PHPExcel release date"/>
|
||||||
</then>
|
</else>
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
<if>
|
<if>
|
||||||
<isfalse value="${documentFormat}"/>
|
<isset property="${documentFormat}"/>
|
||||||
<then>
|
<then>
|
||||||
|
<echo message="Document Format is ${documentFormat}" />
|
||||||
|
</then>
|
||||||
|
<else>
|
||||||
<propertyprompt propertyName="documentFormat" defaultValue="doc"
|
<propertyprompt propertyName="documentFormat" defaultValue="doc"
|
||||||
promptText="Enter Document Format"/>
|
promptText="Enter Document Format"/>
|
||||||
</then>
|
</else>
|
||||||
</if>
|
</if>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue