| 49 | | <echo message="***************************************************************" /> |
|---|
| 50 | | <echo message="Deploying common context ${common.war.file} into ${org.bedework.appserver.dir}/${propval.app.deploy.dir}" /> |
|---|
| 51 | | <echo message="***************************************************************" /> |
|---|
| 52 | | |
|---|
| 53 | | <!-- Delete expanded version --> |
|---|
| 54 | | <delete dir="${org.bedework.appserver.dir}/${propval.app.deploy.dir}/${propval.app.war.name}" /> |
|---|
| 55 | | |
|---|
| 56 | | <!-- copy the war file. --> |
|---|
| 57 | | <copy todir="${org.bedework.appserver.dir}/${propval.app.deploy.dir}" |
|---|
| 58 | | file="${common.war.file}" |
|---|
| 59 | | overwrite="yes" /> |
|---|
| 60 | | |
|---|
| 61 | | <!-- Delete the quickstart context def --> |
|---|
| 62 | | <delete file="${org.bedework.appserver.dir}/conf/Catalina/localhost/${propval.app.war.name}.xml" /> |
|---|
| 63 | | |
|---|
| 64 | | <!-- |
|---|
| 65 | | <if> |
|---|
| 66 | | <isset property="org.bedework.global.portal.platform" /> |
|---|
| 67 | | <then> |
|---|
| 68 | | <ant antfile="${org.bedework.deploy.type.dir}/${org.bedework.global.portal.platform}/build.xml" |
|---|
| 69 | | inheritrefs="true" target="deploy" /> |
|---|
| 70 | | </then> |
|---|
| 71 | | </if> |
|---|
| 72 | | --> |
|---|
| 73 | | </then> |
|---|
| 74 | | </if> |
|---|
| 75 | | </target> |
|---|
| 76 | | |
|---|
| 77 | | <!-- ================================================================= |
|---|
| 78 | | The "deploy.common" target is called once to create a common web |
|---|
| 79 | | accessible directory |
|---|
| 80 | | ================================================================= --> |
|---|
| 81 | | |
|---|
| 82 | | <target name="deploy.common" depends="init" > |
|---|
| 83 | | <if> |
|---|
| 84 | | <isset property="org.bedework.global.build.common.context" /> |
|---|
| 85 | | <then> |
|---|
| | 80 | |
|---|
| | 81 | <echo message="***************************************************************" /> |
|---|
| | 82 | <echo message="Deploying common context ${common.war.file} into ${org.bedework.appserver.dir}/${propval.app.deploy.dir}" /> |
|---|
| | 83 | <echo message="***************************************************************" /> |
|---|
| | 84 | |
|---|
| | 85 | <!-- Delete expanded version --> |
|---|
| | 86 | <delete dir="${org.bedework.appserver.dir}/${propval.app.deploy.dir}/${propval.app.war.name}" /> |
|---|
| | 87 | |
|---|
| | 88 | <!-- copy the war file. --> |
|---|
| | 89 | <copy todir="${org.bedework.appserver.dir}/${propval.app.deploy.dir}" |
|---|
| | 90 | file="${common.war.file}" |
|---|
| | 91 | overwrite="yes" /> |
|---|
| | 92 | |
|---|
| | 93 | <!-- Delete the quickstart context def --> |
|---|
| | 94 | <delete file="${org.bedework.appserver.dir}/conf/Catalina/localhost/${propval.app.war.name}.xml" /> |
|---|
| | 95 | |
|---|
| | 96 | <!-- |
|---|
| | 97 | <if> |
|---|
| | 98 | <isset property="org.bedework.global.portal.platform" /> |
|---|
| | 99 | <then> |
|---|
| | 100 | <ant antfile="${org.bedework.deploy.type.dir}/${org.bedework.global.portal.platform}/build.xml" |
|---|
| | 101 | inheritrefs="true" target="deploy" /> |
|---|
| | 102 | </then> |
|---|
| | 103 | </if> |
|---|
| | 104 | --> |
|---|