root/trunk/calendar3/deployment/webuser/jboss/build.xml

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

Changes to allow build of suite for jboss

Creates a single ear file with all components.

Requires ant version 1.6.5. Changes ant scripts in quickstart to avoid some problems with running different versions.

Added an ant task to the deployment suite to build an application.xml file
Fixed a serialization problem in client code.

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   <import file="../copyprops.xml" />
9
10   <target name="init" depends="copyprops">
11     <dirname property="this.dir" file="${ant.file}"/>
12
13     <property name="app.resources.dir"
14               location="${this.dir}/../webapp/resources" />
15   </target>
16
17   <!-- =================================================================
18        The "deploy" target first builds a configured component then copies
19        all required files to the appropriate servlet container directories.
20
21        Currently this only works for the quickstart distribution.
22        For example, it does not handle deploying into jboss and copying
23        resource files (images, stylesheets) to external locations.
24        ================================================================= -->
25
26   <target name="deploy" depends="init,build.configured" >
27     <echo message="***************************************************************" />
28     <echo message="Readying app ${propval.war.name}.war for jboss deployment" />
29     <echo message="***************************************************************" />
30   </target>
31
32   <target name="build.configured" >
33     <!-- ===============================================================
34          Just use webapp build
35          =============================================================== -->
36
37     <ant antfile="${this.dir}/../webapp/build.xml" inheritRefs="true" target="build.configured" />
38   </target>
39 </project>
Note: See TracBrowser for help on using the browser.