root/releases/bedework-3.4.1/deployment/webuser/uportal2/build.xml

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

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

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