Skip to content

Commit

Permalink
LPS-57265 Split up targets for finer tomcat setup (no logical changes)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtambara authored and brianchandotcom committed Aug 3, 2015
1 parent 0f56bbd commit e60c5e3
Show file tree
Hide file tree
Showing 2 changed files with 250 additions and 234 deletions.
40 changes: 25 additions & 15 deletions build-dist.xml
Expand Up @@ -13,6 +13,26 @@
</else>
</if>

<macrodef name="build-dist-tomcat-bare" >
<sequential>
<if>
<equals arg1="${tomcat.keep.app.server.properties}" arg2="true" />
<then>
<antcall target="unzip-tomcat" inheritAll="false" />
</then>
<else>
<antcall target="unzip-tomcat" />

<app-server-properties-update>
app.server.type=tomcat
</app-server-properties-update>
</else>
</if>

<delete dir="${project.dir}/portal-web/classes" />
</sequential>
</macrodef>

<macrodef name="download-dynamic-jars">
<attribute name="app.server.lib.portal.dir" />

Expand Down Expand Up @@ -563,21 +583,7 @@
</target>

<target name="build-dist-tomcat">
<if>
<equals arg1="${tomcat.keep.app.server.properties}" arg2="true" />
<then>
<antcall target="unzip-tomcat" inheritAll="false" />
</then>
<else>
<antcall target="unzip-tomcat" />

<app-server-properties-update>
app.server.type=tomcat
</app-server-properties-update>
</else>
</if>

<delete dir="${project.dir}/portal-web/classes" />
<build-dist-tomcat-bare />

<ant target="deploy" inheritAll="false" />

Expand All @@ -599,6 +605,10 @@
</antcall>
</target>

<target name="build-dist-tomcat-bare">
<build-dist-tomcat-bare />
</target>

<target name="deploy-plugins">
<delete includeemptydirs="true" failonerror="false">
<fileset
Expand Down

0 comments on commit e60c5e3

Please sign in to comment.