root/trunk/build/loadDeployConfig.xml

Revision 3334 (checked in by douglm, 2 years ago)

More centralizing.

sysevents.properties is now in one place as are the global versions we use and build.

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     <!--<attribute name="extra.options" default="${org.bedework.carddav.options}"/> -->
11     <sequential>
12       <taskdef resource="net/sf/antcontrib/antcontrib.properties" />
13        
14       <property environment="env"/>
15
16       <!-- Load build property definition overrides -->
17       <property file="${org.bedework.build.properties}" />
18
19       <infoMsg message="==========================================================" />
20       <infoMsg message="Loading build properties from ${org.bedework.build.properties}" />
21       <infoMsg message="Use config override properties ${org.bedework.config.override.properties}" />
22       <infoMsg message="Use config properties ${org.bedework.config.properties}" />
23       <infoMsg message="Runtime options from ${org.bedework.config.options}" />
24       <infoMsg message="==========================================================" />
25
26       <property file="${org.bedework.configuration.versions}" />
27       <property file="${org.bedework.config.override.properties}" />
28       <property file="${org.bedework.config.properties}" />
29
30       <!-- Load the run time options and define some properties based on some
31            of the values -->
32
33       <!-- Load the general bedework options -->
34       <xmlproperty file="${org.bedework.config.options}"/>
35
36       <!-- Load the extra options
37       <xmlproperty file="@{extra.options}"/>-->
38
39       <if>
40         <isset property="bedework-options.org.bedework.global.portal.platform"/>
41         <then>
42           <property name="org.bedework.global.portal.platform"
43                     value="${bedework-options.org.bedework.global.portal.platform}" />
44
45           <property name="org.bedework.config.portal.home"
46                     value="${org.bedework.configurations.home}/.portal/${org.bedework.global.portal.platform}" />
47
48           <property name="org.bedework.config.portal.common.home"
49                     value="${org.bedework.configurations.home}/.portal/common-resources" />
50
51           <debugMsg message="******************* load from ${org.bedework.config.portal.home}/portal.properties" />
52
53           <property file="${org.bedework.config.portal.home}/portal.properties" />
54         </then>
55         <else>
56           <debugMsg message="******************* load from ${org.bedework.configurations.home}/.standalone/standalone.properties" />
57
58           <property file="${org.bedework.configurations.home}/.platform/standalone.properties" />
59         </else>
60       </if>
61
62       <property name="org.bedework.global.version"
63                 value="${bedework-options.org.bedework.global.version}" />
64
65       <property name="org.bedework.global.directory.browsing.disallowed"
66                 value="${bedework-options.org.bedework.syspars.directoryBrowsingDisallowed}" />
67     </sequential>
68   </macrodef>
69 </project>
Note: See TracBrowser for help on using the browser.