root/trunk/deployment/feeder/jboss/build.xml

Revision 2409 (checked in by bleibson, 3 years ago)

Initializing the deployment area for feeder app.

  • Property svn:mime-type set to text/plain
Line 
1 <?xml version="1.0"?>
2
3 <!-- ===================================================================
4      Create war ready for jboss (j2ee) deployment
5      =================================================================== -->
6
7 <project name="app.deploy" default="deploy" >
8   <target name="init" >
9     <dirname property="this.dir" file="${ant.file}"/>
10
11     <property name="app.resources.dir"
12               location="${this.dir}/../webapp/resources" />
13   </target>
14
15   <!-- =================================================================
16        The "deploy" target first builds a configured component then copies
17        all required files to the appropriate servlet container directories.
18
19        Currently this only works for the quickstart distribution.
20        For example, it does not handle deploying into jboss and copying
21        resource files (images, stylesheets) to external locations.
22        ================================================================= -->
23
24   <target name="deploy" depends="init,build.configured" >
25     <echo message="***************************************************************" />
26     <echo message="Readying app ${propval.app.war.name}.war for jboss deployment" />
27     <echo message="***************************************************************" />
28     <!-- First copy the resources into the server -->
29
30     <if>
31       <not>
32         <isset property="org.bedework.global.noskins" />
33       </not>
34       <then>
35         <delete dir="${org.bedework.appserver.dir}/${propval.app.resources.dir}.${propval.app.cal.suite}" />
36         <copy todir="${org.bedework.appserver.dir}/${propval.app.resources.dir}.${propval.app.cal.suite}">
37           <fileset dir="${this.dir}/../webapp/resources/demoskins/${propval.app.cal.suite}" />
38         </copy>
39       </then>
40     </if>
41   </target>
42
43   <target name="build.configured" >
44     <!-- ===============================================================
45          Just use webapp build
46          =============================================================== -->
47
48     <ant antfile="${this.dir}/../webapp/build.xml" inheritRefs="true" target="build.configured" />
49   </target>
50 </project>
Note: See TracBrowser for help on using the browser.