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

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

Add missing files

Line 
1 <?xml version="1.0"?>
2
3 <!-- ===================================================================
4      CalDAV test shell script deployer
5      =================================================================== -->
6
7 <project name="bwcaldavtest.deploy" default="deploy" >
8   <import file="${org.bedework.deployment.base}/deployprops.xml" />
9
10   <target name="init" >
11     <dirname property="this.dir" file="${ant.file}"/>
12
13     <property name="app.sou.dir" location="${org.bedework.deploy.app.sou}" />
14
15     <property name="app.resources.dir"
16               location="${this.dir}/resources" />
17
18     <property name="app.run.shellscr"
19               location="${app.resources.dir}/bwruntest.sh" />
20
21     <property name="app.run.batscr"
22               location="${app.resources.dir}/bwruntest.bat" />
23
24     <property name="org.bedework.runsh.log4j.xml"
25               location="${app.resources.dir}/log4j.xml" />
26   </target>
27
28   <!-- =================================================================
29        The "deploy" target first builds a configured component then copies
30        all required files to the appropriate servlet container directories.
31
32        Currently this only works for the quickstart distribution.
33        For example, it does not handle deploying into jboss and copying
34        resource files (images, stylesheets) to external locations.
35        ================================================================= -->
36
37   <target name="deploy" depends="init,build.configured" >
38   </target>
39
40   <target name="build.configured" depends="init" >
41     <!-- ===============================================================
42          Libraries for this application
43          =============================================================== -->
44
45     <!-- from the dist directory -->
46     <fileset id="org.bedework.run.jars" dir="${org.bedework.empty.dir}" >
47     </fileset>
48
49     <fileset id="org.bedework.run.lib.jars" dir="${org.bedework.empty.dir}" >
50     </fileset>
51
52     <!-- from  the bin directory -->
53     <fileset id="app.bin.files" dir="${bin.home}" >
54       <include name="caldavtest*.jar" />
55     </fileset>
56
57     <!-- Extra resources -->
58     <fileset id="org.bedework.extra.resources" dir="${org.bedework.empty.dir}" >
59     </fileset>
60     <fileset id="org.bedework.shellscr.data" dir="${org.bedework.empty.dir}" >
61     </fileset>
62
63     <!-- ===============================================================
64          Build the shell script
65          =============================================================== -->
66
67     <ant antfile="${buildsh}" inheritRefs="true" target="build" />
68   </target>
69 </project>
70
Note: See TracBrowser for help on using the browser.