root/trunk/deployment/webuser/uportal2/build.xml

Revision 997 (checked in by douglm, 7 years ago)

This set of updates switches the expected tomcat server to tomcat 5.5.17


For reference the changes needed are noted below. Later today we will have a binary quickstart which can be downloaded from bedework.org whilch will provide what we believe to be a correctly configured tomcat 5.5.17

Changes required to the tomcat instance were...

Copy log4j and the hsqldb drivers from tomcat 5.0.28

cp path-to/jakarta-tomcat-5.0.28/common/classes/log4j.xml path-to/apache-tomcat-5.5.17/common/classes/log4j.xml

cp path-to/jakarta-tomcat-5.0.28/common/lib/hsqldb-1.7.3.3.jar path-to/apache-tomcat-5.5.17/common/lib/hsqldb-1.7.3.3.jar

In conf/web.xml change

<param-name>listings</param-name>
<param-value>false</param-value>

to

<param-name>listings</param-name>
<param-value>true</param-value>

to enable directory browsing.


Other changes...

More schedule changes

Fixed initbedework.xml so it works again.

Move freebusyAggregator config class into calfacade.configs

Suppress inclusion of web.xml from source to remove warning messages
Change democal.properties value from
org.bedework.app.Events.web.xml=guest/web.xml
to
org.bedework.app.Events.web.xml=war/WEB-INF/publicweb.xml

Similarly for SoEDept which now has
org.bedework.app.SoEDept.web.xml=war/WEB-INF/publicweb.xml

and added to public and user caldav which have
org.bedework.app.Pubcaldav.web.xml=war/WEB-INF/publicweb.xml
org.bedework.app.Usercaldav.web.xml=war/WEB-INF/userweb.xml

New global property

org.bedework.global.deploy.on.tomcat=true

This enables copying of context.xml files from the web application source.

Added properties

org.bedework.app.Events.tomcat.context.xml=war/META-INF/publiccontext.xml
org.bedework.app.SoEDept.tomcat.context.xml=war/META-INF/publiccontext.xml
org.bedework.app.UserCal?.tomcat.context.xml=war/META-INF/usercontext.xml
org.bedework.app.Pubcaldav.tomcat.context.xml=war/META-INF/publiccontext.xml
org.bedework.app.Usercaldav.tomcat.context.xml=war/META-INF/usercontext.xml

In addition the values of the context.root properties were changed to include a leading "/". This allows specifying a root context simply by omitting the value.

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