| 1 |
<!-- =================================================================== |
|---|
| 2 |
bedework calendar global definitions. |
|---|
| 3 |
This file is imported by build files that want to define all the |
|---|
| 4 |
global settings. It defines a globalDefs target |
|---|
| 5 |
|
|---|
| 6 |
Do not edit this file - the only site configuration changes should be |
|---|
| 7 |
made by creating a bedework.build.properties file in your home |
|---|
| 8 |
directory and setting property overrides there. |
|---|
| 9 |
|
|---|
| 10 |
See the documentation in the docs directory for details. |
|---|
| 11 |
=================================================================== --> |
|---|
| 12 |
|
|---|
| 13 |
<project name="bwGlobalDefs" default="globalDefs"> |
|---|
| 14 |
<property environment="env"/> |
|---|
| 15 |
|
|---|
| 16 |
<!-- =============================================================== |
|---|
| 17 |
Default properties. |
|---|
| 18 |
=============================================================== --> |
|---|
| 19 |
|
|---|
| 20 |
<property name="org.bedework.defaultdefs.properties" |
|---|
| 21 |
location="${org.bedework.calendar.dir}/bldfiles/defaultDefs.properties"/> |
|---|
| 22 |
|
|---|
| 23 |
<target name="globalDefs" > |
|---|
| 24 |
<!-- This needs reinvestigating - there still seem to be problems with xalan |
|---|
| 25 |
If this stays it should be a config property |
|---|
| 26 |
|
|---|
| 27 |
For a tomcat deployed version with the broken jvm (1.4.2_03) we need to |
|---|
| 28 |
use a version of xalan in the common/endorsed tomcat directory. |
|---|
| 29 |
Comment this out to stop the copy |
|---|
| 30 |
This may get fixed. See: |
|---|
| 31 |
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=104547205330116&w=2 |
|---|
| 32 |
http://wiki.cocoondev.org/Wiki.jsp?page=EndorsedLibsProblem |
|---|
| 33 |
http://www.mail-archive.com/users@cocoon.apache.org/msg08191.html |
|---|
| 34 |
--> |
|---|
| 35 |
<property name="xalan.in.tomcat.common.endorsed" value="yes" /> |
|---|
| 36 |
|
|---|
| 37 |
<!-- Overriding this when invoking ant allows different user property |
|---|
| 38 |
files to be included e.g. |
|---|
| 39 |
ant -Dorg.bedework.user.build.properties=/home/me/bedework.properties ... |
|---|
| 40 |
--> |
|---|
| 41 |
<property name="org.bedework.user.build.properties" |
|---|
| 42 |
location="${user.home}/bedework.build.properties" /> |
|---|
| 43 |
|
|---|
| 44 |
<echo message="Load user properties from ${org.bedework.user.build.properties}" /> |
|---|
| 45 |
|
|---|
| 46 |
<!-- Load user property definition overrides --> |
|---|
| 47 |
<property file="${org.bedework.user.build.properties}" /> |
|---|
| 48 |
|
|---|
| 49 |
<!-- =============================================================== |
|---|
| 50 |
Default properties. |
|---|
| 51 |
=============================================================== --> |
|---|
| 52 |
|
|---|
| 53 |
<echo message="Load default properties from ${org.bedework.defaultdefs.properties}" /> |
|---|
| 54 |
<property file="${org.bedework.defaultdefs.properties}" /> |
|---|
| 55 |
|
|---|
| 56 |
<!-- =============================================================== |
|---|
| 57 |
Properties derived from org.bedework.calendar.dir |
|---|
| 58 |
=============================================================== --> |
|---|
| 59 |
|
|---|
| 60 |
<!-- This is the default location for the canoo files. |
|---|
| 61 |
--> |
|---|
| 62 |
<property name="webtest.home" location="${org.bedework.calendar.dir}/../webtest" /> |
|---|
| 63 |
|
|---|
| 64 |
<!-- Where the web-apps skeletons, build files etc reside --> |
|---|
| 65 |
<property name="apps.root.dir" location="${org.bedework.calendar.dir}/apps" /> |
|---|
| 66 |
<property name="cal.default.db" location="${org.bedework.calendar.dir}/db" /> |
|---|
| 67 |
<property name="org.bedework.default.lib" location="${org.bedework.calendar.dir}/lib" /> |
|---|
| 68 |
<property name="org.bedework.jdbc.lib" location="${org.bedework.default.lib}/jdbc" /> |
|---|
| 69 |
<property name="html.dir" location="${org.bedework.calendar.dir}/html" /> |
|---|
| 70 |
|
|---|
| 71 |
<!-- Component locations --> |
|---|
| 72 |
|
|---|
| 73 |
<property name="org.bedework.access.base" location="${org.bedework.calendar.dir}/access" /> |
|---|
| 74 |
<property name="org.bedework.appcommon.base" location="${org.bedework.calendar.dir}/appcommon" /> |
|---|
| 75 |
<property name="org.bedework.caldav.base" location="${org.bedework.calendar.dir}/caldav" /> |
|---|
| 76 |
<property name="org.bedework.caldavbexchange.base" |
|---|
| 77 |
location="${org.bedework.calendar.dir}/caldavBexchange" /> |
|---|
| 78 |
<property name="org.bedework.caldavdomino.base" |
|---|
| 79 |
location="${org.bedework.calendar.dir}/caldavDomino" /> |
|---|
| 80 |
<property name="org.bedework.caldavgoogle.base" |
|---|
| 81 |
location="${org.bedework.calendar.dir}/caldavGoogle" /> |
|---|
| 82 |
<property name="org.bedework.caldavClientApi.base" |
|---|
| 83 |
location="${org.bedework.calendar.dir}/caldavClientApi" /> |
|---|
| 84 |
<property name="org.bedework.caldavtest.base" |
|---|
| 85 |
location="${org.bedework.calendar.dir}/caldavTest" /> |
|---|
| 86 |
<property name="org.bedework.calenv.base" location="${org.bedework.calendar.dir}/calEnv" /> |
|---|
| 87 |
<property name="org.bedework.calfacade.base" location="${org.bedework.calendar.dir}/calFacade" /> |
|---|
| 88 |
<property name="org.bedework.calsvc.base" location="${org.bedework.calendar.dir}/calsvc" /> |
|---|
| 89 |
<property name="org.bedework.calsvci.base" location="${org.bedework.calendar.dir}/calsvci" /> |
|---|
| 90 |
<property name="org.bedework.common.base" location="${org.bedework.calendar.dir}/common" /> |
|---|
| 91 |
<property name="org.bedework.config.base" location="${org.bedework.calendar.dir}/config" /> |
|---|
| 92 |
<property name="org.bedework.core.base" location="${org.bedework.calendar.dir}/calCore" /> |
|---|
| 93 |
<property name="org.bedework.davdefs.base" location="${org.bedework.calendar.dir}/davdefs" /> |
|---|
| 94 |
<property name="org.bedework.deployment.base" location="${org.bedework.calendar.dir}/deployment" /> |
|---|
| 95 |
<property name="org.bedework.dumprestore.base" location="${org.bedework.calendar.dir}/dumprestore" /> |
|---|
| 96 |
<property name="org.bedework.http.base" location="${org.bedework.calendar.dir}/http" /> |
|---|
| 97 |
<property name="org.bedework.ical.base" location="${org.bedework.calendar.dir}/icalendar" /> |
|---|
| 98 |
<property name="org.bedework.locale.base" location="${org.bedework.calendar.dir}/locale" /> |
|---|
| 99 |
<property name="org.bedework.logging.base" location="${org.bedework.calendar.dir}/logging" /> |
|---|
| 100 |
<property name="org.bedework.mail.base" location="${org.bedework.calendar.dir}/mail" /> |
|---|
| 101 |
<property name="org.bedework.synchml.base" location="${org.bedework.calendar.dir}/synchml" /> |
|---|
| 102 |
<property name="org.bedework.testsuite.base" location="${org.bedework.calendar.dir}/test" /> |
|---|
| 103 |
<property name="org.bedework.timers.base" location="${org.bedework.calendar.dir}/timers" /> |
|---|
| 104 |
<property name="org.bedework.tools.base" location="${org.bedework.calendar.dir}/tools" /> |
|---|
| 105 |
<property name="org.bedework.uportal.base" location="${org.bedework.calendar.dir}/uportal" /> |
|---|
| 106 |
<property name="org.bedework.webadmin.base" location="${org.bedework.calendar.dir}/webadmin" /> |
|---|
| 107 |
<property name="org.bedework.webclient.base" location="${org.bedework.calendar.dir}/webclient" /> |
|---|
| 108 |
<property name="org.bedework.webcommon.base" location="${org.bedework.calendar.dir}/webcommon" /> |
|---|
| 109 |
<property name="org.bedework.webtest.base" location="${org.bedework.calendar.dir}/webtest" /> |
|---|
| 110 |
|
|---|
| 111 |
<!-- This has to be here for now --> |
|---|
| 112 |
<property name="org.bedework.fbwebclient.base" |
|---|
| 113 |
location="${org.bedework.project.freebusy}/webclient" /> |
|---|
| 114 |
|
|---|
| 115 |
<!-- ======================= Directory Names ======================= |
|---|
| 116 |
These properties generally define file and directory names (or |
|---|
| 117 |
paths) that affect where the build process stores its outputs. |
|---|
| 118 |
|
|---|
| 119 |
org.bedework.temp.home The directory into which the |
|---|
| 120 |
"compile" target will generate some of their |
|---|
| 121 |
output. Defaults to "temp". |
|---|
| 122 |
|
|---|
| 123 |
dist.home The name of the base directory in which |
|---|
| 124 |
distribution files are created. |
|---|
| 125 |
Defaults to "dist". |
|---|
| 126 |
=============================================================== --> |
|---|
| 127 |
|
|---|
| 128 |
<property name="org.bedework.bld.home" location="${org.bedework.calendar.dir}/bldfiles"/> |
|---|
| 129 |
<property name="dist.home" location="${org.bedework.calendar.dir}/dist"/> |
|---|
| 130 |
|
|---|
| 131 |
<!-- =============================================================== |
|---|
| 132 |
Properties derived from org.bedework.temp.home |
|---|
| 133 |
=============================================================== --> |
|---|
| 134 |
|
|---|
| 135 |
<property name="org.bedework.temp.home" location="${org.bedework.calendar.dir}/temp"/> |
|---|
| 136 |
|
|---|
| 137 |
<!-- As application components are built, they copy any needed jars into |
|---|
| 138 |
this directory --> |
|---|
| 139 |
<property name="org.bedework.temp.jars" location="${org.bedework.temp.home}/jars"/> |
|---|
| 140 |
|
|---|
| 141 |
<!-- As we build jars temporary files end up under here --> |
|---|
| 142 |
<property name="org.bedework.temp.jartemp.dir" |
|---|
| 143 |
location="${org.bedework.temp.home}/jartemp" /> |
|---|
| 144 |
|
|---|
| 145 |
<!-- Define an empty dir and fileset --> |
|---|
| 146 |
<property name="org.bedework.empty.dir" |
|---|
| 147 |
location="${org.bedework.temp.home}/empty-dir" /> |
|---|
| 148 |
<mkdir dir="${org.bedework.empty.dir}" /> |
|---|
| 149 |
<fileset id="empty.fileset" dir="${org.bedework.empty.dir}" |
|---|
| 150 |
excludes="*" /> |
|---|
| 151 |
|
|---|
| 152 |
<!-- unconfigured applications get built in this directory --> |
|---|
| 153 |
<property name="org.bedework.temp.preconfig.home" |
|---|
| 154 |
location="${org.bedework.temp.home}/preconfig"/> |
|---|
| 155 |
|
|---|
| 156 |
<!-- wars get built in this directory --> |
|---|
| 157 |
<property name="org.bedework.temp.wars.home" |
|---|
| 158 |
location="${org.bedework.temp.home}/wars"/> |
|---|
| 159 |
|
|---|
| 160 |
<!-- ears get built in this directory --> |
|---|
| 161 |
<property name="org.bedework.temp.ears.home" |
|---|
| 162 |
location="${org.bedework.temp.home}/ears"/> |
|---|
| 163 |
|
|---|
| 164 |
<!-- Shell scripts get built in this directory --> |
|---|
| 165 |
<property name="org.bedework.temp.shellscr.home" |
|---|
| 166 |
location="${org.bedework.temp.home}/shellscr"/> |
|---|
| 167 |
|
|---|
| 168 |
<!-- ............... test results .................................. --> |
|---|
| 169 |
<property name="org.bedework.temp.test.dir" |
|---|
| 170 |
location="${org.bedework.temp.home}/test"/> |
|---|
| 171 |
|
|---|
| 172 |
<property name="org.bedework.test.logs" |
|---|
| 173 |
location="${org.bedework.temp.test.dir}/logs"/> |
|---|
| 174 |
|
|---|
| 175 |
<!-- =============================================================== |
|---|
| 176 |
Properties derived from org.bedework.bld.home |
|---|
| 177 |
=============================================================== --> |
|---|
| 178 |
|
|---|
| 179 |
<!-- define location of generic build files --> |
|---|
| 180 |
<property name="buildjar" location="${org.bedework.bld.home}/buildjar.xml" /> |
|---|
| 181 |
<property name="buildwar" location="${org.bedework.bld.home}/buildwar.xml" /> |
|---|
| 182 |
<property name="buildear" location="${org.bedework.bld.home}/buildear.xml" /> |
|---|
| 183 |
<property name="org.bedework.buildsh" |
|---|
| 184 |
location="${org.bedework.bld.home}/buildsh.xml" /> |
|---|
| 185 |
<property name="buildcoreprops" location="${org.bedework.bld.home}/bldcoreprops.xml" /> |
|---|
| 186 |
|
|---|
| 187 |
<property name="application.xml" |
|---|
| 188 |
location="${org.bedework.bld.home}/application.xml" /> |
|---|
| 189 |
|
|---|
| 190 |
<!-- define location of jar files --> |
|---|
| 191 |
<property name="org.bedework.defjars" |
|---|
| 192 |
location="${org.bedework.bld.home}/defjars.properties" /> |
|---|
| 193 |
|
|---|
| 194 |
<!-- default to empty --> |
|---|
| 195 |
<fileset id="base.resource.files" refid="empty.fileset" /> |
|---|
| 196 |
|
|---|
| 197 |
<property file="${org.bedework.defjars}"/> |
|---|
| 198 |
|
|---|
| 199 |
<!-- Define where test suite finds resources --> |
|---|
| 200 |
<property name="uwcal.test.env.properties.root" |
|---|
| 201 |
location="${org.bedework.testsuite.base}/resources" /> |
|---|
| 202 |
</target> |
|---|
| 203 |
</project> |
|---|
| 204 |
|
|---|