awips2/edexOsgi/build.edex/edex/customAssembly.xml
Bryan Kowal 71a8ee5a68 Issue #2500 - the list of web applications to deploy is no longer hard-coded in deploy-install.
Former-commit-id: 90a54524c6 [formerly df575b7be1] [formerly a6d7822698] [formerly 90a54524c6 [formerly df575b7be1] [formerly a6d7822698] [formerly cda8d04831 [formerly a6d7822698 [formerly 06a166ef6c963585eb65da223610a21665f9545a]]]]
Former-commit-id: cda8d04831
Former-commit-id: 3e68d9aaac [formerly 27d2e33769] [formerly 3fa0f0dac5587960c496629c316aa2a1a2f464bc [formerly cc0f6832c9]]
Former-commit-id: 822576469c2608f5a2fcb3645efe10ba1e12bfce [formerly 2615ad7324]
Former-commit-id: 819cb0bcb7
2013-10-28 14:50:28 -05:00

87 lines
4.2 KiB
XML

<project name="Build specific targets and properties" default="noDefault">
<import file="${builder}/../deploy-common/deploy-web.xml" />
<!-- =====================================================================
The Following Properties are available in all targets:
- eclipse.base : the base folder everything will be collected into
- eclipse.plugins : the plugins folder
- eclipse.features: the features folder
- archiveFullPath : the full path of the final archive once it is created
===================================================================== -->
<!-- ===================================================================== -->
<!-- Called after each invocation of the gather.bin.parts target on the -->
<!-- individual plugins and features. -->
<!-- Available properties are: -->
<!-- projectLocation: location of the project being gathered -->
<!-- projectName: symbolic name with version (org.eclipse.foo_1.0.0.v123) -->
<!-- target.folder: the destination, eclipse/plugins or eclipse/features -->
<!-- -->
<!-- The generated pattern is that plugins/features are gathered into the -->
<!-- folder ${target.folder}/${projectName} -->
<!-- ===================================================================== -->
<target name="gather.bin.parts">
<ant antfile="${builder}/../deploy-common/external-rules.xml"
inheritAll="false">
<property name="plugin._directory"
value="${projectLocation}" />
<property name="deployment._root"
value="${target.folder}/.." />
</ant>
<!-- determine if plugin is a web project -->
<!-- determine if the plugin is a web project -->
<if>
<available file="${projectLocation}/web.deploy" type="file" />
<then>
<var file="${projectLocation}/web.deploy" />
<basename property="plugin.name" file="${projectLocation}" />
<deploy.war
web.project.dir="${plugin.name}"
war.name="${war.name}"
webapps.dir="${target.folder}/../webapps" />
</then>
</if>
</target>
<!-- ===================================================================== -->
<!-- Called after invoking the gather.bin.parts targets for all plugins -->
<!-- and features. Results exist as folders and have not yet been jarred. -->
<!-- ===================================================================== -->
<target name="post.gather.bin.parts">
</target>
<!-- ===================================================================== -->
<!-- Called just prior to signing a jar -->
<!-- In addititon to the properties listed above: -->
<!-- - source : plugins or features directory -->
<!-- - elementName: element being signed without .jar -->
<!-- (eg "org.eclipse.foo_1.0.0" -->
<!-- ===================================================================== -->
<target name="pre.jarSigning">
</target>
<!-- ===================================================================== -->
<!-- Called after all plugins and features have been jarred -->
<!-- (and potentially signed) -->
<!-- ===================================================================== -->
<target name="post.jarUp">
</target>
<!-- ===================================================================== -->
<!-- Called just before the archive file is built -->
<!-- In addititon to the properties listed above: -->
<!-- - rootFolder : the folder containing the root files -->
<!-- ===================================================================== -->
<target name="pre.archive">
</target>
<!-- ===================================================================== -->
<!-- Default target -->
<!-- ===================================================================== -->
<target name="noDefault">
<echo message="You must specify a target when invoking this file" />
</target>
</project>