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

Revision 1651 (checked in by douglm, 5 years ago)

Break event submission for Arlen

  • Property svn:eol-style set to LF
Line 
1 <?xml version="1.0"?>
2
3 <!-- ===================================================================
4      testsuite deployer
5      =================================================================== -->
6
7 <project name="testsuite.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.default.lib}" >
50       <include name="${junit4.jar.name}" />
51     </fileset>
52
53     <!-- from  the bin directory -->
54     <fileset id="app.bin.files" dir="${bin.home}" >
55       <include name="bw-appcommon*.jar"/>
56       <include name="bw-testsuite*.jar" />
57     </fileset>
58
59     <!-- Extra resources -->
60     <property name="app.temp.home"
61               location="${org.bedework.temp.shellscr.home}/bldtemp/${propval.app.zip.name}" />
62     <mkdir dir="${app.temp.home}"/>
63     <mkdir dir="${app.temp.home}/resources"/>
64     <echo file="${app.temp.home}/resources/hibernate.properties">
65 hibernate.query.substitutions true 'T', false 'F', yes 'Y', no 'N'
66 hibernate.dialect=${org.bedework.global.hibernate.dialect}
67 hibernate.connection.driver_class=${org.bedework.global.jdbcdriver}
68 hibernate.connection.username=${org.bedework.global.jdbcid}
69 hibernate.connection.password=${org.bedework.global.jdbcpw}
70 hibernate.connection.url=${org.bedework.global.jdbcurl}
71 hibernate.cglib.use_reflection_optimizer=false
72 hibernate.cache.use_second_level_cache=false
73 #
74 # Here for better debugging
75 #
76 hibernate.jdbc.batch_size=0
77     </echo>
78
79     <fileset id="org.bedework.extra.resources" dir="${app.temp.home}/resources" />
80
81     <fileset id="org.bedework.shellscr.data" dir="${org.bedework.empty.dir}" >
82     </fileset>
83
84     <!-- ===============================================================
85          Build the shell script
86          =============================================================== -->
87
88     <ant antfile="${buildsh}" inheritRefs="true" target="build" />
89   </target>
90 </project>
91
Note: See TracBrowser for help on using the browser.