Ant target to package a GATK jar with private included

Needed before we can start emitting full unstable jars from
Bamboo for our internal use.
This commit is contained in:
David Roazen 2013-03-01 15:33:59 -05:00
parent 3f7d888ea5
commit a0be74c2ef
1 changed files with 12 additions and 3 deletions

View File

@ -865,14 +865,18 @@
<property name="executable" value="GenomeAnalysisTK" />
</target>
<target name="init.executable.queueall" depends="init.build.all, init.javaandscala">
<property name="executable" value="Queue" />
<target name="init.executable.gatkall" depends="init.build.all, init.javaonly">
<property name="executable" value="GenomeAnalysisTK" />
</target>
<target name="init.executable.queuefull" depends="init.build.publicprotectedonly, init.javaandscala">
<property name="executable" value="Queue" />
</target>
<target name="init.executable.queueall" depends="init.build.all, init.javaandscala">
<property name="executable" value="Queue" />
</target>
<target name="require.executable">
<condition property="no.executable.defined">
<or>
@ -921,12 +925,17 @@
</target>
<!-- Package specific versions of the GATK/Queue. ALWAYS do an ant clean before invoking these! -->
<!-- GATK "full" == public + protected, ie., the standard binary release of the GATK -->
<target name="package.gatk.full" depends="init.executable.gatkfull,package" />
<target name="package.queue.all" depends="init.executable.queueall,package" />
<!-- GATK "all" == public + protected + private. Should never be publicly released -->
<target name="package.gatk.all" depends="init.executable.gatkall,package" />
<target name="package.queue.full" depends="init.executable.queuefull,package" />
<target name="package.queue.all" depends="init.executable.queueall,package" />
<!-- Release a build. Don't call this target directly. Call one of the specific release targets below -->
<target name="release" depends="require.executable" description="release a build, putting each file in a location specified by the package">
<ant antfile="${package.output.dir}/${executable}.xml" target="release" />