root/trunk/deployment/webpublic/liferay5/build.xml

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

Two distinct sets of updates here.

1. Add some support (not fully working yet) for liferay5. Some old unused stylesheets were deleted to tidy up and while working on this decided the second set of updates were needed asa first step to simplification

2. Ensure that only the option xml file is used at run time.

Some properties were moved into the xml file and code was adjusted to refer to the xml config objects.

CalEnv?, CalEnvI, CalEnvFactory? were removed.

Following properties were moved into options.xml

org.bedework.app.X.nogroupallowed

org.bedework.app.X.publicadmin

org.bedework.app.X.guestmode

sysintfimpl (caldav)

org.bedework.global.system.name --> globals.systemName

org.bedework.app.X.run.as.user --> runAsUser

org.bedework.app.CalAdmin?.admingroupsidprefix=agrp_

Removed remaining run-time references to
org.bedework.app.X.name
org.bedework.app.X.root

Line 
1 <?xml version="1.0"?>
2
3 <!-- ===================================================================
4      liferay5 portlet deployer
5      =================================================================== -->
6
7 <project name="bwpublic.liferay5.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     <dirname property="portlet.build.dir" file="${ant.file}"/>
20
21     <property name="portlet.resources.dir"
22               location="${portlet.build.dir}/../portlet/resources" />
23
24     <!-- The intent is to have a set of quickstart skins configured for
25          portal use. So far we've not managed that so for th etime being we
26          will just use the standalone skin set.
27     <property name="portlet.skins.dir"
28               location="${portlet.resources.dir}/demoskins" />
29               -->
30     <property name="portlet.skins.dir"
31               location="${portlet.build.dir}/../webapp/resources/demoskins" />
32   </target>
33
34   <!-- =================================================================
35        The "deploy" target first builds a configured component then copies
36        all required files to the appropriate servlet container directories.
37
38        Currently this only works for the quickstart distribution.
39        For example, it does not handle deploying into jboss and copying
40        resource files (images, stylesheets) to external locations.
41        ================================================================= -->
42
43   <target name="deploy" depends="init,build.configured" >
44     <!-- Copy the resources into the server -->
45
46     <echo message="Copy from ${portlet.skins.dir}" />
47     <property name="dest.skins.dir"
48               location="${org.bedework.appserver.dir}/${propval.app.resources.dir}.${org.bedework.global.portal.platform}.${propval.app.cal.suite}" />
49     <delete dir="${dest.skins.dir}" />
50     <copy todir="${dest.skins.dir}">
51       <fileset dir="${portlet.skins.dir}" />
52     </copy>
53   </target>
54
55   <target name="build.configured" depends="init" >
56   </target>
57 </project>
58
Note: See TracBrowser for help on using the browser.