root/trunk/deployment/websubmit/uportal2/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

  • Property svn:eol-style set to LF
Line 
1 <?xml version="1.0"?>
2
3 <!-- ===================================================================
4      uportal2 portlet deployer
5      =================================================================== -->
6
7 <project name="bwsubmit.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     <dirname property="portlet.build.dir" file="${ant.file}"/>
20
21     <!-- Use generic portlet resources -->
22     <property name="portlet.resources.dir"
23               location="${portlet.build.dir}/../portlet/resources" />
24
25     <property name="portlet.skins.dir"
26               location="${portlet.resources.dir}/demoskins" />
27   </target>
28
29   <!-- =================================================================
30        The "deploy" target first builds a configured component then copies
31        all required files to the appropriate servlet container directories.
32
33        Currently this only works for the quickstart distribution.
34        For example, it does not handle deploying into jboss and copying
35        resource files (images, stylesheets) to external locations.
36        ================================================================= -->
37
38   <target name="deploy" depends="init,build.configured" >
39     <!-- Copy the resources into the server -->
40
41     <echo message="Copy from ${portlet.skins.dir}" />
42     <property name="dest.skins.dir"
43               location="${org.bedework.appserver.dir}/${propval.app.resources.dir}.${org.bedework.global.portal.platform}" />
44     <delete dir="${dest.skins.dir}" />
45     <copy todir="${dest.skins.dir}">
46       <fileset dir="${portlet.skins.dir}" />
47     </copy>
48   </target>
49
50   <target name="build.configured" depends="init" >
51   </target>
52 </project>
53
Note: See TracBrowser for help on using the browser.