Modify the build so you can specify -Dskipinfo=true to supress revisionInfo gathering.
This commit is contained in:
parent
b3d7f5469f
commit
593ce19e13
2 changed files with 2 additions and 2 deletions
|
@ -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" />
|
||||||
|
|
||||||
|
|
|
@ -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" />
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue