root/releases/bedework-3.7/deployment/indexer/shellscr/build.xml

Revision 2714 (checked in by douglm, 3 years ago)

deploy target for jboss now copies sars and ear into a new deploy directory

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