root/trunk/build/loadDeployConfig.xml

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

Further changes to the build.

Delete (most of) the jar files from the lib directory - we are downloading them from bedework.org at build time.

Use a macro to load the deployment properties adn define some deployment proeprties based on the run time options.

Line 
1 <?xml version="1.0"?>
2
3 <!-- ===================================================================
4      Load the deployment configuration from the properties file. We also load
5      the run time options and define some properties based on some of the
6      values found there
7      =================================================================== -->
8 <project name="loadDeployConfig" basedir="." default="">
9   <macrodef name="loadDeployConfig">
10     <sequential>
11       <property name="org.bedework.config.properties"
12                 location="${org.bedework.config.base}/configs/democal.properties" />
13       <property name="org.bedework.config.options"
14                 location="${org.bedework.config.base}/configs/democal.options.xml" />
15
16       <echo message="==========================================================" />
17       <echo message="Use config properties ${org.bedework.config.properties}" />
18       <loadproperties srcFile="${org.bedework.config.properties}" >
19         <filterchain>
20           <expandproperties/>
21         </filterchain>
22       </loadproperties>
23
24       <!-- Load the run time options and define some properties based on some
25            of the values -->
26
27       <xmlproperty file="${org.bedework.config.options}"/>
28
29       <property name="org.bedework.global.version"
30                 value="${bedework-options.org.bedework.global.version}" />
31     </sequential>
32   </macrodef>
33 </project>
Note: See TracBrowser for help on using the browser.