Peek inside the StingText.properties to make sure the version in the properties matches the build version.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5185 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
5c3198520c
commit
b1ff371c8f
22
build.xml
22
build.xml
|
|
@ -263,13 +263,27 @@
|
|||
</scalac>
|
||||
</target>
|
||||
|
||||
<target name="init.extracthelp" depends="init,gatk.compile">
|
||||
<target name="init.extracthelp" depends="gatk.compile">
|
||||
<loadfile property="properties.version" srcfile="${basedir}/${resource.path}" failonerror="false" quiet="true">
|
||||
<filterchain>
|
||||
<linecontains>
|
||||
<contains value="org.broadinstitute.sting.gatk.CommandLineGATK.version"/>
|
||||
</linecontains>
|
||||
<tokenfilter>
|
||||
<replaceregex pattern="^.*\.(.*?)$" replace="\1"/>
|
||||
</tokenfilter>
|
||||
<striplinebreaks/>
|
||||
</filterchain>
|
||||
</loadfile>
|
||||
<condition property="uptodate.extracthelp">
|
||||
<or>
|
||||
<isset property="disable.help"/>
|
||||
<uptodate targetfile="${basedir}/${resource.path}">
|
||||
<srcfiles refid="java.class.files"/>
|
||||
</uptodate>
|
||||
<and>
|
||||
<uptodate targetfile="${basedir}/${resource.path}">
|
||||
<srcfiles refid="java.class.files"/>
|
||||
</uptodate>
|
||||
<equals arg1="${properties.version}" arg2="${build.version}" />
|
||||
</and>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
|
|
|||
Loading…
Reference in New Issue