|
Revision 3148
(checked in by douglm, 2 years ago)
|
Small change to incorporate bedework services in ear file. Should reduce startup time and build/deploy time as well as memory usage
|
| Line | |
|---|
| 1 |
<?xml version="1.0"?> |
|---|
| 2 |
|
|---|
| 3 |
<!-- =================================================================== |
|---|
| 4 |
terminations task. |
|---|
| 5 |
=================================================================== --> |
|---|
| 6 |
|
|---|
| 7 |
<project name="bwdeploy.termination" default="deploy" > |
|---|
| 8 |
<import file="${build.dir}/platforms/${org.bedework.global.deploy.platform}War.xml" /> |
|---|
| 9 |
|
|---|
| 10 |
<import file="${build.dir}/buildfilters.xml" /> |
|---|
| 11 |
|
|---|
| 12 |
<dirname property="this.dir" file="${ant.file}"/> |
|---|
| 13 |
|
|---|
| 14 |
<import file="${this.dir}/appjars.xml" /> |
|---|
| 15 |
|
|---|
| 16 |
<!-- ensure has value --> |
|---|
| 17 |
<property name="propval.app.cal.suite" value="" /> |
|---|
| 18 |
|
|---|
| 19 |
<target name="init"> |
|---|
| 20 |
<getExtraJars /> |
|---|
| 21 |
</target> |
|---|
| 22 |
|
|---|
| 23 |
<target name="deploy" depends="init,build.configured" > |
|---|
| 24 |
<if> |
|---|
| 25 |
<isset property="org.bedework.common.resources" /> |
|---|
| 26 |
<then> |
|---|
| 27 |
<!-- Deploy common resources --> |
|---|
| 28 |
<ant antfile="${org.bedework.common.resources}/build.xml" |
|---|
| 29 |
inheritrefs="true" target="deploy" /> |
|---|
| 30 |
</then> |
|---|
| 31 |
</if> |
|---|
| 32 |
|
|---|
| 33 |
<if> |
|---|
| 34 |
<isset property="org.bedework.global.build.ear" /> |
|---|
| 35 |
<then> |
|---|
| 36 |
<!-- Platform specific --> |
|---|
| 37 |
<antcall target="deployEar" inheritRefs="true" /> |
|---|
| 38 |
</then> |
|---|
| 39 |
</if> |
|---|
| 40 |
</target> |
|---|
| 41 |
|
|---|
| 42 |
<target name="build.configured" depends="init" > |
|---|
| 43 |
</target> |
|---|
| 44 |
</project> |
|---|