Modify the build so you can specify -Dskipinfo=true to supress revisionInfo gathering.

This commit is contained in:
jeb228 2010-11-09 18:13:44 +00:00
parent b3d7f5469f
commit 593ce19e13
2 changed files with 2 additions and 2 deletions

View file

@ -259,7 +259,7 @@ deploy - Deploy the application directly into the Tomcat webapps directory.
<!-- ================================= <!-- =================================
target: revisionInfo target: revisionInfo
================================= --> ================================= -->
<target name="revisionInfo" depends="test" description="--> Store revision info in build"> <target name="revisionInfo" depends="test" unless="skipinfo" description="--> Store revision info in build">
<property name="revisionInfo.product.dir" location="${ant.file.vitroCore}/.." /> <property name="revisionInfo.product.dir" location="${ant.file.vitroCore}/.." />
<property name="revisionInfo.build.file" location="${war-resources.dir}/revisionInfo.txt" /> <property name="revisionInfo.build.file" location="${war-resources.dir}/revisionInfo.txt" />

View file

@ -193,7 +193,7 @@
<!-- - - - - - - - - - - - - - - - - - <!-- - - - - - - - - - - - - - - - - -
target: productRevisionInfo target: productRevisionInfo
- - - - - - - - - - - - - - - - - --> - - - - - - - - - - - - - - - - - -->
<target name="productRevisionInfo" depends="productTest"> <target name="productRevisionInfo" depends="productTest" unless="skipinfo">
<property name="revisionInfo.product.dir" location="${ant.file}/.." /> <property name="revisionInfo.product.dir" location="${ant.file}/.." />
<property name="revisionInfo.build.file" location="${war-resources.dir}/revisionInfo.txt" /> <property name="revisionInfo.build.file" location="${war-resources.dir}/revisionInfo.txt" />