Fixed a problem when mixing queue with other targets, such as 'ant clean oneoffs queue' and the STING_BUILD_TYPE environment is set.

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3985 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
kshakir 2010-08-09 17:59:51 +00:00
parent 4f51a02dea
commit c66e93d86e
1 changed files with 7 additions and 1 deletions

View File

@ -413,7 +413,13 @@
</target> </target>
<target name="queue" description="force a build of Queue"> <target name="queue" description="force a build of Queue">
<antcall target="dist" inheritAll="true"> <!--
inheritAll is false so that 'ant queue' does not accidentally import
params if the build was called with 'ant clean oneoffs queue'.
Instead this task resets the parameters and is just like running
a fresh 'ant dist -Dqueue.target=core'.
-->
<antcall target="dist" inheritAll="false">
<param name="queue.target" value="core" /> <param name="queue.target" value="core" />
</antcall> </antcall>
</target> </target>