Adding packaging system support for external directories.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4618 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
8f9bf82aa7
commit
8ceb18eea9
10
build.xml
10
build.xml
|
|
@ -601,12 +601,16 @@
|
||||||
<!-- Build a package consisting of all supporting files -->
|
<!-- Build a package consisting of all supporting files -->
|
||||||
<target name="package" depends="dist,stage" description="bundle up an executable for distribution">
|
<target name="package" depends="dist,stage" description="bundle up an executable for distribution">
|
||||||
<mkdir dir="${dist.dir}/packages" />
|
<mkdir dir="${dist.dir}/packages" />
|
||||||
<xslt in="${package.xml.dir}/${executable}.xml" out="${dist.dir}/packages/Build${executable}.xml" style="packages/CreatePackager.xsl" />
|
<xslt destdir="${dist.dir}/packages" style="packages/CreatePackager.xsl">
|
||||||
<ant antfile="${dist.dir}/packages/Build${executable}.xml" target="package" />
|
<flattenmapper/>
|
||||||
|
<include name="${package.xml.dir}/${executable}.xml"/>
|
||||||
|
<include name="${external.dir}/*/${executable}.xml" />
|
||||||
|
</xslt>
|
||||||
|
<ant antfile="${dist.dir}/packages/${executable}.xml" target="package" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="release" depends="package" description="release a build, putting each file in a location specified by the package">
|
<target name="release" depends="package" description="release a build, putting each file in a location specified by the package">
|
||||||
<ant antfile="${dist.dir}/packages/Build${executable}.xml" target="release" />
|
<ant antfile="${dist.dir}/packages/${executable}.xml" target="release" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- Build a subset of picard with only those classes we need by completely abusing the packaging system -->
|
<!-- Build a subset of picard with only those classes we need by completely abusing the packaging system -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue