root/trunk/deployment/webadmin/jetspeed/build.xml

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

Add build files for jetspeed

  • Property svn:eol-style set to LF
Line 
1 <?xml version="1.0"?>
2
3 <!-- ===================================================================
4      jetspeed portlet deployer
5      =================================================================== -->
6
7 <project name="bwadmin.jetspeed.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     <property name="portlet.skins.dir"
27               location="${portlet.resources.dir}/default" />
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}.${org.bedework.global.portal.platform}.${propval.app.cal.suite}" />
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.