| 1 |
<?xml version="1.0"?> |
|---|
| 2 |
|
|---|
| 3 |
<!-- =================================================================== |
|---|
| 4 |
Liferay 5 terminations tasks. |
|---|
| 5 |
=================================================================== --> |
|---|
| 6 |
|
|---|
| 7 |
<project name="bwdeploy.termination" default="deploy" > |
|---|
| 8 |
<import file="${org.bedework.deployment.base}/deployprops.xml" /> |
|---|
| 9 |
|
|---|
| 10 |
<dirname property="liferay5.term.dir" file="${ant.file}"/> |
|---|
| 11 |
|
|---|
| 12 |
<target name="init"> |
|---|
| 13 |
</target> |
|---|
| 14 |
|
|---|
| 15 |
<target name="deploy" depends="init,build.configured" > |
|---|
| 16 |
<!-- |
|---|
| 17 |
<java classname="com.liferay.portal.tools.PortletDeployer" |
|---|
| 18 |
fork="true" |
|---|
| 19 |
newenvironment="true"> |
|---|
| 20 |
<classpath> |
|---|
| 21 |
<pathelement path="${org.bedework.appjar.liferay.portal-impl}"/> |
|---|
| 22 |
<pathelement path="${org.bedework.appjar.liferay.portal-kernel}"/> |
|---|
| 23 |
<pathelement path="${org.bedework.appjar.liferay.util-java}"/> |
|---|
| 24 |
<pathelement path="${org.bedework.appjar.commons-beanutils}"/> |
|---|
| 25 |
<pathelement path="${org.bedework.appjar.liferay.commons-collections}"/> |
|---|
| 26 |
<pathelement path="${org.bedework.appjar.commons-configuration}"/> |
|---|
| 27 |
<pathelement path="${org.bedework.appjar.commons-digester}"/> |
|---|
| 28 |
<pathelement path="${org.bedework.appjar.liferay.commons-lang}"/> |
|---|
| 29 |
<pathelement path="${org.bedework.appjar.commons-logging}"/> |
|---|
| 30 |
<pathelement path="${org.bedework.appjar.log4j}"/> |
|---|
| 31 |
<pathelement path="${org.bedework.appjar.servletapi}"/> |
|---|
| 32 |
<pathelement path="${org.bedework.appjar.servlet.jsp}"/> |
|---|
| 33 |
<pathelement path="${org.bedework.appjar.liferay.spring}"/> |
|---|
| 34 |
<pathelement path="${org.bedework.appjar.liferay.easyconf}"/> |
|---|
| 35 |
<pathelement path="${org.bedework.appjar.liferay.portal-service}"/> |
|---|
| 36 |
<pathelement path="${org.bedework.appjar.liferay.xstream}"/> |
|---|
| 37 |
<pathelement path="${org.bedework.appjar.liferay.aspectj-weaver}"/> |
|---|
| 38 |
<pathelement path="${org.bedework.appjar.liferay.portlet}"/> |
|---|
| 39 |
<pathelement path="${org.bedework.appjar.hibernate}"/> |
|---|
| 40 |
</classpath> |
|---|
| 41 |
|
|---|
| 42 |
< ! - - Required Arguments - - > |
|---|
| 43 |
|
|---|
| 44 |
<jvmarg value="-Ddeployer.base.dir=${dist.home}" /> |
|---|
| 45 |
<jvmarg value="-Ddeployer.dest.dir=${org.bedework.appserver.deploy.dir}" /> |
|---|
| 46 |
<jvmarg value="-Ddeployer.app.server.type=${org.bedework.global.liferay.server.type}" /> |
|---|
| 47 |
<jvmarg value="-Ddeployer.portlet.taglib.dtd=${liferay5.term.dir}/liferay-portlet.tld" /> |
|---|
| 48 |
<jvmarg value="-Ddeployer.unpack.war=true" /> |
|---|
| 49 |
|
|---|
| 50 |
< ! - - Optional Arguments |
|---|
| 51 |
|
|---|
| 52 |
<jvmarg value="-Ddeployer.tomcat.lib.dir=${app.server.tomcat.lib.global.dir}" /> |
|---|
| 53 |
- - > |
|---|
| 54 |
|
|---|
| 55 |
< ! - - Dependent Libraries - - > |
|---|
| 56 |
|
|---|
| 57 |
<arg value="${org.bedework.appjar.liferay.util-bridges}" /> |
|---|
| 58 |
<arg value="${org.bedework.appjar.liferay.util-java}" /> |
|---|
| 59 |
<arg value="${org.bedework.appjar.liferay.util-taglib}" /> |
|---|
| 60 |
|
|---|
| 61 |
< ! - - Specific WARs |
|---|
| 62 |
|
|---|
| 63 |
<arg line="${deploy.specific.wars}" /> |
|---|
| 64 |
- - > |
|---|
| 65 |
</java> |
|---|
| 66 |
--> |
|---|
| 67 |
</target> |
|---|
| 68 |
|
|---|
| 69 |
<target name="build.configured" depends="init" > |
|---|
| 70 |
</target> |
|---|
| 71 |
</project> |
|---|