root/trunk/deployment/inoutsched/shellscr/build.xml

Revision 3460 (checked in by douglm, 1 year ago)

Almost completely build changes - mostly elimination of the per-project build.properties file.

There is now a single properties file in the config which determines all the project versions - with the exception of deployutil.

This update also includes a new deployment task to collect jar references and license information. A small utility will generate a readable notice and references file for the quickstart and/or the site.

Line 
1 <?xml version="1.0"?>
2
3 <!-- ===================================================================
4      System event logger shell script deployer
5      =================================================================== -->
6
7 <project name="bwcrawler.deploy" default="deploy" >
8   <import file="${build.dir}/platforms/${org.bedework.global.deploy.platform}Service.xml" />
9
10   <dirname property="this.dir" file="${ant.file}"/>
11
12   <import file="${org.bedework.deployment.base}/bw-core-appjars.xml" />
13
14   <target name="init" >
15     <getExtraJars />
16
17     <property name="app.sou.dir" location="${org.bedework.deploy.app.sou}" />
18
19     <property name="app.resources.dir"
20               location="${this.dir}/resources" />
21
22     <property name="app.run.shellscr"
23               location="${app.resources.dir}/bwrun.sh" />
24
25     <property name="app.run.batscr"
26               location="${app.resources.dir}/bwrun.bat" />
27
28     <property name="org.bedework.runsh.log4j.xml"
29               location="${app.resources.dir}/log4j.xml" />
30   </target>
31
32   <!-- =================================================================
33        The "deploy" target first builds a configured component then copies
34        all required files to the appropriate servlet container directories.
35
36        Currently this only works for the quickstart distribution.
37        For example, it does not handle deploying into jboss and copying
38        resource files (images, stylesheets) to external locations.
39        ================================================================= -->
40
41   <target name="deploy" depends="init,build.configured" >
42     <if>
43       <not>
44         <istrue value="${propval.app.in.ear}"/>
45       </not>
46       <then>
47         <antcall target="deployService" inheritRefs="true" />
48       </then>
49     </if>
50   </target>
51
52   <target name="build.configured" depends="init" >
53     <!-- ===============================================================
54          Build the shell script
55          =============================================================== -->
56
57     <ant antfile="${buildsh}" inheritRefs="true" target="build" />
58   </target>
59 </project>
60
Note: See TracBrowser for help on using the browser.