root/releases/bedework-3.4.1.1/deployment/webadmin/liferay4/build.xml

Revision 1621 (checked in by douglm, 5 years ago)

Continue with moving code from CalSvc? into handlers - this time it's calendars.

  • Property svn:eol-style set to LF
Line 
1 <?xml version="1.0"?>
2
3 <!-- ===================================================================
4      liferay4 portlet deployer
5      =================================================================== -->
6
7 <project name="bwadmin.liferay4.deploy" default="deploy" >
8   <target name="init">
9     <!-- Properties that differ from the personal client -->
10     <!--
11     <property name="app.web.xml"
12               value="${app.sou.dir}/war/WEB-INF/web.xml" />
13               -->
14
15     <!-- This should be in the config stuff -->
16     <property name="propval.directory.browsing.disallowed"
17               value="${app.directory.browsing.disallowed}" />
18
19     <property name="propval.app.guestmode" value="false" />
20
21     <dirname property="portlet.build.dir" file="${ant.file}"/>
22
23     <property name="portlet.resources.dir"
24               location="${portlet.build.dir}/../portlet/resources" />
25
26     <!-- The intent is to have a set of quickstart skins configured for
27          portal use. So far we've not managed that so for th etime being we
28          will just use the standalone skin set.
29     <property name="portlet.skins.dir"
30               location="${portlet.resources.dir}/demoskins" />
31               -->
32     <property name="portlet.skins.dir"
33               location="${portlet.build.dir}/../webapp/resources/demoskins" />
34   </target>
35
36   <!-- =================================================================
37        The "deploy" target first builds a configured component then copies
38        all required files to the appropriate servlet container directories.
39
40        Currently this only works for the quickstart distribution.
41        For example, it does not handle deploying into jboss and copying
42        resource files (images, stylesheets) to external locations.
43        ================================================================= -->
44
45   <target name="deploy" depends="init,build.configured" >
46     <!-- Copy the resources into the server -->
47
48     <echo message="Copy from ${portlet.skins.dir}" />
49     <property name="dest.skins.dir"
50               location="${org.bedework.appserver.dir}/${propval.app.resources.dir}.${org.bedework.global.portal.platform}.${propval.app.cal.suite}" />
51     <delete dir="${dest.skins.dir}" />
52     <copy todir="${dest.skins.dir}">
53       <fileset dir="${portlet.skins.dir}" />
54     </copy>
55   </target>
56
57   <target name="build.configured" depends="init" >
58   </target>
59 </project>
60
Note: See TracBrowser for help on using the browser.