7 |
08 Feb 05 |
nicklas |
1 |
<?xml version="1.0" encoding="UTF-8"?> |
2052 |
22 Feb 06 |
jari |
2 |
<!-- |
2052 |
22 Feb 06 |
jari |
$Id$ |
2052 |
22 Feb 06 |
jari |
4 |
|
4889 |
06 Apr 09 |
nicklas |
Copyright (C) 2005 Samuel Andersson, Johan Enell, Jari Häkkinen, Nicklas Nordborg, Gregory Vincic |
4889 |
06 Apr 09 |
nicklas |
Copyright (C) 2006, 2007 Johan Enell, Jari Häkkinen, Nicklas Nordborg, Martin Svensson |
2052 |
22 Feb 06 |
jari |
7 |
|
2052 |
22 Feb 06 |
jari |
This file is part of BASE - BioArray Software Environment. |
2052 |
22 Feb 06 |
jari |
Available at http://base.thep.lu.se/ |
2052 |
22 Feb 06 |
jari |
10 |
|
2052 |
22 Feb 06 |
jari |
BASE is free software; you can redistribute it and/or modify it |
2052 |
22 Feb 06 |
jari |
under the terms of the GNU General Public License as published by |
4473 |
05 Sep 08 |
jari |
the Free Software Foundation; either version 3 of the License, or |
2052 |
22 Feb 06 |
jari |
(at your option) any later version. |
2052 |
22 Feb 06 |
jari |
15 |
|
2052 |
22 Feb 06 |
jari |
BASE is distributed in the hope that it will be useful, but |
2052 |
22 Feb 06 |
jari |
WITHOUT ANY WARRANTY; without even the implied warranty of |
2052 |
22 Feb 06 |
jari |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
2052 |
22 Feb 06 |
jari |
General Public License for more details. |
2052 |
22 Feb 06 |
jari |
20 |
|
2052 |
22 Feb 06 |
jari |
You should have received a copy of the GNU General Public License |
4508 |
11 Sep 08 |
jari |
along with BASE. If not, see <http://www.gnu.org/licenses/>. |
2052 |
22 Feb 06 |
jari |
23 |
--> |
2052 |
22 Feb 06 |
jari |
24 |
|
7 |
08 Feb 05 |
nicklas |
25 |
<project |
4483 |
07 Sep 08 |
jari |
26 |
name="BASE" |
2959 |
27 Nov 06 |
nicklas |
27 |
default="dev" |
7 |
08 Feb 05 |
nicklas |
28 |
basedir="." |
7 |
08 Feb 05 |
nicklas |
29 |
> |
7 |
08 Feb 05 |
nicklas |
30 |
<description> |
4483 |
07 Sep 08 |
jari |
31 |
Build file for BASE. The main targets are ('dev' is default): |
3232 |
10 Apr 07 |
jari |
32 |
|
3232 |
10 Apr 07 |
jari |
33 |
Clean up: |
2959 |
27 Nov 06 |
nicklas |
34 |
clean: Remove all generated files |
3232 |
10 Apr 07 |
jari |
35 |
|
3232 |
10 Apr 07 |
jari |
36 |
Compiling code |
2959 |
27 Nov 06 |
nicklas |
37 |
core: Build core for local use |
2959 |
27 Nov 06 |
nicklas |
38 |
coreplugins: Build core plugins for local use |
3232 |
10 Apr 07 |
jari |
39 |
dev: Build everything for local use |
3232 |
10 Apr 07 |
jari |
40 |
dist: Build everything (except test) for distribution (put in 'dist' |
3232 |
10 Apr 07 |
jari |
41 |
subdirectory) |
2959 |
27 Nov 06 |
nicklas |
42 |
installprg: Build installation programs for local use |
2959 |
27 Nov 06 |
nicklas |
43 |
jobagent: Build jobagent for local use |
2959 |
27 Nov 06 |
nicklas |
44 |
test: Build test programs |
3232 |
10 Apr 07 |
jari |
45 |
web: Build web client application for local use |
7583 |
05 Feb 19 |
jari |
46 |
|
3232 |
10 Apr 07 |
jari |
47 |
Documentation: |
3953 |
13 Nov 07 |
nicklas |
48 |
doc: Build documentation for local use |
3953 |
13 Nov 07 |
nicklas |
49 |
doc.javadoc: Build javadoc for local use |
3953 |
13 Nov 07 |
nicklas |
50 |
doc.docbook: Build docbook documentation for local use |
3232 |
10 Apr 07 |
jari |
51 |
helptext: Generate help text import file from the docbook documentation |
3232 |
10 Apr 07 |
jari |
52 |
|
3232 |
10 Apr 07 |
jari |
53 |
Packaging: |
4095 |
21 Jan 08 |
enell |
54 |
package: Create *.tar.gz files with binary, source and exampele distributions |
3953 |
13 Nov 07 |
nicklas |
55 |
package.bin Create binary distribution only |
3953 |
13 Nov 07 |
nicklas |
56 |
package.src Create source distribution only |
7 |
08 Feb 05 |
nicklas |
57 |
</description> |
5838 |
01 Nov 11 |
nicklas |
58 |
|
5838 |
01 Nov 11 |
nicklas |
<!--create this file if you need to override values from properties below --> |
5838 |
01 Nov 11 |
nicklas |
60 |
<property file="build.properties" /> |
7 |
08 Feb 05 |
nicklas |
61 |
|
2959 |
27 Nov 06 |
nicklas |
<!-- set BASE version |
4049 |
07 Dec 07 |
nicklas |
Use numerical versions for bugfix (maintenance) releases starting |
5607 |
15 Apr 11 |
nicklas |
with "1". Use "0" for the first release of a new trunk version. Set |
5607 |
15 Apr 11 |
nicklas |
"base.versionsuffix" to "-dev" for unreleased versions. Examples: 2.1.1-dev, 2.1.1, |
5607 |
15 Apr 11 |
nicklas |
2.1.2-dev, 2.2.2, 2.2.0-dev, 2.2.0, 2.2.1-dev, 2.2.1 |
2959 |
27 Nov 06 |
nicklas |
67 |
--> |
5589 |
16 Mar 11 |
nicklas |
68 |
<property name="base.majorversion" value="3" /> |
8003 |
11 Aug 21 |
nicklas |
69 |
<property name="base.minorversion" value="20" /> |
5607 |
15 Apr 11 |
nicklas |
70 |
<property name="base.maintenanceversion" value="0" /> |
7943 |
04 May 21 |
nicklas |
71 |
<property name="base.versionsuffix" value="-dev" /> |
2959 |
27 Nov 06 |
nicklas |
72 |
<property name="base.version" |
2959 |
27 Nov 06 |
nicklas |
73 |
value="${base.majorversion}.${base.minorversion}.${base.maintenanceversion}" /> |
1375 |
22 Sep 05 |
nicklas |
74 |
|
2959 |
27 Nov 06 |
nicklas |
<!-- set other global properties for this build --> |
6913 |
20 May 15 |
nicklas |
76 |
<property name="javac.arg" value="-Xlint:all,-varargs" |
2959 |
27 Nov 06 |
nicklas |
77 |
description="Extra arguments sent to Java compiler" /> |
7600 |
22 Feb 19 |
nicklas |
78 |
<property name="jsp.xlint" value="all,-serial" |
7600 |
22 Feb 19 |
nicklas |
79 |
description="Xlint parameter when compiling JSP files (-serial is needed since jasper doesn't generate a serialVersionUID)" /> |
7711 |
21 May 19 |
nicklas |
<!-- NOTE! Releae version is also in the config/dist/web.xml for the JSP servlet declaration --> |
7711 |
21 May 19 |
nicklas |
<!-- If the value is changed here, it should also be changed in web.xml --> |
7711 |
21 May 19 |
nicklas |
82 |
<property name="javac.release" value="11" |
7711 |
21 May 19 |
nicklas |
83 |
description="Default value for the 'release' attribute when compiling java code" /> |
4888 |
06 Apr 09 |
nicklas |
84 |
<property name="javac.encoding" value="UTF-8" |
4085 |
17 Jan 08 |
nicklas |
85 |
description="Default value for the 'encoding' attribute when compiling java code" /> |
8001 |
11 Aug 21 |
nicklas |
86 |
<property name="javadoc.arg" value="-Xdoclint:all,-missing" |
6881 |
21 Apr 15 |
nicklas |
87 |
description="Extra arguments sent to Javadoc generation" /> |
2959 |
27 Nov 06 |
nicklas |
88 |
<property name="src" location="src" description="Location of source files" /> |
2959 |
27 Nov 06 |
nicklas |
89 |
<property name="build" location="build" description="Location of compiled files" /> |
2959 |
27 Nov 06 |
nicklas |
90 |
<property name="dist" location="dist" description="Directory where distribution should be created" /> |
3953 |
13 Nov 07 |
nicklas |
91 |
<property name="package" location="package" description="Directory where packaged distribution files are created"/> |
2959 |
27 Nov 06 |
nicklas |
92 |
<property name="lib" location="lib" description="Location of 3rd-party JAR files" /> |
2959 |
27 Nov 06 |
nicklas |
93 |
<property name="config.dist" location="config/dist" |
2959 |
27 Nov 06 |
nicklas |
94 |
description="Location of default configuration files" /> |
2959 |
27 Nov 06 |
nicklas |
95 |
<property name="config.local" location="config/local" |
2959 |
27 Nov 06 |
nicklas |
96 |
description="Location of local configuration files" /> |
2959 |
27 Nov 06 |
nicklas |
97 |
|
3952 |
13 Nov 07 |
nicklas |
<!-- classpaths to library files --> |
3952 |
13 Nov 07 |
nicklas |
99 |
<path id="lib.dist.classpath"> |
3952 |
13 Nov 07 |
nicklas |
100 |
<fileset dir="${lib}/dist"> |
3952 |
13 Nov 07 |
nicklas |
101 |
<include name="**/*.jar"/> |
3952 |
13 Nov 07 |
nicklas |
102 |
</fileset> |
3952 |
13 Nov 07 |
nicklas |
103 |
</path> |
3952 |
13 Nov 07 |
nicklas |
104 |
|
7813 |
19 May 20 |
nicklas |
105 |
<path id="lib.svnkit.classpath"> |
7813 |
19 May 20 |
nicklas |
106 |
<fileset dir="${lib}/svnkit"> |
3952 |
13 Nov 07 |
nicklas |
107 |
<include name="**/*.jar"/> |
3952 |
13 Nov 07 |
nicklas |
108 |
</fileset> |
3952 |
13 Nov 07 |
nicklas |
109 |
</path> |
3952 |
13 Nov 07 |
nicklas |
110 |
|
3952 |
13 Nov 07 |
nicklas |
111 |
<path id="lib.hibernatedoclet.classpath"> |
3952 |
13 Nov 07 |
nicklas |
112 |
<fileset dir="${lib}/hibernatedoclet"> |
3952 |
13 Nov 07 |
nicklas |
113 |
<include name="**/*.jar"/> |
3952 |
13 Nov 07 |
nicklas |
114 |
</fileset> |
3952 |
13 Nov 07 |
nicklas |
115 |
</path> |
3952 |
13 Nov 07 |
nicklas |
116 |
|
3952 |
13 Nov 07 |
nicklas |
117 |
<path id="lib.servlet.classpath"> |
3952 |
13 Nov 07 |
nicklas |
118 |
<fileset dir="${lib}/servlet"> |
3952 |
13 Nov 07 |
nicklas |
119 |
<include name="**/*.jar"/> |
3952 |
13 Nov 07 |
nicklas |
120 |
</fileset> |
3952 |
13 Nov 07 |
nicklas |
121 |
</path> |
3952 |
13 Nov 07 |
nicklas |
122 |
|
2959 |
27 Nov 06 |
nicklas |
<!-- pattern for configuration files use by copy.config --> |
2959 |
27 Nov 06 |
nicklas |
124 |
<patternset id="config.files"> |
4096 |
22 Jan 08 |
nicklas |
125 |
<include name="**/*.*" /> |
2959 |
27 Nov 06 |
nicklas |
126 |
<exclude name="web.xml" /> |
2959 |
27 Nov 06 |
nicklas |
127 |
<exclude name="readme.txt" /> |
2959 |
27 Nov 06 |
nicklas |
128 |
</patternset> |
2649 |
19 Sep 06 |
nicklas |
129 |
|
2959 |
27 Nov 06 |
nicklas |
<!-- task definitions --> |
7 |
08 Feb 05 |
nicklas |
131 |
<taskdef |
7 |
08 Feb 05 |
nicklas |
132 |
name="hibernatedoclet" |
7 |
08 Feb 05 |
nicklas |
133 |
classname="xdoclet.modules.hibernate.HibernateDocletTask" |
7 |
08 Feb 05 |
nicklas |
134 |
description="Task for generating Hibernate mapping files from XDoclet tags" |
2959 |
27 Nov 06 |
nicklas |
135 |
> |
2959 |
27 Nov 06 |
nicklas |
136 |
<classpath> |
3952 |
13 Nov 07 |
nicklas |
137 |
<path refid="lib.hibernatedoclet.classpath" /> |
2959 |
27 Nov 06 |
nicklas |
138 |
</classpath> |
2959 |
27 Nov 06 |
nicklas |
139 |
</taskdef> |
6404 |
29 Jan 14 |
nicklas |
140 |
|
2959 |
27 Nov 06 |
nicklas |
<!-- main targets --> |
2959 |
27 Nov 06 |
nicklas |
142 |
<target |
2959 |
27 Nov 06 |
nicklas |
143 |
name="clean" |
2959 |
27 Nov 06 |
nicklas |
144 |
description="Remove all generated files and backup files" > |
2959 |
27 Nov 06 |
nicklas |
145 |
<delete failonerror="false" includeemptydirs="true"> |
2959 |
27 Nov 06 |
nicklas |
146 |
<fileset dir="${build}" defaultexcludes="no" /> |
2959 |
27 Nov 06 |
nicklas |
147 |
<fileset dir="${dist}" defaultexcludes="no" /> |
3953 |
13 Nov 07 |
nicklas |
148 |
<fileset dir="${package}" defaultexcludes="no" /> |
2959 |
27 Nov 06 |
nicklas |
149 |
<fileset dir="bin/jar" defaultexcludes="no" /> |
2959 |
27 Nov 06 |
nicklas |
150 |
<fileset dir="www/WEB-INF/lib" defaultexcludes="no" /> |
2959 |
27 Nov 06 |
nicklas |
151 |
<fileset dir="www/WEB-INF/classes" defaultexcludes="no" /> |
3846 |
16 Oct 07 |
martin |
152 |
<fileset dir="www/WEB-INF/conf" defaultexcludes="no" /> |
3846 |
16 Oct 07 |
martin |
153 |
<fileset dir="www/WEB-INF/services" defaultexcludes="no" /> |
2959 |
27 Nov 06 |
nicklas |
154 |
<fileset dir="www/WEB-INF" includes="web.xml" defaultexcludes="no" /> |
2959 |
27 Nov 06 |
nicklas |
155 |
<fileset dir="doc/api" defaultexcludes="no" /> |
3607 |
27 Jul 07 |
nicklas |
156 |
<fileset dir="doc/html" defaultexcludes="no" /> |
4195 |
25 Mar 08 |
nicklas |
157 |
<fileset file="data/helptexts.xml" /> |
2959 |
27 Nov 06 |
nicklas |
158 |
</delete> |
2959 |
27 Nov 06 |
nicklas |
159 |
</target> |
7399 |
03 Jul 17 |
nicklas |
160 |
<target |
7399 |
03 Jul 17 |
nicklas |
161 |
name="old-jars" |
7399 |
03 Jul 17 |
nicklas |
162 |
depends="dev.init" |
7399 |
03 Jul 17 |
nicklas |
163 |
description="Remove BASE core JAR files created from older versions" |
7399 |
03 Jul 17 |
nicklas |
164 |
> |
7399 |
03 Jul 17 |
nicklas |
165 |
<delete> |
7399 |
03 Jul 17 |
nicklas |
166 |
<fileset dir="${jar}" includes="base-*.jar" excludes="base-*-${base.version}.jar"></fileset> |
7399 |
03 Jul 17 |
nicklas |
167 |
</delete> |
7399 |
03 Jul 17 |
nicklas |
168 |
<delete> |
7399 |
03 Jul 17 |
nicklas |
169 |
<fileset dir="${bin}/jar" includes="base-*.jar" excludes="base-*-${base.version}.jar"></fileset> |
7399 |
03 Jul 17 |
nicklas |
170 |
</delete> |
7399 |
03 Jul 17 |
nicklas |
171 |
</target> |
7399 |
03 Jul 17 |
nicklas |
172 |
|
2959 |
27 Nov 06 |
nicklas |
173 |
<target |
2959 |
27 Nov 06 |
nicklas |
174 |
name="dist" |
6465 |
04 Jun 14 |
nicklas |
175 |
depends="clean,dist.init,core.jar,coreplugins.jar,web.jar,xjspcompiler, |
5367 |
22 Jun 10 |
nicklas |
176 |
installprg.jar,jobagent.jar,copy.config,copy.jar,doc,doc.dist" |
2959 |
27 Nov 06 |
nicklas |
177 |
description="Create everything needed for distribution" |
2959 |
27 Nov 06 |
nicklas |
178 |
> |
2959 |
27 Nov 06 |
nicklas |
179 |
<copy file="${config.dist}/web.xml" todir="${config}/.." description="Default web.xml" /> |
2959 |
27 Nov 06 |
nicklas |
180 |
<copy todir="${dist}/www" description="JSP files, etc."> |
2959 |
27 Nov 06 |
nicklas |
181 |
<fileset dir="www" /> |
2959 |
27 Nov 06 |
nicklas |
182 |
</copy> |
2959 |
27 Nov 06 |
nicklas |
183 |
<copy todir="${dist}/data" description="Additional data files"> |
2959 |
27 Nov 06 |
nicklas |
184 |
<fileset dir="data" /> |
2959 |
27 Nov 06 |
nicklas |
185 |
</copy> |
2959 |
27 Nov 06 |
nicklas |
186 |
<copy todir="${dist}/bin" description="Scripts, etc."> |
5367 |
22 Jun 10 |
nicklas |
187 |
<fileset dir="bin"> |
5367 |
22 Jun 10 |
nicklas |
188 |
</fileset> |
2959 |
27 Nov 06 |
nicklas |
189 |
</copy> |
2972 |
29 Nov 06 |
nicklas |
190 |
<copy todir="${dist}/misc" description="Other files"> |
2972 |
29 Nov 06 |
nicklas |
191 |
<fileset dir="misc"> |
2972 |
29 Nov 06 |
nicklas |
192 |
<include name="sql/**/*" /> |
2972 |
29 Nov 06 |
nicklas |
193 |
<include name="config/**/*" /> |
2972 |
29 Nov 06 |
nicklas |
194 |
</fileset> |
2972 |
29 Nov 06 |
nicklas |
195 |
</copy> |
5611 |
18 Apr 11 |
nicklas |
196 |
<copy todir="${dist}" description="License and credits"> |
5611 |
18 Apr 11 |
nicklas |
197 |
<fileset file="base.license.txt" /> |
2962 |
27 Nov 06 |
nicklas |
198 |
<fileset file="credits.txt" /> |
2962 |
27 Nov 06 |
nicklas |
199 |
</copy> |
2972 |
29 Nov 06 |
nicklas |
200 |
<chmod dir="." includes="**/*.sh" perm="a+x" description="Make all scripts executable" /> |
2959 |
27 Nov 06 |
nicklas |
201 |
</target> |
2959 |
27 Nov 06 |
nicklas |
202 |
|
2959 |
27 Nov 06 |
nicklas |
203 |
<target |
2959 |
27 Nov 06 |
nicklas |
204 |
name="package" |
4219 |
11 Apr 08 |
nicklas |
205 |
depends="package.bin,package.src" |
4219 |
11 Apr 08 |
nicklas |
206 |
description="Generate tar.gz files for the binary and source distribution" |
2959 |
27 Nov 06 |
nicklas |
207 |
> |
2959 |
27 Nov 06 |
nicklas |
208 |
</target> |
2959 |
27 Nov 06 |
nicklas |
209 |
|
2959 |
27 Nov 06 |
nicklas |
210 |
<target |
2959 |
27 Nov 06 |
nicklas |
211 |
name="dev" |
7399 |
03 Jul 17 |
nicklas |
212 |
depends="dev.init,old-jars,core,coreplugins,web,installprg,jobagent,test" |
2959 |
27 Nov 06 |
nicklas |
213 |
description="Create a runnable local installation" |
2649 |
19 Sep 06 |
nicklas |
214 |
/> |
2649 |
19 Sep 06 |
nicklas |
215 |
|
7 |
08 Feb 05 |
nicklas |
216 |
<target |
2959 |
27 Nov 06 |
nicklas |
217 |
name="core" |
2959 |
27 Nov 06 |
nicklas |
218 |
depends="dev.init,core.jar" |
2959 |
27 Nov 06 |
nicklas |
219 |
description="Build the core for local use" |
7 |
08 Feb 05 |
nicklas |
220 |
/> |
7 |
08 Feb 05 |
nicklas |
221 |
|
7 |
08 Feb 05 |
nicklas |
222 |
<target |
2959 |
27 Nov 06 |
nicklas |
223 |
name="coreplugins" |
2959 |
27 Nov 06 |
nicklas |
224 |
depends="core,coreplugins.jar" |
2959 |
27 Nov 06 |
nicklas |
225 |
description="Build the core plugins for local use" |
2340 |
30 May 06 |
nicklas |
226 |
/> |
2959 |
27 Nov 06 |
nicklas |
227 |
|
2340 |
30 May 06 |
nicklas |
228 |
<target |
2959 |
27 Nov 06 |
nicklas |
229 |
name="test" |
2979 |
30 Nov 06 |
nicklas |
230 |
depends="test.jar,core.hibernate" |
2959 |
27 Nov 06 |
nicklas |
231 |
description="Compile the test programs for local use" |
2959 |
27 Nov 06 |
nicklas |
232 |
> |
2959 |
27 Nov 06 |
nicklas |
233 |
<mkdir dir="${test.build}/data" /> |
2959 |
27 Nov 06 |
nicklas |
234 |
<copy todir="${test.build}/data" description="Test-data files"> |
2959 |
27 Nov 06 |
nicklas |
235 |
<fileset dir="${test.src}/data"> |
2959 |
27 Nov 06 |
nicklas |
236 |
<include name="**/*" /> |
2959 |
27 Nov 06 |
nicklas |
237 |
</fileset> |
2959 |
27 Nov 06 |
nicklas |
238 |
</copy> |
2959 |
27 Nov 06 |
nicklas |
239 |
<copy todir="${test.build}" description="Script files, etc."> |
2959 |
27 Nov 06 |
nicklas |
240 |
<fileset dir="${test.src}"> |
7195 |
30 Aug 16 |
nicklas |
241 |
<include name="*" /> |
7195 |
30 Aug 16 |
nicklas |
242 |
<exclude name="*.java" /> |
2959 |
27 Nov 06 |
nicklas |
243 |
</fileset> |
2959 |
27 Nov 06 |
nicklas |
244 |
</copy> |
2959 |
27 Nov 06 |
nicklas |
245 |
<chmod dir="${test.build}" includes="*.sh" perm="a+x"/> |
2959 |
27 Nov 06 |
nicklas |
246 |
</target> |
2959 |
27 Nov 06 |
nicklas |
247 |
|
2959 |
27 Nov 06 |
nicklas |
248 |
<target |
2959 |
27 Nov 06 |
nicklas |
249 |
name="web" |
4222 |
15 Apr 08 |
nicklas |
250 |
depends="core,coreplugins,web.jar,xjspcompiler,copy.config,copy.jar" |
2959 |
27 Nov 06 |
nicklas |
251 |
description="Build web client application for local use" |
2959 |
27 Nov 06 |
nicklas |
252 |
> |
2959 |
27 Nov 06 |
nicklas |
253 |
</target> |
2959 |
27 Nov 06 |
nicklas |
254 |
|
2959 |
27 Nov 06 |
nicklas |
255 |
<target |
2959 |
27 Nov 06 |
nicklas |
256 |
name="installprg" |
3952 |
13 Nov 07 |
nicklas |
257 |
depends="core,web,installprg.jar" |
2959 |
27 Nov 06 |
nicklas |
258 |
description="Build installation programs for local use" |
2340 |
30 May 06 |
nicklas |
259 |
/> |
2959 |
27 Nov 06 |
nicklas |
260 |
|
2959 |
27 Nov 06 |
nicklas |
261 |
<target |
2959 |
27 Nov 06 |
nicklas |
262 |
name="jobagent" |
3952 |
13 Nov 07 |
nicklas |
263 |
depends="core,web,jobagent.jar" |
2959 |
27 Nov 06 |
nicklas |
264 |
description="Build job agent for local use" |
2959 |
27 Nov 06 |
nicklas |
265 |
/> |
2959 |
27 Nov 06 |
nicklas |
266 |
|
2959 |
27 Nov 06 |
nicklas |
267 |
<target |
2959 |
27 Nov 06 |
nicklas |
268 |
name="doc" |
3953 |
13 Nov 07 |
nicklas |
269 |
depends="doc.javadoc,doc.docbook" |
3953 |
13 Nov 07 |
nicklas |
270 |
description="Generate documentation (javadoc and docbook) for local use and distribution" |
2959 |
27 Nov 06 |
nicklas |
271 |
/> |
2959 |
27 Nov 06 |
nicklas |
272 |
|
2959 |
27 Nov 06 |
nicklas |
<!-- init targets --> |
2959 |
27 Nov 06 |
nicklas |
274 |
<target |
2959 |
27 Nov 06 |
nicklas |
275 |
name="init" |
2959 |
27 Nov 06 |
nicklas |
276 |
depends="svn.revision" |
2959 |
27 Nov 06 |
nicklas |
277 |
description="Initialise things" |
2959 |
27 Nov 06 |
nicklas |
278 |
> |
2959 |
27 Nov 06 |
nicklas |
279 |
</target> |
2959 |
27 Nov 06 |
nicklas |
280 |
|
2959 |
27 Nov 06 |
nicklas |
281 |
<target |
2959 |
27 Nov 06 |
nicklas |
282 |
name="dist.init" |
2959 |
27 Nov 06 |
nicklas |
283 |
depends="init" |
2959 |
27 Nov 06 |
nicklas |
284 |
unless="isDev" |
2959 |
27 Nov 06 |
nicklas |
285 |
> |
2959 |
27 Nov 06 |
nicklas |
286 |
<property name="isDist" value="1" /> |
2959 |
27 Nov 06 |
nicklas |
287 |
<property name="jar" location="${dist}/www/WEB-INF/lib" /> |
2959 |
27 Nov 06 |
nicklas |
288 |
<property name="config" location="${dist}/www/WEB-INF/classes" /> |
2959 |
27 Nov 06 |
nicklas |
289 |
<property name="bin" location="${dist}/bin" /> |
2959 |
27 Nov 06 |
nicklas |
290 |
<property name="doc" location="${dist}/doc" /> |
2959 |
27 Nov 06 |
nicklas |
291 |
<mkdir dir="${jar}" /> |
2959 |
27 Nov 06 |
nicklas |
292 |
<mkdir dir="${config}" /> |
2959 |
27 Nov 06 |
nicklas |
293 |
<mkdir dir="${bin}" /> |
2959 |
27 Nov 06 |
nicklas |
294 |
<mkdir dir="${bin}/jar" /> |
2959 |
27 Nov 06 |
nicklas |
295 |
<mkdir dir="${dist}/data" /> |
2959 |
27 Nov 06 |
nicklas |
296 |
<mkdir dir="${dist}/doc" /> |
2972 |
29 Nov 06 |
nicklas |
297 |
<mkdir dir="${dist}/misc" /> |
2959 |
27 Nov 06 |
nicklas |
298 |
</target> |
2959 |
27 Nov 06 |
nicklas |
299 |
|
2959 |
27 Nov 06 |
nicklas |
300 |
<target |
2959 |
27 Nov 06 |
nicklas |
301 |
name="dev.init" |
2959 |
27 Nov 06 |
nicklas |
302 |
depends="init" |
2959 |
27 Nov 06 |
nicklas |
303 |
unless="isDist" |
2959 |
27 Nov 06 |
nicklas |
304 |
> |
2959 |
27 Nov 06 |
nicklas |
305 |
<property name="isDev" value="1" /> |
2959 |
27 Nov 06 |
nicklas |
306 |
<property name="jar" location="www/WEB-INF/lib" /> |
2959 |
27 Nov 06 |
nicklas |
307 |
<property name="config" location="www/WEB-INF/classes" /> |
2959 |
27 Nov 06 |
nicklas |
308 |
<property name="bin" location="bin" /> |
2959 |
27 Nov 06 |
nicklas |
309 |
<property name="doc" location="doc" /> |
2959 |
27 Nov 06 |
nicklas |
310 |
<mkdir dir="${bin}/jar" /> |
2959 |
27 Nov 06 |
nicklas |
311 |
<mkdir dir="${jar}" /> |
2959 |
27 Nov 06 |
nicklas |
312 |
<mkdir dir="${config}" /> |
2959 |
27 Nov 06 |
nicklas |
313 |
</target> |
2959 |
27 Nov 06 |
nicklas |
314 |
|
2959 |
27 Nov 06 |
nicklas |
315 |
<target |
2959 |
27 Nov 06 |
nicklas |
316 |
name="svn.revision" |
2959 |
27 Nov 06 |
nicklas |
317 |
description="Get the current revision number in the subversion and put the |
2959 |
27 Nov 06 |
nicklas |
318 |
value into the base.build property; replaced by constant expression in source distributions" |
2959 |
27 Nov 06 |
nicklas |
319 |
> |
7813 |
19 May 20 |
nicklas |
320 |
<java |
7813 |
19 May 20 |
nicklas |
321 |
classname="org.tmatesoft.svn.cli.SVN" |
7813 |
19 May 20 |
nicklas |
322 |
classpathref="lib.svnkit.classpath" |
7813 |
19 May 20 |
nicklas |
323 |
outputproperty="svn.info.out" |
7813 |
19 May 20 |
nicklas |
324 |
> |
7813 |
19 May 20 |
nicklas |
325 |
<arg value="info" /> |
7813 |
19 May 20 |
nicklas |
326 |
<arg value="." /> |
7813 |
19 May 20 |
nicklas |
327 |
</java> |
7813 |
19 May 20 |
nicklas |
328 |
<loadresource property="base.build" |
7813 |
19 May 20 |
nicklas |
329 |
description="Scan output from 'svn info' and keep only the line with 'Last Changed Rev:'" |
7813 |
19 May 20 |
nicklas |
330 |
> |
7813 |
19 May 20 |
nicklas |
331 |
<concat>${svn.info.out}</concat> |
7813 |
19 May 20 |
nicklas |
332 |
<filterchain> |
7813 |
19 May 20 |
nicklas |
333 |
<linecontains><contains value="Last Changed Rev" /></linecontains> |
7813 |
19 May 20 |
nicklas |
334 |
<replaceregex pattern=".*?(\d+)" replace="\1" /> |
7813 |
19 May 20 |
nicklas |
335 |
<striplinebreaks/> |
7813 |
19 May 20 |
nicklas |
336 |
</filterchain> |
7813 |
19 May 20 |
nicklas |
337 |
</loadresource> |
2959 |
27 Nov 06 |
nicklas |
338 |
<echo message="Build #${base.build}" /> |
2959 |
27 Nov 06 |
nicklas |
339 |
</target> |
2959 |
27 Nov 06 |
nicklas |
340 |
|
2959 |
27 Nov 06 |
nicklas |
<!-- configuration targets --> |
2959 |
27 Nov 06 |
nicklas |
342 |
<target |
2959 |
27 Nov 06 |
nicklas |
343 |
name="copy.config" |
2959 |
27 Nov 06 |
nicklas |
344 |
depends="copy.config.local,copy.config.dist" |
2959 |
27 Nov 06 |
nicklas |
345 |
description="Copies configuration files to the appropriate folder" |
2959 |
27 Nov 06 |
nicklas |
346 |
> |
2959 |
27 Nov 06 |
nicklas |
347 |
</target> |
2959 |
27 Nov 06 |
nicklas |
348 |
|
2959 |
27 Nov 06 |
nicklas |
349 |
<target |
2959 |
27 Nov 06 |
nicklas |
350 |
name="copy.config.dist" |
2959 |
27 Nov 06 |
nicklas |
351 |
> |
2959 |
27 Nov 06 |
nicklas |
352 |
<copy todir="${config}" description="Default configuration files"> |
2959 |
27 Nov 06 |
nicklas |
353 |
<fileset dir="${config.dist}"> |
2959 |
27 Nov 06 |
nicklas |
354 |
<patternset refid="config.files" /> |
2959 |
27 Nov 06 |
nicklas |
355 |
<present present="srconly" targetdir="${config}" /> |
2959 |
27 Nov 06 |
nicklas |
356 |
</fileset> |
2959 |
27 Nov 06 |
nicklas |
357 |
</copy> |
2994 |
01 Dec 06 |
nicklas |
358 |
<copy todir="${config}/.." description="Default web.xml"> |
2994 |
01 Dec 06 |
nicklas |
359 |
<fileset dir="${config.dist}"> |
2994 |
01 Dec 06 |
nicklas |
360 |
<include name="web.xml" /> |
2994 |
01 Dec 06 |
nicklas |
361 |
<present present="srconly" targetdir="${config}/.." /> |
2994 |
01 Dec 06 |
nicklas |
362 |
</fileset> |
2994 |
01 Dec 06 |
nicklas |
363 |
</copy> |
2959 |
27 Nov 06 |
nicklas |
364 |
</target> |
2959 |
27 Nov 06 |
nicklas |
365 |
|
2959 |
27 Nov 06 |
nicklas |
366 |
<target |
2959 |
27 Nov 06 |
nicklas |
367 |
name="copy.config.local" |
2959 |
27 Nov 06 |
nicklas |
368 |
if="isDev" |
2959 |
27 Nov 06 |
nicklas |
369 |
unless="isDist" |
2959 |
27 Nov 06 |
nicklas |
370 |
> |
2959 |
27 Nov 06 |
nicklas |
371 |
<copy todir="${config}" description="Local configuration files"> |
2959 |
27 Nov 06 |
nicklas |
372 |
<fileset dir="${config.local}"> |
2959 |
27 Nov 06 |
nicklas |
373 |
<patternset refid="config.files" /> |
2959 |
27 Nov 06 |
nicklas |
374 |
</fileset> |
2959 |
27 Nov 06 |
nicklas |
375 |
</copy> |
2994 |
01 Dec 06 |
nicklas |
376 |
<copy todir="${config}/.." description="Local web.xml"> |
2994 |
01 Dec 06 |
nicklas |
377 |
<fileset dir="${config.local}"> |
2994 |
01 Dec 06 |
nicklas |
378 |
<include name="web.xml" /> |
2994 |
01 Dec 06 |
nicklas |
379 |
</fileset> |
2994 |
01 Dec 06 |
nicklas |
380 |
</copy> |
2959 |
27 Nov 06 |
nicklas |
381 |
</target> |
2959 |
27 Nov 06 |
nicklas |
382 |
|
2959 |
27 Nov 06 |
nicklas |
383 |
<target |
2959 |
27 Nov 06 |
nicklas |
384 |
name="copy.jar" |
2959 |
27 Nov 06 |
nicklas |
385 |
description="Copy required jar files to the appropriate folder" |
2959 |
27 Nov 06 |
nicklas |
386 |
> |
2959 |
27 Nov 06 |
nicklas |
387 |
<copy todir="${jar}" description="3rd-party JAR files"> |
2959 |
27 Nov 06 |
nicklas |
388 |
<fileset dir="${lib}/dist"> |
2959 |
27 Nov 06 |
nicklas |
389 |
<include name="**/*" /> |
2959 |
27 Nov 06 |
nicklas |
390 |
</fileset> |
2959 |
27 Nov 06 |
nicklas |
391 |
</copy> |
2959 |
27 Nov 06 |
nicklas |
392 |
</target> |
3951 |
12 Nov 07 |
nicklas |
393 |
|
2959 |
27 Nov 06 |
nicklas |
<!-- core targets --> |
2959 |
27 Nov 06 |
nicklas |
395 |
<target |
2959 |
27 Nov 06 |
nicklas |
396 |
name="core.init" |
6465 |
04 Jun 14 |
nicklas |
397 |
depends="dev.init" |
2959 |
27 Nov 06 |
nicklas |
398 |
> |
2959 |
27 Nov 06 |
nicklas |
399 |
<property name="core.src" location="${src}/core" |
2959 |
27 Nov 06 |
nicklas |
400 |
description="Location of core source files" /> |
2959 |
27 Nov 06 |
nicklas |
401 |
<property name="core.build" location="${build}/core" |
2959 |
27 Nov 06 |
nicklas |
402 |
description="Location of compiled core files" /> |
3951 |
12 Nov 07 |
nicklas |
403 |
<path id="core.classpath"> |
3952 |
13 Nov 07 |
nicklas |
404 |
<path refid="lib.dist.classpath" /> |
3951 |
12 Nov 07 |
nicklas |
405 |
</path> |
2959 |
27 Nov 06 |
nicklas |
406 |
</target> |
2959 |
27 Nov 06 |
nicklas |
407 |
|
2959 |
27 Nov 06 |
nicklas |
408 |
<target |
2959 |
27 Nov 06 |
nicklas |
409 |
name="core.compile" |
6465 |
04 Jun 14 |
nicklas |
410 |
depends="core.init" |
2959 |
27 Nov 06 |
nicklas |
411 |
description="Compile the core" |
2959 |
27 Nov 06 |
nicklas |
412 |
> |
2959 |
27 Nov 06 |
nicklas |
413 |
<mkdir dir="${core.build}"/> |
2959 |
27 Nov 06 |
nicklas |
414 |
<javac |
2959 |
27 Nov 06 |
nicklas |
415 |
srcdir="${core.src}" |
2959 |
27 Nov 06 |
nicklas |
416 |
destdir="${core.build}" |
2959 |
27 Nov 06 |
nicklas |
417 |
classpathref="core.classpath" |
4085 |
17 Jan 08 |
nicklas |
418 |
encoding="${javac.encoding}" |
2959 |
27 Nov 06 |
nicklas |
419 |
debug="true" |
2959 |
27 Nov 06 |
nicklas |
420 |
deprecation="true" |
7711 |
21 May 19 |
nicklas |
421 |
release="${javac.release}" |
5363 |
18 Jun 10 |
nicklas |
422 |
includeantruntime="false" |
2959 |
27 Nov 06 |
nicklas |
423 |
> |
2959 |
27 Nov 06 |
nicklas |
424 |
<compilerarg value="${javac.arg}" /> |
2959 |
27 Nov 06 |
nicklas |
425 |
</javac> |
6727 |
13 Feb 15 |
nicklas |
426 |
<delete file="${core.build}/base.version" failonerror="false" /> |
6727 |
13 Feb 15 |
nicklas |
427 |
<copy todir="${core.build}" |
2959 |
27 Nov 06 |
nicklas |
428 |
description="Resource files needed by the core; excludes documentation and source files"> |
2959 |
27 Nov 06 |
nicklas |
429 |
<fileset dir="${core.src}"> |
2959 |
27 Nov 06 |
nicklas |
430 |
<include name="**/*" /> |
2959 |
27 Nov 06 |
nicklas |
431 |
<exclude name="**/*.java" /> |
2959 |
27 Nov 06 |
nicklas |
432 |
<exclude name="**/doc-files/" /> |
2959 |
27 Nov 06 |
nicklas |
433 |
<exclude name="**/package.html" /> |
2959 |
27 Nov 06 |
nicklas |
434 |
</fileset> |
2959 |
27 Nov 06 |
nicklas |
435 |
</copy> |
2959 |
27 Nov 06 |
nicklas |
436 |
<replace file="${core.build}/base.version"> |
2959 |
27 Nov 06 |
nicklas |
437 |
<replacefilter |
2959 |
27 Nov 06 |
nicklas |
438 |
token="@MAJOR@" |
2959 |
27 Nov 06 |
nicklas |
439 |
value="${base.majorversion}" |
2959 |
27 Nov 06 |
nicklas |
440 |
/> |
2959 |
27 Nov 06 |
nicklas |
441 |
<replacefilter |
2959 |
27 Nov 06 |
nicklas |
442 |
token="@MINOR@" |
2959 |
27 Nov 06 |
nicklas |
443 |
value="${base.minorversion}" |
2959 |
27 Nov 06 |
nicklas |
444 |
/> |
2959 |
27 Nov 06 |
nicklas |
445 |
<replacefilter |
2959 |
27 Nov 06 |
nicklas |
446 |
token="@MAINTENANCE@" |
2959 |
27 Nov 06 |
nicklas |
447 |
value="${base.maintenanceversion}" |
2959 |
27 Nov 06 |
nicklas |
448 |
/> |
2959 |
27 Nov 06 |
nicklas |
449 |
<replacefilter |
2959 |
27 Nov 06 |
nicklas |
450 |
token="@BUILD@" |
2959 |
27 Nov 06 |
nicklas |
451 |
value="${base.build}" |
2959 |
27 Nov 06 |
nicklas |
452 |
/> |
5607 |
15 Apr 11 |
nicklas |
453 |
<replacefilter |
5607 |
15 Apr 11 |
nicklas |
454 |
token="@SUFFIX@" |
5607 |
15 Apr 11 |
nicklas |
455 |
value="${base.versionsuffix}" |
5607 |
15 Apr 11 |
nicklas |
456 |
/> |
2959 |
27 Nov 06 |
nicklas |
457 |
</replace> |
5609 |
15 Apr 11 |
nicklas |
458 |
<replaceregexp |
5609 |
15 Apr 11 |
nicklas |
459 |
file="${core.build}/core-extensions.xml" |
5609 |
15 Apr 11 |
nicklas |
460 |
match="<version>.*</version>" |
5609 |
15 Apr 11 |
nicklas |
461 |
replace="<version>${base.version}${base.versionsuffix}</version>" |
5609 |
15 Apr 11 |
nicklas |
462 |
encoding="UTF-8" |
5609 |
15 Apr 11 |
nicklas |
463 |
/> |
2959 |
27 Nov 06 |
nicklas |
464 |
</target> |
7 |
08 Feb 05 |
nicklas |
465 |
|
7 |
08 Feb 05 |
nicklas |
466 |
<target |
2643 |
15 Sep 06 |
nicklas |
467 |
name="check.hibernate" |
2959 |
27 Nov 06 |
nicklas |
468 |
depends="core.init" |
2643 |
15 Sep 06 |
nicklas |
469 |
> |
2643 |
15 Sep 06 |
nicklas |
470 |
<uptodate |
2643 |
15 Sep 06 |
nicklas |
471 |
property="nohibernate" |
3029 |
14 Dec 06 |
nicklas |
472 |
> |
3029 |
14 Dec 06 |
nicklas |
473 |
<srcfiles dir="${core.src}/net/sf/basedb/core/data" includes="**/*.java"> |
3029 |
14 Dec 06 |
nicklas |
474 |
<contains text="@hibernate.class" /> |
3029 |
14 Dec 06 |
nicklas |
475 |
</srcfiles> |
3029 |
14 Dec 06 |
nicklas |
476 |
<mapper type="glob" from="*.java" to="${core.build}/net/sf/basedb/core/data/*.hbm.xml" /> |
3029 |
14 Dec 06 |
nicklas |
477 |
</uptodate> |
2648 |
19 Sep 06 |
nicklas |
478 |
<condition property="hibernate.message" |
2648 |
19 Sep 06 |
nicklas |
479 |
value="up to date; skipping" |
2648 |
19 Sep 06 |
nicklas |
480 |
> |
2648 |
19 Sep 06 |
nicklas |
481 |
<istrue value="${nohibernate}" /> |
2648 |
19 Sep 06 |
nicklas |
482 |
</condition> |
2648 |
19 Sep 06 |
nicklas |
483 |
<condition property="hibernate.message" |
2648 |
19 Sep 06 |
nicklas |
484 |
value="not up to date; generating new" |
2648 |
19 Sep 06 |
nicklas |
485 |
> |
2648 |
19 Sep 06 |
nicklas |
486 |
<isfalse value="${nohibernate}" /> |
2648 |
19 Sep 06 |
nicklas |
487 |
</condition> |
2648 |
19 Sep 06 |
nicklas |
488 |
<echo>Hibernate mapping files are ${hibernate.message}</echo> |
2643 |
15 Sep 06 |
nicklas |
489 |
</target> |
2643 |
15 Sep 06 |
nicklas |
490 |
|
2643 |
15 Sep 06 |
nicklas |
491 |
<target |
7 |
08 Feb 05 |
nicklas |
492 |
name="core.hibernate" |
2959 |
27 Nov 06 |
nicklas |
493 |
depends="core.init,core.compile,check.hibernate" |
2959 |
27 Nov 06 |
nicklas |
494 |
description="Generates Hibernate mapping files from the source code" |
2634 |
12 Sep 06 |
nicklas |
495 |
unless="nohibernate" |
7 |
08 Feb 05 |
nicklas |
496 |
> |
6804 |
25 Mar 15 |
nicklas |
497 |
<delete failonerror="false"> |
3029 |
14 Dec 06 |
nicklas |
498 |
<fileset dir="${core.build}" includes="**/*.hbm.xml" /> |
6760 |
23 Feb 15 |
nicklas |
499 |
<fileset dir="${build}/hbm" includes="**/*" /> |
3029 |
14 Dec 06 |
nicklas |
500 |
</delete> |
3029 |
14 Dec 06 |
nicklas |
501 |
<copy todir="${core.build}" |
3029 |
14 Dec 06 |
nicklas |
502 |
description="Hardcoded *.hbm.xml files"> |
3029 |
14 Dec 06 |
nicklas |
503 |
<fileset dir="${core.src}" includes="**/*.hbm.xml" /> |
3029 |
14 Dec 06 |
nicklas |
504 |
</copy> |
6684 |
14 Jan 15 |
nicklas |
505 |
<copy todir="${build}/hbm" |
6684 |
14 Jan 15 |
nicklas |
506 |
description="Copy our data class files so xdoclet doesn't parse other code"> |
6684 |
14 Jan 15 |
nicklas |
507 |
<fileset dir="${core.src}" includes="net/sf/basedb/core/data/**/*" /> |
6684 |
14 Jan 15 |
nicklas |
508 |
</copy> |
6684 |
14 Jan 15 |
nicklas |
509 |
|
7 |
08 Feb 05 |
nicklas |
510 |
<hibernatedoclet |
7 |
08 Feb 05 |
nicklas |
511 |
destdir="${core.build}" |
7 |
08 Feb 05 |
nicklas |
512 |
excludedtags="@version,@author,@todo" |
7 |
08 Feb 05 |
nicklas |
513 |
mergedir="${core.build}" |
6684 |
14 Jan 15 |
nicklas |
514 |
verbose="true" |
6684 |
14 Jan 15 |
nicklas |
515 |
> |
6684 |
14 Jan 15 |
nicklas |
516 |
<fileset dir="${build}/hbm"> |
5631 |
16 May 11 |
nicklas |
517 |
<include name="net/sf/basedb/core/data/**/*.java"/> |
7 |
08 Feb 05 |
nicklas |
518 |
</fileset> |
6684 |
14 Jan 15 |
nicklas |
519 |
<hibernate version="2.0" /> |
7 |
08 Feb 05 |
nicklas |
520 |
</hibernatedoclet> |
940 |
15 Jul 05 |
nicklas |
521 |
|
940 |
15 Jul 05 |
nicklas |
522 |
<replace |
940 |
15 Jul 05 |
nicklas |
523 |
dir="${core.build}" |
940 |
15 Jul 05 |
nicklas |
524 |
> |
940 |
15 Jul 05 |
nicklas |
525 |
<include name="**/*.hbm.xml"/> |
940 |
15 Jul 05 |
nicklas |
526 |
<replacefilter |
7075 |
15 Feb 16 |
nicklas |
527 |
token="<hibernate-mapping" |
7075 |
15 Feb 16 |
nicklas |
528 |
value="<hibernate-mapping xmlns="http://www.hibernate.org/xsd/hibernate-mapping"" |
940 |
15 Jul 05 |
nicklas |
529 |
/> |
940 |
15 Jul 05 |
nicklas |
530 |
<replacefilter |
940 |
15 Jul 05 |
nicklas |
531 |
token="outer-join="false"" |
940 |
15 Jul 05 |
nicklas |
532 |
value="fetch="select"" |
940 |
15 Jul 05 |
nicklas |
533 |
/> |
940 |
15 Jul 05 |
nicklas |
534 |
<replacefilter |
940 |
15 Jul 05 |
nicklas |
535 |
token="outer-join="true"" |
940 |
15 Jul 05 |
nicklas |
536 |
value="fetch="join"" |
940 |
15 Jul 05 |
nicklas |
537 |
/> |
940 |
15 Jul 05 |
nicklas |
538 |
<replacefilter |
6633 |
28 Nov 14 |
nicklas |
539 |
token="outer-join="auto"" |
6633 |
28 Nov 14 |
nicklas |
540 |
value="" |
6633 |
28 Nov 14 |
nicklas |
541 |
/> |
6633 |
28 Nov 14 |
nicklas |
542 |
<replacefilter |
940 |
15 Jul 05 |
nicklas |
543 |
token="index-many-to-many" |
940 |
15 Jul 05 |
nicklas |
544 |
value="map-key-many-to-many" |
940 |
15 Jul 05 |
nicklas |
545 |
/> |
940 |
15 Jul 05 |
nicklas |
546 |
<replacefilter |
940 |
15 Jul 05 |
nicklas |
547 |
token="<index>" |
940 |
15 Jul 05 |
nicklas |
548 |
value="<list-index>" |
940 |
15 Jul 05 |
nicklas |
549 |
/> |
940 |
15 Jul 05 |
nicklas |
550 |
<replacefilter |
940 |
15 Jul 05 |
nicklas |
551 |
token="</index>" |
940 |
15 Jul 05 |
nicklas |
552 |
value="</list-index>" |
940 |
15 Jul 05 |
nicklas |
553 |
/> |
940 |
15 Jul 05 |
nicklas |
554 |
<replacefilter |
940 |
15 Jul 05 |
nicklas |
555 |
token="composite-index" |
940 |
15 Jul 05 |
nicklas |
556 |
value="composite-map-key" |
940 |
15 Jul 05 |
nicklas |
557 |
/> |
940 |
15 Jul 05 |
nicklas |
558 |
</replace> |
5476 |
04 Nov 10 |
nicklas |
559 |
|
5476 |
04 Nov 10 |
nicklas |
560 |
<!-- |
5476 |
04 Nov 10 |
nicklas |
Move the mappings files for all Extendable classes |
5476 |
04 Nov 10 |
nicklas |
because we are going to add more tags to them at runtime |
5476 |
04 Nov 10 |
nicklas |
563 |
--> |
5476 |
04 Nov 10 |
nicklas |
564 |
<!-- |
5476 |
04 Nov 10 |
nicklas |
<move |
5476 |
04 Nov 10 |
nicklas |
todir="${core.build}/net/sf/basedb/core/templates" |
5476 |
04 Nov 10 |
nicklas |
567 |
> |
5476 |
04 Nov 10 |
nicklas |
<fileset dir="${core.build}/net/sf/basedb/core/data"> |
5476 |
04 Nov 10 |
nicklas |
<include name="ReporterData.hbm.xml"/> |
5476 |
04 Nov 10 |
nicklas |
<include name="UserData.hbm.xml"/> |
5476 |
04 Nov 10 |
nicklas |
</fileset> |
5476 |
04 Nov 10 |
nicklas |
<mapper type="glob" from="*.hbm.xml" to="hibernate-properties-*.xml" /> |
5476 |
04 Nov 10 |
nicklas |
</move> |
5476 |
04 Nov 10 |
nicklas |
574 |
--> |
7 |
08 Feb 05 |
nicklas |
575 |
</target> |
2959 |
27 Nov 06 |
nicklas |
576 |
|
7 |
08 Feb 05 |
nicklas |
577 |
<target |
2959 |
27 Nov 06 |
nicklas |
578 |
name="core.jar" |
2959 |
27 Nov 06 |
nicklas |
579 |
depends="core.init,core.compile,core.hibernate" |
5589 |
16 Mar 11 |
nicklas |
580 |
description="Create the core jar file: base-core-a.b.c.jar" |
7 |
08 Feb 05 |
nicklas |
581 |
> |
2959 |
27 Nov 06 |
nicklas |
582 |
<jar |
2959 |
27 Nov 06 |
nicklas |
583 |
basedir="${core.build}" |
5589 |
16 Mar 11 |
nicklas |
584 |
jarfile="${jar}/base-core-${base.version}.jar" |
2959 |
27 Nov 06 |
nicklas |
585 |
/> |
7 |
08 Feb 05 |
nicklas |
586 |
</target> |
7 |
08 Feb 05 |
nicklas |
587 |
|
2959 |
27 Nov 06 |
nicklas |
<!-- core plugin targets --> |
7 |
08 Feb 05 |
nicklas |
589 |
<target |
2959 |
27 Nov 06 |
nicklas |
590 |
name="coreplugins.init" |
2959 |
27 Nov 06 |
nicklas |
591 |
depends="core.init" |
2959 |
27 Nov 06 |
nicklas |
592 |
> |
2959 |
27 Nov 06 |
nicklas |
593 |
<property name="coreplugins.src" location="${src}/plugins/core" |
2959 |
27 Nov 06 |
nicklas |
594 |
description="Location of source files" /> |
2959 |
27 Nov 06 |
nicklas |
595 |
<property name="coreplugins.build" location="${build}/plugins/core" |
2959 |
27 Nov 06 |
nicklas |
596 |
description="Location of compiled files" /> |
2959 |
27 Nov 06 |
nicklas |
597 |
<path id="coreplugins.classpath" description="Class path for compiling plugins"> |
2959 |
27 Nov 06 |
nicklas |
598 |
<path refid="core.classpath"/> |
2959 |
27 Nov 06 |
nicklas |
599 |
<pathelement location="${core.build}"/> |
2959 |
27 Nov 06 |
nicklas |
600 |
</path> |
2959 |
27 Nov 06 |
nicklas |
601 |
</target> |
2959 |
27 Nov 06 |
nicklas |
602 |
|
2959 |
27 Nov 06 |
nicklas |
603 |
<target |
2340 |
30 May 06 |
nicklas |
604 |
name="coreplugins.compile" |
2959 |
27 Nov 06 |
nicklas |
605 |
depends="core.compile,coreplugins.init" |
2959 |
27 Nov 06 |
nicklas |
606 |
description="Compile the core plugins" |
2340 |
30 May 06 |
nicklas |
607 |
> |
2959 |
27 Nov 06 |
nicklas |
608 |
<mkdir dir="${coreplugins.build}" /> |
2340 |
30 May 06 |
nicklas |
609 |
<javac |
2340 |
30 May 06 |
nicklas |
610 |
srcdir="${coreplugins.src}" |
2340 |
30 May 06 |
nicklas |
611 |
destdir="${coreplugins.build}" |
2959 |
27 Nov 06 |
nicklas |
612 |
classpathref="coreplugins.classpath" |
4085 |
17 Jan 08 |
nicklas |
613 |
encoding="${javac.encoding}" |
2340 |
30 May 06 |
nicklas |
614 |
debug="true" |
2340 |
30 May 06 |
nicklas |
615 |
deprecation="true" |
7711 |
21 May 19 |
nicklas |
616 |
release="${javac.release}" |
5363 |
18 Jun 10 |
nicklas |
617 |
includeantruntime="false" |
2340 |
30 May 06 |
nicklas |
618 |
> |
2959 |
27 Nov 06 |
nicklas |
619 |
<compilerarg value="${javac.arg}" /> |
2340 |
30 May 06 |
nicklas |
620 |
</javac> |
5610 |
15 Apr 11 |
nicklas |
621 |
<copy todir="${coreplugins.build}" |
5610 |
15 Apr 11 |
nicklas |
622 |
description="Resource files needed by the core plug-ins; excludes documentation and source files"> |
5610 |
15 Apr 11 |
nicklas |
623 |
<fileset dir="${coreplugins.src}"> |
5610 |
15 Apr 11 |
nicklas |
624 |
<include name="**/*" /> |
5610 |
15 Apr 11 |
nicklas |
625 |
<exclude name="**/*.java" /> |
5610 |
15 Apr 11 |
nicklas |
626 |
<exclude name="**/doc-files/" /> |
5610 |
15 Apr 11 |
nicklas |
627 |
<exclude name="**/package.html" /> |
5610 |
15 Apr 11 |
nicklas |
628 |
</fileset> |
5610 |
15 Apr 11 |
nicklas |
629 |
</copy> |
5610 |
15 Apr 11 |
nicklas |
630 |
<replaceregexp |
5610 |
15 Apr 11 |
nicklas |
631 |
file="${coreplugins.build}/core-plugins.xml" |
5610 |
15 Apr 11 |
nicklas |
632 |
match="<version>.*</version>" |
5610 |
15 Apr 11 |
nicklas |
633 |
replace="<version>${base.version}${base.versionsuffix}</version>" |
5610 |
15 Apr 11 |
nicklas |
634 |
encoding="UTF-8" |
5610 |
15 Apr 11 |
nicklas |
635 |
/> |
2340 |
30 May 06 |
nicklas |
636 |
</target> |
2340 |
30 May 06 |
nicklas |
637 |
|
2340 |
30 May 06 |
nicklas |
638 |
<target |
2959 |
27 Nov 06 |
nicklas |
639 |
name="coreplugins.jar" |
2959 |
27 Nov 06 |
nicklas |
640 |
depends="coreplugins.compile" |
5589 |
16 Mar 11 |
nicklas |
641 |
description="Create the plugin jar file: base-coreplugins-a.b.c.jar" |
7 |
08 Feb 05 |
nicklas |
642 |
> |
2959 |
27 Nov 06 |
nicklas |
643 |
<jar |
2959 |
27 Nov 06 |
nicklas |
644 |
basedir="${coreplugins.build}" |
5589 |
16 Mar 11 |
nicklas |
645 |
jarfile="${jar}/base-coreplugins-${base.version}.jar" |
1388 |
28 Sep 05 |
nicklas |
646 |
/> |
7 |
08 Feb 05 |
nicklas |
647 |
</target> |
2959 |
27 Nov 06 |
nicklas |
648 |
|
2959 |
27 Nov 06 |
nicklas |
<!-- test targets --> |
7 |
08 Feb 05 |
nicklas |
650 |
<target |
2959 |
27 Nov 06 |
nicklas |
651 |
name="test.init" |
6465 |
04 Jun 14 |
nicklas |
652 |
depends="core.init,coreplugins.init,jobagent.init" |
2634 |
12 Sep 06 |
nicklas |
653 |
> |
2959 |
27 Nov 06 |
nicklas |
654 |
<property name="test.src" location="${src}/test" |
2959 |
27 Nov 06 |
nicklas |
655 |
description="Location of source files" /> |
2959 |
27 Nov 06 |
nicklas |
656 |
<property name="test.build" location="${build}/test" |
2959 |
27 Nov 06 |
nicklas |
657 |
description="Location of compiled files" /> |
2959 |
27 Nov 06 |
nicklas |
658 |
<path id="test.classpath" description="Class path for compiling"> |
3952 |
13 Nov 07 |
nicklas |
659 |
<path refid="core.classpath"/> |
2959 |
27 Nov 06 |
nicklas |
660 |
<pathelement location="${core.build}" /> |
2959 |
27 Nov 06 |
nicklas |
661 |
<pathelement location="${coreplugins.build}" /> |
2959 |
27 Nov 06 |
nicklas |
662 |
<pathelement location="${jobagent.build}" /> |
2959 |
27 Nov 06 |
nicklas |
663 |
</path> |
2634 |
12 Sep 06 |
nicklas |
664 |
</target> |
2634 |
12 Sep 06 |
nicklas |
665 |
|
2634 |
12 Sep 06 |
nicklas |
666 |
<target |
2959 |
27 Nov 06 |
nicklas |
667 |
name="test.compile" |
6465 |
04 Jun 14 |
nicklas |
668 |
depends="test.init,core.compile,coreplugins.compile,jobagent.compile" |
2959 |
27 Nov 06 |
nicklas |
669 |
description="Compile the test programs" |
2634 |
12 Sep 06 |
nicklas |
670 |
> |
2959 |
27 Nov 06 |
nicklas |
671 |
<mkdir dir="${test.build}" /> |
2634 |
12 Sep 06 |
nicklas |
672 |
<javac |
2959 |
27 Nov 06 |
nicklas |
673 |
srcdir="${test.src}" |
2959 |
27 Nov 06 |
nicklas |
674 |
destdir="${test.build}" |
2959 |
27 Nov 06 |
nicklas |
675 |
classpathref="test.classpath" |
4085 |
17 Jan 08 |
nicklas |
676 |
encoding="${javac.encoding}" |
2634 |
12 Sep 06 |
nicklas |
677 |
debug="true" |
2634 |
12 Sep 06 |
nicklas |
678 |
deprecation="true" |
7711 |
21 May 19 |
nicklas |
679 |
release="${javac.release}" |
5363 |
18 Jun 10 |
nicklas |
680 |
includeantruntime="false" |
2634 |
12 Sep 06 |
nicklas |
681 |
> |
2959 |
27 Nov 06 |
nicklas |
682 |
<compilerarg value="${javac.arg}" /> |
2634 |
12 Sep 06 |
nicklas |
683 |
</javac> |
2634 |
12 Sep 06 |
nicklas |
684 |
</target> |
2634 |
12 Sep 06 |
nicklas |
685 |
|
2634 |
12 Sep 06 |
nicklas |
686 |
<target |
2959 |
27 Nov 06 |
nicklas |
687 |
name="test.jar" |
2959 |
27 Nov 06 |
nicklas |
688 |
depends="test.compile" |
2959 |
27 Nov 06 |
nicklas |
689 |
description="Create a JAR file used by the test programs; Delete corresponding .class files" |
2959 |
27 Nov 06 |
nicklas |
690 |
> |
7195 |
30 Aug 16 |
nicklas |
691 |
<copy todir="${test.build}" description="Test data files needed inside JARs"> |
7195 |
30 Aug 16 |
nicklas |
692 |
<fileset dir="${test.src}"> |
7195 |
30 Aug 16 |
nicklas |
693 |
<include name="net/sf/basedb/test/**" /> |
7195 |
30 Aug 16 |
nicklas |
694 |
<exclude name="**/*.java" /> |
7195 |
30 Aug 16 |
nicklas |
695 |
</fileset> |
7195 |
30 Aug 16 |
nicklas |
696 |
</copy> |
7195 |
30 Aug 16 |
nicklas |
697 |
|
2959 |
27 Nov 06 |
nicklas |
698 |
<jar |
2959 |
27 Nov 06 |
nicklas |
699 |
jarfile="${test.build}/JarPlugin.jar" |
2959 |
27 Nov 06 |
nicklas |
700 |
basedir="${test.build}" |
4232 |
17 Apr 08 |
nicklas |
701 |
includes="JarPlugin*,NullPlugin*,Base1*" |
5612 |
18 Apr 11 |
nicklas |
702 |
excludes="JarPlugin.jar" |
2959 |
27 Nov 06 |
nicklas |
703 |
manifest="${test.src}/data/JarPluginManifest.txt" |
3832 |
15 Oct 07 |
nicklas |
704 |
> |
3832 |
15 Oct 07 |
nicklas |
705 |
</jar> |
7190 |
29 Aug 16 |
nicklas |
706 |
|
7190 |
29 Aug 16 |
nicklas |
707 |
<jar jarfile="${test.build}/ExtensionOne.jar" |
7190 |
29 Aug 16 |
nicklas |
708 |
basedir="${test.build}" |
7195 |
30 Aug 16 |
nicklas |
709 |
includes="net/sf/basedb/test/extension/jar1/** net/sf/basedb/test/extension/data/**" |
7190 |
29 Aug 16 |
nicklas |
710 |
> |
7190 |
29 Aug 16 |
nicklas |
711 |
<metainf file="${test.src}/net/sf/basedb/test/extension/jar1/extensions.xml" /> |
7190 |
29 Aug 16 |
nicklas |
712 |
</jar> |
7190 |
29 Aug 16 |
nicklas |
713 |
|
7190 |
29 Aug 16 |
nicklas |
714 |
<jar jarfile="${test.build}/ExtensionTwo.jar" |
7190 |
29 Aug 16 |
nicklas |
715 |
basedir="${test.build}" |
7195 |
30 Aug 16 |
nicklas |
716 |
includes="net/sf/basedb/test/extension/jar2/** net/sf/basedb/test/extension/data/**" |
7190 |
29 Aug 16 |
nicklas |
717 |
> |
7190 |
29 Aug 16 |
nicklas |
718 |
<metainf file="${test.src}/net/sf/basedb/test/extension/jar2/extensions.xml" /> |
7190 |
29 Aug 16 |
nicklas |
719 |
</jar> |
7190 |
29 Aug 16 |
nicklas |
720 |
|
7190 |
29 Aug 16 |
nicklas |
721 |
<jar jarfile="${test.build}/ExtensionThree.jar" |
7190 |
29 Aug 16 |
nicklas |
722 |
basedir="${test.build}" |
7195 |
30 Aug 16 |
nicklas |
723 |
includes="net/sf/basedb/test/extension/jar3/** net/sf/basedb/test/extension/data/**" |
7190 |
29 Aug 16 |
nicklas |
724 |
> |
7190 |
29 Aug 16 |
nicklas |
725 |
<metainf file="${test.src}/net/sf/basedb/test/extension/jar3/extensions.xml" /> |
7190 |
29 Aug 16 |
nicklas |
726 |
<manifest> |
7192 |
29 Aug 16 |
nicklas |
727 |
<attribute name="Class-Path" value="ExtensionOne.jar ExtensionTwo.jar" /> |
7190 |
29 Aug 16 |
nicklas |
728 |
</manifest> |
7190 |
29 Aug 16 |
nicklas |
729 |
</jar> |
7190 |
29 Aug 16 |
nicklas |
730 |
|
2959 |
27 Nov 06 |
nicklas |
731 |
<delete> |
2959 |
27 Nov 06 |
nicklas |
732 |
<fileset dir="${test.build}" includes="JarPlugin*.class" /> |
7195 |
30 Aug 16 |
nicklas |
733 |
<fileset dir="${test.build}" includes="net/sf/basedb/test/extension/data/**" /> |
7190 |
29 Aug 16 |
nicklas |
734 |
<fileset dir="${test.build}" includes="net/sf/basedb/test/extension/jar1/**" /> |
7190 |
29 Aug 16 |
nicklas |
735 |
<fileset dir="${test.build}" includes="net/sf/basedb/test/extension/jar2/**" /> |
7190 |
29 Aug 16 |
nicklas |
736 |
<fileset dir="${test.build}" includes="net/sf/basedb/test/extension/jar3/**" /> |
2959 |
27 Nov 06 |
nicklas |
737 |
</delete> |
2959 |
27 Nov 06 |
nicklas |
738 |
</target> |
2959 |
27 Nov 06 |
nicklas |
739 |
|
2959 |
27 Nov 06 |
nicklas |
<!-- web targets --> |
2959 |
27 Nov 06 |
nicklas |
741 |
<target |
2959 |
27 Nov 06 |
nicklas |
742 |
name="web.init" |
3098 |
05 Feb 07 |
nicklas |
743 |
depends="core.init,coreplugins.init" |
2959 |
27 Nov 06 |
nicklas |
744 |
> |
2959 |
27 Nov 06 |
nicklas |
745 |
<property name="web.src" location="${src}/clients/web" |
2959 |
27 Nov 06 |
nicklas |
746 |
description="Location of source files" /> |
4223 |
15 Apr 08 |
nicklas |
747 |
<property name="xjspcompiler.src" location="${src}/misc/compiler" /> |
2959 |
27 Nov 06 |
nicklas |
748 |
<property name="web.build" location="${build}/clients/web" |
2959 |
27 Nov 06 |
nicklas |
749 |
description="Location of compiled files" /> |
2959 |
27 Nov 06 |
nicklas |
750 |
<property name="web.inf" location="www/WEB-INF" |
2959 |
27 Nov 06 |
nicklas |
751 |
description="Location of the WEB-INF folder" /> |
2959 |
27 Nov 06 |
nicklas |
752 |
<path id="web.classpath" description="Class path for compiling web client"> |
2959 |
27 Nov 06 |
nicklas |
753 |
<path refid="core.classpath"/> |
2959 |
27 Nov 06 |
nicklas |
754 |
<pathelement location="${core.build}"/> |
3098 |
05 Feb 07 |
nicklas |
755 |
<pathelement location="${coreplugins.build}" /> |
3952 |
13 Nov 07 |
nicklas |
756 |
<path refid="lib.servlet.classpath" /> |
2959 |
27 Nov 06 |
nicklas |
757 |
</path> |
7 |
08 Feb 05 |
nicklas |
758 |
</target> |
2959 |
27 Nov 06 |
nicklas |
759 |
|
7 |
08 Feb 05 |
nicklas |
760 |
<target |
7 |
08 Feb 05 |
nicklas |
761 |
name="web.compile" |
4095 |
21 Jan 08 |
enell |
762 |
depends="web.init,core.compile,coreplugins.compile" |
2959 |
27 Nov 06 |
nicklas |
763 |
description="Compile the web client application" |
7 |
08 Feb 05 |
nicklas |
764 |
> |
2959 |
27 Nov 06 |
nicklas |
765 |
<mkdir dir="${web.build}" /> |
7 |
08 Feb 05 |
nicklas |
766 |
<javac |
7 |
08 Feb 05 |
nicklas |
767 |
srcdir="${web.src}" |
7 |
08 Feb 05 |
nicklas |
768 |
destdir="${web.build}" |
2959 |
27 Nov 06 |
nicklas |
769 |
classpathref="web.classpath" |
4085 |
17 Jan 08 |
nicklas |
770 |
encoding="${javac.encoding}" |
7 |
08 Feb 05 |
nicklas |
771 |
debug="true" |
849 |
30 Jun 05 |
nicklas |
772 |
deprecation="true" |
7711 |
21 May 19 |
nicklas |
773 |
release="${javac.release}" |
5363 |
18 Jun 10 |
nicklas |
774 |
includeantruntime="false" |
32 |
23 Feb 05 |
nicklas |
775 |
> |
2959 |
27 Nov 06 |
nicklas |
776 |
<compilerarg value="${javac.arg}" /> |
386 |
11 Apr 05 |
nicklas |
777 |
</javac> |
4187 |
20 Mar 08 |
nicklas |
778 |
<copy todir="${web.build}" |
4187 |
20 Mar 08 |
nicklas |
779 |
description="Resource files needed by the web client; excludes documentation and source files"> |
4187 |
20 Mar 08 |
nicklas |
780 |
<fileset dir="${web.src}"> |
4187 |
20 Mar 08 |
nicklas |
781 |
<include name="**/*" /> |
4187 |
20 Mar 08 |
nicklas |
782 |
<exclude name="**/*.java" /> |
4187 |
20 Mar 08 |
nicklas |
783 |
<exclude name="**/doc-files/" /> |
4187 |
20 Mar 08 |
nicklas |
784 |
<exclude name="**/package.html" /> |
4187 |
20 Mar 08 |
nicklas |
785 |
</fileset> |
4187 |
20 Mar 08 |
nicklas |
786 |
</copy> |
5609 |
15 Apr 11 |
nicklas |
787 |
<replaceregexp |
5609 |
15 Apr 11 |
nicklas |
788 |
file="${web.build}/web-extensions.xml" |
5609 |
15 Apr 11 |
nicklas |
789 |
match="<version>.*</version>" |
5609 |
15 Apr 11 |
nicklas |
790 |
replace="<version>${base.version}${base.versionsuffix}</version>" |
5609 |
15 Apr 11 |
nicklas |
791 |
encoding="UTF-8" |
5609 |
15 Apr 11 |
nicklas |
792 |
/> |
7 |
08 Feb 05 |
nicklas |
793 |
</target> |
2959 |
27 Nov 06 |
nicklas |
794 |
|
2959 |
27 Nov 06 |
nicklas |
795 |
<target |
2959 |
27 Nov 06 |
nicklas |
796 |
name="web.jar" |
2959 |
27 Nov 06 |
nicklas |
797 |
depends="web.compile" |
5589 |
16 Mar 11 |
nicklas |
798 |
description="Create the web client jar file: base-webclient-a.b.c.jar" |
2959 |
27 Nov 06 |
nicklas |
799 |
> |
2959 |
27 Nov 06 |
nicklas |
800 |
<jar |
2959 |
27 Nov 06 |
nicklas |
801 |
basedir="${web.build}" |
5589 |
16 Mar 11 |
nicklas |
802 |
jarfile="${jar}/base-webclient-${base.version}.jar" |
2959 |
27 Nov 06 |
nicklas |
803 |
/> |
2959 |
27 Nov 06 |
nicklas |
804 |
</target> |
2959 |
27 Nov 06 |
nicklas |
805 |
|
7600 |
22 Feb 19 |
nicklas |
<!-- Targets for JSP precompilation. Useful for checking that eveything works before a release is made. --> |
7600 |
22 Feb 19 |
nicklas |
<!-- Use as: 'ant web jsp' to also make sure that dependencies have been compiled --> |
1990 |
15 Feb 06 |
nicklas |
808 |
<target |
7600 |
22 Feb 19 |
nicklas |
809 |
name="jsp" |
7600 |
22 Feb 19 |
nicklas |
810 |
depends="" |
1990 |
15 Feb 06 |
nicklas |
811 |
> |
7600 |
22 Feb 19 |
nicklas |
<!-- check that tomcat.home exists and that required the required 'catalina-tasks.xml' is present --> |
7600 |
22 Feb 19 |
nicklas |
813 |
<fail unless="tomcat.home" |
7600 |
22 Feb 19 |
nicklas |
814 |
message="{tomcat.home} has not been set. Create 'build.properties' in current directory and add 'tomcat.home' with path to your Tomcat installation directory. " /> |
1990 |
15 Feb 06 |
nicklas |
815 |
|
7600 |
22 Feb 19 |
nicklas |
816 |
<available file="${tomcat.home}/bin/catalina-tasks.xml" property="catalina-tasks" /> |
7600 |
22 Feb 19 |
nicklas |
817 |
|
7600 |
22 Feb 19 |
nicklas |
818 |
<fail unless="catalina-tasks" |
7600 |
22 Feb 19 |
nicklas |
819 |
message="File '${tomcat.home}/bin/catalina-tasks.xml' does not exists. You may have to install this from the Tomcat ZIP distribution." /> |
7600 |
22 Feb 19 |
nicklas |
820 |
|
7600 |
22 Feb 19 |
nicklas |
<!-- we are good to go --> |
7600 |
22 Feb 19 |
nicklas |
822 |
<mkdir dir="${build}/jsp" /> |
7600 |
22 Feb 19 |
nicklas |
823 |
<ant antfile="jsp-precompile.xml" inheritall="false" target="all" > |
7600 |
22 Feb 19 |
nicklas |
824 |
<property name="tomcat.home" value="${tomcat.home}" /> |
7600 |
22 Feb 19 |
nicklas |
825 |
<property name="jsp.src" value="www" /> |
7600 |
22 Feb 19 |
nicklas |
826 |
<property name="jsp.build" value="${build}/jsp" /> |
7600 |
22 Feb 19 |
nicklas |
827 |
<property name="javac.bootclasspath" value="${javac.bootclasspath}" /> |
7600 |
22 Feb 19 |
nicklas |
828 |
<property name="javac.encoding" value="${javac.encoding}" /> |
7711 |
21 May 19 |
nicklas |
829 |
<property name="javac.release" value="${javac.release}" /> |
7600 |
22 Feb 19 |
nicklas |
830 |
<property name="jsp.xlint" value="${jsp.xlint}" /> |
7600 |
22 Feb 19 |
nicklas |
831 |
</ant> |
1990 |
15 Feb 06 |
nicklas |
832 |
</target> |
1990 |
15 Feb 06 |
nicklas |
833 |
|
7600 |
22 Feb 19 |
nicklas |
<!-- Clean up after 'jsp' target --> |
7600 |
22 Feb 19 |
nicklas |
835 |
<target |
7600 |
22 Feb 19 |
nicklas |
836 |
name="jsp.clean" |
7600 |
22 Feb 19 |
nicklas |
837 |
> |
7600 |
22 Feb 19 |
nicklas |
838 |
<delete dir="${build}/jsp" /> |
7600 |
22 Feb 19 |
nicklas |
839 |
</target> |
7600 |
22 Feb 19 |
nicklas |
840 |
|
4222 |
15 Apr 08 |
nicklas |
<!-- XJsp compiler targets --> |
4222 |
15 Apr 08 |
nicklas |
842 |
<target |
4222 |
15 Apr 08 |
nicklas |
843 |
name="xjspcompiler" |
4222 |
15 Apr 08 |
nicklas |
844 |
depends="web.compile,core.compile" |
4222 |
15 Apr 08 |
nicklas |
845 |
description="Compile the XJsp compiler and put JAR in ./bin/jar" |
4222 |
15 Apr 08 |
nicklas |
846 |
> |
4222 |
15 Apr 08 |
nicklas |
847 |
<mkdir dir="${build}/misc/compiler" /> |
4222 |
15 Apr 08 |
nicklas |
848 |
<javac |
4223 |
15 Apr 08 |
nicklas |
849 |
srcdir="${xjspcompiler.src}" |
4222 |
15 Apr 08 |
nicklas |
850 |
destdir="${build}/misc/compiler" |
4222 |
15 Apr 08 |
nicklas |
851 |
classpathref="web.classpath" |
4222 |
15 Apr 08 |
nicklas |
852 |
encoding="${javac.encoding}" |
4222 |
15 Apr 08 |
nicklas |
853 |
debug="true" |
4222 |
15 Apr 08 |
nicklas |
854 |
deprecation="true" |
7711 |
21 May 19 |
nicklas |
855 |
release="${javac.release}" |
5363 |
18 Jun 10 |
nicklas |
856 |
includeantruntime="false" |
4222 |
15 Apr 08 |
nicklas |
857 |
> |
4222 |
15 Apr 08 |
nicklas |
858 |
<compilerarg value="${javac.arg}" /> |
4222 |
15 Apr 08 |
nicklas |
859 |
</javac> |
4222 |
15 Apr 08 |
nicklas |
860 |
<jar |
4222 |
15 Apr 08 |
nicklas |
861 |
basedir="${build}/misc/compiler" |
5589 |
16 Mar 11 |
nicklas |
862 |
jarfile="${bin}/jar/base-xjsp-compiler-${base.version}.jar" |
4222 |
15 Apr 08 |
nicklas |
863 |
/> |
4222 |
15 Apr 08 |
nicklas |
864 |
</target> |
6465 |
04 Jun 14 |
nicklas |
865 |
|
2959 |
27 Nov 06 |
nicklas |
<!-- installprg targets --> |
7 |
08 Feb 05 |
nicklas |
867 |
<target |
2959 |
27 Nov 06 |
nicklas |
868 |
name="installprg.init" |
2959 |
27 Nov 06 |
nicklas |
869 |
depends="core.init,coreplugins.init,web.init" |
2959 |
27 Nov 06 |
nicklas |
870 |
> |
2959 |
27 Nov 06 |
nicklas |
871 |
<property name="installprg.src" location="${src}/install" |
2959 |
27 Nov 06 |
nicklas |
872 |
description="Location of source files" /> |
2959 |
27 Nov 06 |
nicklas |
873 |
<property name="installprg.build" location="${build}/install" |
2959 |
27 Nov 06 |
nicklas |
874 |
description="Location of compiled files" /> |
2959 |
27 Nov 06 |
nicklas |
875 |
<path id="installprg.classpath" description="Class path for compiling installation programs"> |
2959 |
27 Nov 06 |
nicklas |
876 |
<path refid="core.classpath"/> |
2959 |
27 Nov 06 |
nicklas |
877 |
<pathelement location="${core.build}"/> |
2959 |
27 Nov 06 |
nicklas |
878 |
<pathelement location="${coreplugins.build}"/> |
2959 |
27 Nov 06 |
nicklas |
879 |
<pathelement location="${web.build}"/> |
2959 |
27 Nov 06 |
nicklas |
880 |
</path> |
7 |
08 Feb 05 |
nicklas |
881 |
</target> |
7 |
08 Feb 05 |
nicklas |
882 |
<target |
2959 |
27 Nov 06 |
nicklas |
883 |
name="installprg.compile" |
2959 |
27 Nov 06 |
nicklas |
884 |
depends="installprg.init,core.compile" |
2959 |
27 Nov 06 |
nicklas |
885 |
description="Compile the installation programs" |
7 |
08 Feb 05 |
nicklas |
886 |
> |
2959 |
27 Nov 06 |
nicklas |
887 |
<mkdir dir="${installprg.build}" /> |
2959 |
27 Nov 06 |
nicklas |
888 |
<javac |
2959 |
27 Nov 06 |
nicklas |
889 |
srcdir="${installprg.src}" |
2959 |
27 Nov 06 |
nicklas |
890 |
destdir="${installprg.build}" |
2959 |
27 Nov 06 |
nicklas |
891 |
classpathref="installprg.classpath" |
4085 |
17 Jan 08 |
nicklas |
892 |
encoding="${javac.encoding}" |
2959 |
27 Nov 06 |
nicklas |
893 |
debug="true" |
2959 |
27 Nov 06 |
nicklas |
894 |
deprecation="true" |
7711 |
21 May 19 |
nicklas |
895 |
release="${javac.release}" |
5363 |
18 Jun 10 |
nicklas |
896 |
includeantruntime="false" |
2025 |
20 Feb 06 |
nicklas |
897 |
> |
2959 |
27 Nov 06 |
nicklas |
898 |
<compilerarg value="${javac.arg}" /> |
2959 |
27 Nov 06 |
nicklas |
899 |
</javac> |
2025 |
20 Feb 06 |
nicklas |
900 |
</target> |
2025 |
20 Feb 06 |
nicklas |
901 |
|
7 |
08 Feb 05 |
nicklas |
902 |
<target |
2959 |
27 Nov 06 |
nicklas |
903 |
name="installprg.jar" |
2959 |
27 Nov 06 |
nicklas |
904 |
depends="installprg.compile" |
5589 |
16 Mar 11 |
nicklas |
905 |
description="Create the installation jar file: base-install-a.b.c.jar" |
7 |
08 Feb 05 |
nicklas |
906 |
> |
7 |
08 Feb 05 |
nicklas |
907 |
<jar |
2959 |
27 Nov 06 |
nicklas |
908 |
basedir="${installprg.build}" |
5589 |
16 Mar 11 |
nicklas |
909 |
jarfile="${bin}/jar/base-install-${base.version}.jar" |
7 |
08 Feb 05 |
nicklas |
910 |
/> |
7 |
08 Feb 05 |
nicklas |
911 |
</target> |
2340 |
30 May 06 |
nicklas |
912 |
|
2959 |
27 Nov 06 |
nicklas |
<!-- jobagent targets --> |
2340 |
30 May 06 |
nicklas |
914 |
<target |
2959 |
27 Nov 06 |
nicklas |
915 |
name="jobagent.init" |
2959 |
27 Nov 06 |
nicklas |
916 |
depends="core.init,coreplugins.init,web.init" |
7 |
08 Feb 05 |
nicklas |
917 |
> |
2959 |
27 Nov 06 |
nicklas |
918 |
<property name="jobagent.src" location="${src}/clients/jobagent" |
2959 |
27 Nov 06 |
nicklas |
919 |
description="Location of source files" /> |
2959 |
27 Nov 06 |
nicklas |
920 |
<property name="jobagent.build" location="${build}/clients/jobagent" |
2959 |
27 Nov 06 |
nicklas |
921 |
description="Location of compiled files" /> |
2959 |
27 Nov 06 |
nicklas |
922 |
<path id="jobagent.classpath" description="Class path for compiling jobagent"> |
2959 |
27 Nov 06 |
nicklas |
923 |
<path refid="core.classpath"/> |
2959 |
27 Nov 06 |
nicklas |
924 |
<pathelement location="${core.build}"/> |
2959 |
27 Nov 06 |
nicklas |
925 |
</path> |
7 |
08 Feb 05 |
nicklas |
926 |
</target> |
7 |
08 Feb 05 |
nicklas |
927 |
<target |
2959 |
27 Nov 06 |
nicklas |
928 |
name="jobagent.compile" |
2959 |
27 Nov 06 |
nicklas |
929 |
depends="jobagent.init,core.compile" |
2959 |
27 Nov 06 |
nicklas |
930 |
description="Compile the job agent application" |
7 |
08 Feb 05 |
nicklas |
931 |
> |
2959 |
27 Nov 06 |
nicklas |
932 |
<mkdir dir="${jobagent.build}" /> |
2959 |
27 Nov 06 |
nicklas |
933 |
<javac |
2959 |
27 Nov 06 |
nicklas |
934 |
srcdir="${jobagent.src}" |
2959 |
27 Nov 06 |
nicklas |
935 |
destdir="${jobagent.build}" |
2959 |
27 Nov 06 |
nicklas |
936 |
classpathref="jobagent.classpath" |
4085 |
17 Jan 08 |
nicklas |
937 |
encoding="${javac.encoding}" |
2959 |
27 Nov 06 |
nicklas |
938 |
debug="true" |
2959 |
27 Nov 06 |
nicklas |
939 |
deprecation="true" |
7711 |
21 May 19 |
nicklas |
940 |
release="${javac.release}" |
5363 |
18 Jun 10 |
nicklas |
941 |
includeantruntime="false" |
7 |
08 Feb 05 |
nicklas |
942 |
> |
2959 |
27 Nov 06 |
nicklas |
943 |
<compilerarg value="${javac.arg}" /> |
2959 |
27 Nov 06 |
nicklas |
944 |
</javac> |
7 |
08 Feb 05 |
nicklas |
945 |
</target> |
24 |
18 Feb 05 |
samuel |
946 |
|
7 |
08 Feb 05 |
nicklas |
947 |
<target |
2959 |
27 Nov 06 |
nicklas |
948 |
name="jobagent.jar" |
2959 |
27 Nov 06 |
nicklas |
949 |
depends="jobagent.compile" |
5589 |
16 Mar 11 |
nicklas |
950 |
description="Create the job agent jar file: base-jobagent-a.b.c.jar" |
7 |
08 Feb 05 |
nicklas |
951 |
> |
2959 |
27 Nov 06 |
nicklas |
952 |
<jar |
2959 |
27 Nov 06 |
nicklas |
953 |
basedir="${jobagent.build}" |
5589 |
16 Mar 11 |
nicklas |
954 |
jarfile="${bin}/jar/base-jobagent-${base.version}.jar" |
7 |
08 Feb 05 |
nicklas |
955 |
/> |
7 |
08 Feb 05 |
nicklas |
956 |
</target> |
7 |
08 Feb 05 |
nicklas |
957 |
|
2959 |
27 Nov 06 |
nicklas |
<!-- documentation targets --> |
7 |
08 Feb 05 |
nicklas |
959 |
<target |
2959 |
27 Nov 06 |
nicklas |
960 |
name="doc.init" |
3607 |
27 Jul 07 |
nicklas |
961 |
depends="core.init" |
2959 |
27 Nov 06 |
nicklas |
962 |
> |
3409 |
30 May 07 |
nicklas |
963 |
<property name="javadoc.src" location="doc/src/javadoc" |
3409 |
30 May 07 |
nicklas |
964 |
description="Location of javadoc source files" /> |
3153 |
05 Mar 07 |
nicklas |
965 |
<property name="docbook.src" location="doc/src/docbook" |
3153 |
05 Mar 07 |
nicklas |
966 |
description="Location of docbook source XML files" /> |
2959 |
27 Nov 06 |
nicklas |
967 |
<path id="javadoc.classpath" description="Class path for generating javadoc"> |
2959 |
27 Nov 06 |
nicklas |
968 |
<path refid="core.classpath" /> |
3952 |
13 Nov 07 |
nicklas |
969 |
<path refid="lib.servlet.classpath" /> |
2959 |
27 Nov 06 |
nicklas |
970 |
</path> |
3424 |
31 May 07 |
nicklas |
971 |
<property name="docbook.html.out" location="${doc}/html" /> |
2959 |
27 Nov 06 |
nicklas |
972 |
</target> |
2959 |
27 Nov 06 |
nicklas |
973 |
|
7 |
08 Feb 05 |
nicklas |
974 |
<target |
2959 |
27 Nov 06 |
nicklas |
975 |
name="doc.javadoc" |
6465 |
04 Jun 14 |
nicklas |
976 |
depends="doc.init,core.init,coreplugins.init,web.init,jobagent.init" |
2959 |
27 Nov 06 |
nicklas |
977 |
description="Generate JavaDoc of entire API" |
2959 |
27 Nov 06 |
nicklas |
978 |
> |
7 |
08 Feb 05 |
nicklas |
<!-- Create the time stamp --> |
7 |
08 Feb 05 |
nicklas |
980 |
<tstamp> |
7 |
08 Feb 05 |
nicklas |
981 |
<format property="TODAY" pattern="yyyy-MM-dd"/> |
7 |
08 Feb 05 |
nicklas |
982 |
</tstamp> |
2965 |
28 Nov 06 |
nicklas |
983 |
<delete dir="${doc}/api" /> |
6132 |
14 Sep 12 |
nicklas |
984 |
<sleep milliseconds="1000"/> |
6130 |
14 Sep 12 |
nicklas |
985 |
<mkdir dir="${doc}/api" /> |
7 |
08 Feb 05 |
nicklas |
986 |
|
7 |
08 Feb 05 |
nicklas |
987 |
<javadoc |
7 |
08 Feb 05 |
nicklas |
988 |
packagenames="net.sf.basedb.*" |
6465 |
04 Jun 14 |
nicklas |
989 |
sourcepath="${core.src}:${coreplugins.src}:${web.src}:${xjspcompiler.src}:${jobagent.src}" |
2959 |
27 Nov 06 |
nicklas |
990 |
destdir="${doc}/api" |
7 |
08 Feb 05 |
nicklas |
991 |
author="true" |
7 |
08 Feb 05 |
nicklas |
992 |
version="true" |
2965 |
28 Nov 06 |
nicklas |
993 |
use="false" |
7 |
08 Feb 05 |
nicklas |
994 |
private="true" |
5607 |
15 Apr 11 |
nicklas |
995 |
windowtitle="BASE ${base.version}${base.versionsuffix} API documentation" |
2959 |
27 Nov 06 |
nicklas |
996 |
classpathref="javadoc.classpath" |
2965 |
28 Nov 06 |
nicklas |
997 |
linksource="false" |
7 |
08 Feb 05 |
nicklas |
998 |
breakiterator="yes" |
4085 |
17 Jan 08 |
nicklas |
999 |
encoding="${javac.encoding}" |
3409 |
30 May 07 |
nicklas |
1000 |
overview="${javadoc.src}/overview.html" |
4740 |
05 Feb 09 |
nicklas |
1001 |
maxmemory="256M" |
6881 |
21 Apr 15 |
nicklas |
1002 |
additionalparam="${javadoc.arg}" |
7 |
08 Feb 05 |
nicklas |
1003 |
> |
4208 |
07 Apr 08 |
nicklas |
1004 |
<group title="Public API"> |
4208 |
07 Apr 08 |
nicklas |
1005 |
<package name="net.sf.basedb.info" /> |
4208 |
07 Apr 08 |
nicklas |
1006 |
<package name="net.sf.basedb.core" /> |
4208 |
07 Apr 08 |
nicklas |
1007 |
<package name="net.sf.basedb.core.plugin" /> |
4208 |
07 Apr 08 |
nicklas |
1008 |
<package name="net.sf.basedb.core.query" /> |
4208 |
07 Apr 08 |
nicklas |
1009 |
<package name="net.sf.basedb.core.signal" /> |
5818 |
21 Oct 11 |
nicklas |
1010 |
<package name="net.sf.basedb.core.authentication" /> |
5818 |
21 Oct 11 |
nicklas |
1011 |
<package name="net.sf.basedb.core.snapshot" /> |
5818 |
21 Oct 11 |
nicklas |
1012 |
<package name="net.sf.basedb.plugins*" /> |
4208 |
07 Apr 08 |
nicklas |
1013 |
<package name="net.sf.basedb.util*" /> |
4208 |
07 Apr 08 |
nicklas |
1014 |
<package name="net.sf.basedb.clients.web.taglib*" /> |
5818 |
21 Oct 11 |
nicklas |
1015 |
<package name="net.sf.basedb.clients.web.extensions*" /> |
4208 |
07 Apr 08 |
nicklas |
1016 |
</group> |
4208 |
07 Apr 08 |
nicklas |
1017 |
<group title="Mixed Public and Internal API"> |
4208 |
07 Apr 08 |
nicklas |
1018 |
<package name="net.sf.basedb.core.data" /> |
4208 |
07 Apr 08 |
nicklas |
1019 |
<package name="net.sf.basedb.clients.web" /> |
4208 |
07 Apr 08 |
nicklas |
1020 |
<package name="net.sf.basedb.clients.web.util" /> |
4208 |
07 Apr 08 |
nicklas |
1021 |
</group> |
4208 |
07 Apr 08 |
nicklas |
1022 |
<group title="Extension API"> |
4208 |
07 Apr 08 |
nicklas |
1023 |
<package name="net.sf.basedb.core.dbengine" /> |
5818 |
21 Oct 11 |
nicklas |
1024 |
<package name="net.sf.basedb.core.log*" /> |
5818 |
21 Oct 11 |
nicklas |
1025 |
<package name="net.sf.basedb.util.overview.*" /> |
5818 |
21 Oct 11 |
nicklas |
1026 |
<package name="net.sf.basedb.util.extensions.manager.*" /> |
4208 |
07 Apr 08 |
nicklas |
1027 |
<package name="net.sf.basedb.clients.jobagent" /> |
4208 |
07 Apr 08 |
nicklas |
1028 |
</group> |
4208 |
07 Apr 08 |
nicklas |
1029 |
<group title="Internal API"> |
4208 |
07 Apr 08 |
nicklas |
1030 |
<package name="net.sf.basedb.core.data.keyring" /> |
4208 |
07 Apr 08 |
nicklas |
1031 |
<package name="net.sf.basedb.clients.jobagent.*" /> |
4208 |
07 Apr 08 |
nicklas |
1032 |
<package name="net.sf.basedb.clients.web.*" /> |
4208 |
07 Apr 08 |
nicklas |
1033 |
<package name="net.sf.basedb.core.hibernate" /> |
4208 |
07 Apr 08 |
nicklas |
1034 |
</group> |
3409 |
30 May 07 |
nicklas |
1035 |
|
5607 |
15 Apr 11 |
nicklas |
1036 |
<header><![CDATA[${base.version}${base.versionsuffix}: ${TODAY}]]></header> |
7732 |
17 Jun 19 |
nicklas |
1037 |
<link href="https://docs.oracle.com/en/java/javase/11/docs/api/"/> |
7732 |
17 Jun 19 |
nicklas |
1038 |
<link href="https://docs.jboss.org/hibernate/orm/5.4/javadocs/" /> |
780 |
16 Jun 05 |
nicklas |
1039 |
<link href="http://www.jdom.org/docs/apidocs/" /> |
7732 |
17 Jun 19 |
nicklas |
1040 |
<link href="http://tomcat.apache.org/tomcat-9.0-doc/servletapi/" /> |
7732 |
17 Jun 19 |
nicklas |
1041 |
<link href="http://tomcat.apache.org/tomcat-9.0-doc/jspapi/" /> |
7732 |
17 Jun 19 |
nicklas |
1042 |
<link href="http://tomcat.apache.org/tomcat-9.0-doc/api/" /> |
1581 |
09 Nov 05 |
nicklas |
1043 |
<link href="http://www.singularsys.com/jep/doc/javadoc/" /> |
8001 |
11 Aug 21 |
nicklas |
1044 |
<link href="https://www.jfree.org/jfreechart/api/gjdoc/" /> |
6132 |
14 Sep 12 |
nicklas |
1045 |
<link href="http://logging.apache.org/log4j/1.2/apidocs/" /> |
3409 |
30 May 07 |
nicklas |
1046 |
<tag name="base.developer" description="Developer info" /> |
3409 |
30 May 07 |
nicklas |
1047 |
<tag name="base.internal" description="This class/package is not part of the Public API" scope="overview,packages,types" /> |
754 |
13 Jun 05 |
nicklas |
1048 |
<tag name="base.modified" description="Last modified" /> |
7 |
08 Feb 05 |
nicklas |
1049 |
<tag name="hibernate.class" description="Hibernate: class" scope="types" /> |
7 |
08 Feb 05 |
nicklas |
1050 |
<tag name="hibernate.subclass" description="Hibernate: subclass" scope="types" /> |
7 |
08 Feb 05 |
nicklas |
1051 |
<tag name="hibernate.discriminator" description="Hibernate: discriminator" scope="types" /> |
7 |
08 Feb 05 |
nicklas |
1052 |
<tag name="hibernate.id" description="Hibernate: id" scope="methods" /> |
7 |
08 Feb 05 |
nicklas |
1053 |
<tag name="hibernate.generator-param" description="Hibernate: generator-param" scope="methods" /> |
7 |
08 Feb 05 |
nicklas |
1054 |
<tag name="hibernate.version" description="Hibernate: version" scope="methods" /> |
7 |
08 Feb 05 |
nicklas |
1055 |
<tag name="hibernate.property" description="Hibernate: property" scope="methods" /> |
7 |
08 Feb 05 |
nicklas |
1056 |
<tag name="hibernate.column" description="Hibernate: column" scope="methods" /> |
7 |
08 Feb 05 |
nicklas |
1057 |
<tag name="hibernate.map" description="Hibernate: map" scope="methods" /> |
7 |
08 Feb 05 |
nicklas |
1058 |
<tag name="hibernate.set" description="Hibernate: set" scope="methods" /> |
7 |
08 Feb 05 |
nicklas |
1059 |
<tag name="hibernate.list" description="Hibernate: list" scope="methods" /> |
7 |
08 Feb 05 |
nicklas |
1060 |
<tag name="hibernate.one-to-one" description="Hibernate: one-to-one" scope="methods" /> |
7 |
08 Feb 05 |
nicklas |
1061 |
<tag name="hibernate.many-to-one" description="Hibernate: many-to-one" scope="methods" /> |
7 |
08 Feb 05 |
nicklas |
1062 |
<tag name="hibernate.index-many-to-many" description="Hibernate: index-many-to-many" scope="methods" /> |
7 |
08 Feb 05 |
nicklas |
1063 |
<tag name="hibernate.collection-key" description="Hibernate: collection-key" scope="methods" /> |
7 |
08 Feb 05 |
nicklas |
1064 |
<tag name="hibernate.collection-index" description="Hibernate: collection-index" scope="methods" /> |
7 |
08 Feb 05 |
nicklas |
1065 |
<tag name="hibernate.collection-composite-index" description="Hibernate: collection-composite-index" scope="methods" /> |
7 |
08 Feb 05 |
nicklas |
1066 |
<tag name="hibernate.collection-element" description="Hibernate: collection-element" scope="methods" /> |
7 |
08 Feb 05 |
nicklas |
1067 |
<tag name="hibernate.collection-composite-element" description="Hibernate: collection-composite-element" scope="methods" /> |
7 |
08 Feb 05 |
nicklas |
1068 |
<tag name="hibernate.collection-one-to-many" description="Hibernate: collection-one-to-many" scope="methods" /> |
7 |
08 Feb 05 |
nicklas |
1069 |
<tag name="hibernate.collection-many-to-many" description="Hibernate: collection-many-to-many" scope="methods" /> |
7732 |
17 Jun 19 |
nicklas |
1070 |
<tag name="hibernate.component" description="Hibernate: component" scope="methods" /> |
780 |
16 Jun 05 |
nicklas |
1071 |
<tag name="hibernate.bag" description="Hibernate: bag" scope="methods" /> |
780 |
16 Jun 05 |
nicklas |
1072 |
<tag name="hibernate.many-to-any" description="Hibernate: many-to-any" scope="methods" /> |
780 |
16 Jun 05 |
nicklas |
1073 |
<tag name="hibernate.many-to-any-column" description="Hibernate: many-to-any-column" scope="methods" /> |
7 |
08 Feb 05 |
nicklas |
1074 |
</javadoc> |
7 |
08 Feb 05 |
nicklas |
1075 |
</target> |
2959 |
27 Nov 06 |
nicklas |
1076 |
|
3153 |
05 Mar 07 |
nicklas |
1077 |
<target |
3153 |
05 Mar 07 |
nicklas |
1078 |
name="doc.docbook" |
6490 |
23 Jun 14 |
nicklas |
1079 |
depends="doc.init,doc.docbook.html" |
3153 |
05 Mar 07 |
nicklas |
1080 |
description="Generate docbook user and admin documentation." |
3153 |
05 Mar 07 |
nicklas |
1081 |
> |
3244 |
16 Apr 07 |
nicklas |
1082 |
</target> |
3244 |
16 Apr 07 |
nicklas |
1083 |
|
3244 |
16 Apr 07 |
nicklas |
1084 |
<target |
3244 |
16 Apr 07 |
nicklas |
1085 |
name="doc.docbook.html" |
3259 |
20 Apr 07 |
martin |
1086 |
depends="dev.init,doc.init,xsltprocessor" |
3244 |
16 Apr 07 |
nicklas |
1087 |
> |
3424 |
31 May 07 |
nicklas |
1088 |
<mkdir dir="${docbook.html.out}" /> |
3247 |
17 Apr 07 |
martin |
<!--Create subdirectories to store the chunked files in--> |
5738 |
15 Sep 11 |
nicklas |
1090 |
<mkdir dir="${docbook.html.out}/admin"/> |
5738 |
15 Sep 11 |
nicklas |
1091 |
<mkdir dir="${docbook.html.out}/developer"/> |
5782 |
04 Oct 11 |
nicklas |
1092 |
<mkdir dir="${docbook.html.out}/developer/plugins"/> |
5782 |
04 Oct 11 |
nicklas |
1093 |
<mkdir dir="${docbook.html.out}/developer/extensions"/> |
5782 |
04 Oct 11 |
nicklas |
1094 |
<mkdir dir="${docbook.html.out}/developer/api"/> |
5782 |
04 Oct 11 |
nicklas |
1095 |
<mkdir dir="${docbook.html.out}/developer/documentation"/> |
5738 |
15 Sep 11 |
nicklas |
1096 |
<mkdir dir="${docbook.html.out}/user"/> |
5782 |
04 Oct 11 |
nicklas |
1097 |
<mkdir dir="${docbook.html.out}/user/webclient"/> |
5782 |
04 Oct 11 |
nicklas |
1098 |
<mkdir dir="${docbook.html.out}/user/projects"/> |
5782 |
04 Oct 11 |
nicklas |
1099 |
<mkdir dir="${docbook.html.out}/user/files"/> |
5782 |
04 Oct 11 |
nicklas |
1100 |
<mkdir dir="${docbook.html.out}/user/annotations"/> |
5782 |
04 Oct 11 |
nicklas |
1101 |
<mkdir dir="${docbook.html.out}/user/biomaterials"/> |
5782 |
04 Oct 11 |
nicklas |
1102 |
<mkdir dir="${docbook.html.out}/user/experiments"/> |
5738 |
15 Sep 11 |
nicklas |
1103 |
<mkdir dir="${docbook.html.out}/faq" /> |
3488 |
13 Jun 07 |
nicklas |
1104 |
<mkdir dir="${docbook.html.out}/appendix" /> |
3377 |
24 May 07 |
nicklas |
1105 |
|
3284 |
02 May 07 |
martin |
1106 |
<mkdir dir="${build}/docbook/html" /> |
3156 |
05 Mar 07 |
nicklas |
1107 |
<delete description="Delete existing documents"> |
3156 |
05 Mar 07 |
nicklas |
1108 |
<fileset dir="${build}/docbook" defaultexcludes="no" /> |
3424 |
31 May 07 |
nicklas |
1109 |
<fileset dir="${docbook.html.out}" defaultexcludes="no" /> |
3156 |
05 Mar 07 |
nicklas |
1110 |
</delete> |
3259 |
20 Apr 07 |
martin |
1111 |
<delete file="data/helptexts.xml" /> |
3424 |
31 May 07 |
nicklas |
1112 |
<ant antfile="${lib}/docbook/ant-build-docbook.xml" inheritall="false" target="html.chunked"> |
3153 |
05 Mar 07 |
nicklas |
1113 |
<property name="ant.docbook.styler.dir" location="${lib}/docbook" /> |
7813 |
19 May 20 |
nicklas |
1114 |
<property name="svnkit.dir" location="${lib}/svnkit" /> |
3153 |
05 Mar 07 |
nicklas |
1115 |
<property name="docbook.xml.dir" location="${docbook.src}" /> |
3196 |
19 Mar 07 |
nicklas |
1116 |
<property name="docbook.resources.dir" location="${docbook.src}/figures" /> |
3424 |
31 May 07 |
nicklas |
1117 |
<property name="distribution.dir" location="${docbook.html.out}" /> |
3284 |
02 May 07 |
martin |
1118 |
<property name="build.dir" location="${build}/docbook/html" /> |
5607 |
15 Apr 11 |
nicklas |
1119 |
<property name="base.version" value="${base.version}${base.versionsuffix}"/> |
6404 |
29 Jan 14 |
nicklas |
1120 |
<property name="dateformat" value="yyyy-MM-dd" /> |
3153 |
05 Mar 07 |
nicklas |
1121 |
</ant> |
5675 |
28 Jun 11 |
nicklas |
1122 |
<copy todir="${docbook.html.out}"> |
5675 |
28 Jun 11 |
nicklas |
1123 |
<fileset dir="${docbook.src}" includes="css/*.*" /> |
5675 |
28 Jun 11 |
nicklas |
1124 |
<fileset dir="${docbook.src}" includes="script/*.*" /> |
5675 |
28 Jun 11 |
nicklas |
1125 |
<fileset dir="${docbook.src}" includes="examples/*.*" /> |
3838 |
16 Oct 07 |
nicklas |
1126 |
</copy> |
3259 |
20 Apr 07 |
martin |
1127 |
|
3259 |
20 Apr 07 |
martin |
1128 |
<property name="catalog.location" location="${lib}/docbook/preprocess/catalog.xml" /> |
3259 |
20 Apr 07 |
martin |
1129 |
<path id="ant-extensions"> |
3259 |
20 Apr 07 |
martin |
1130 |
<fileset dir="${lib}/docbook/ant-extensions" includes="**/*.jar" /> |
3259 |
20 Apr 07 |
martin |
1131 |
<pathelement path="${lib}/docbook/ant-extensions" /> |
3259 |
20 Apr 07 |
martin |
1132 |
</path> |
3259 |
20 Apr 07 |
martin |
1133 |
|
3259 |
20 Apr 07 |
martin |
1134 |
<xmlcatalog id="dtdcatalog"> |
3259 |
20 Apr 07 |
martin |
1135 |
<catalogpath> |
3259 |
20 Apr 07 |
martin |
1136 |
<fileset file="${catalog.location}"/> |
3259 |
20 Apr 07 |
martin |
1137 |
</catalogpath> |
3259 |
20 Apr 07 |
martin |
1138 |
</xmlcatalog> |
3259 |
20 Apr 07 |
martin |
1139 |
|
3361 |
22 May 07 |
jari |
1140 |
<xslt |
3284 |
02 May 07 |
martin |
1141 |
in = "${build}/docbook/html/docbook-ready-file.tmp" |
3259 |
20 Apr 07 |
martin |
1142 |
style = "${lib}/docbook/preprocess/webclient_helptext.xsl" |
3259 |
20 Apr 07 |
martin |
1143 |
out = "data/helptexts.xml" |
3259 |
20 Apr 07 |
martin |
1144 |
processor = "${xslt.processor}" |
3259 |
20 Apr 07 |
martin |
1145 |
> |
3259 |
20 Apr 07 |
martin |
1146 |
<xmlcatalog refid="dtdcatalog"/> |
3259 |
20 Apr 07 |
martin |
1147 |
<classpath refid="ant-extensions" /> |
3259 |
20 Apr 07 |
martin |
1148 |
|
3259 |
20 Apr 07 |
martin |
1149 |
<param name="xsltproc.catalog" expression="${catalog.location}" /> |
3259 |
20 Apr 07 |
martin |
1150 |
<param name="xsltproc.option.--nonet" expression="" /> |
3361 |
22 May 07 |
jari |
1151 |
</xslt> |
3244 |
16 Apr 07 |
nicklas |
1152 |
</target> |
3244 |
16 Apr 07 |
nicklas |
1153 |
|
3244 |
16 Apr 07 |
nicklas |
1154 |
<target |
2959 |
27 Nov 06 |
nicklas |
1155 |
name="doc.dist" |
2959 |
27 Nov 06 |
nicklas |
1156 |
description="Copy documentation to the binary distribution" |
2959 |
27 Nov 06 |
nicklas |
1157 |
> |
2959 |
27 Nov 06 |
nicklas |
1158 |
<mkdir dir="dist/doc" /> |
2959 |
27 Nov 06 |
nicklas |
1159 |
<copy todir="dist/doc"> |
3424 |
31 May 07 |
nicklas |
<!--fileset dir="doc" includes="admin/**/*" /--> |
3424 |
31 May 07 |
nicklas |
<!--fileset dir="doc" includes="development/**/*" /--> |
2959 |
27 Nov 06 |
nicklas |
1162 |
<fileset dir="doc" includes="licenses/**/*" /> |
4669 |
26 Nov 08 |
nicklas |
1163 |
<fileset dir="doc" includes="historical/**/*" /> |
4806 |
10 Mar 09 |
nicklas |
1164 |
<fileset dir="doc" includes="test/**/*" /> |
3424 |
31 May 07 |
nicklas |
<!--fileset dir="doc" includes="user/**/*" /--> |
2962 |
27 Nov 06 |
nicklas |
1166 |
<fileset dir="doc" includes="*.*" /> |
2959 |
27 Nov 06 |
nicklas |
1167 |
</copy> |
2959 |
27 Nov 06 |
nicklas |
1168 |
</target> |
3198 |
20 Mar 07 |
martin |
1169 |
|
3198 |
20 Mar 07 |
martin |
1170 |
<target name="xsltprocessor"> |
3198 |
20 Mar 07 |
martin |
1171 |
<property environment="env"/> |
3198 |
20 Mar 07 |
martin |
1172 |
|
3198 |
20 Mar 07 |
martin |
1173 |
<condition property="executable.file.extension" |
3198 |
20 Mar 07 |
martin |
1174 |
value=".exe"> |
3198 |
20 Mar 07 |
martin |
1175 |
<os family="windows"/> |
3198 |
20 Mar 07 |
martin |
1176 |
</condition> |
3198 |
20 Mar 07 |
martin |
1177 |
<condition property="executable.file.extension" |
3198 |
20 Mar 07 |
martin |
1178 |
value=""> |
3198 |
20 Mar 07 |
martin |
1179 |
<os family="unix"/> |
3198 |
20 Mar 07 |
martin |
1180 |
</condition> |
3198 |
20 Mar 07 |
martin |
1181 |
|
3198 |
20 Mar 07 |
martin |
1182 |
<condition property="tmp:xsltproc.available" |
3198 |
20 Mar 07 |
martin |
1183 |
value="xsltproc${executable.file.extension}"> |
3198 |
20 Mar 07 |
martin |
1184 |
<or> |
3198 |
20 Mar 07 |
martin |
1185 |
<and> |
3198 |
20 Mar 07 |
martin |
1186 |
<os family="windows"/> |
3198 |
20 Mar 07 |
martin |
1187 |
<available file="xsltproc${executable.file.extension}" filepath="${env.Path}" /> |
3198 |
20 Mar 07 |
martin |
1188 |
</and> |
3198 |
20 Mar 07 |
martin |
1189 |
<and> |
3198 |
20 Mar 07 |
martin |
1190 |
<os family="unix"/> |
3198 |
20 Mar 07 |
martin |
1191 |
<available file="xsltproc${executable.file.extension}" filepath="${env.PATH}" /> |
3198 |
20 Mar 07 |
martin |
1192 |
</and> |
3198 |
20 Mar 07 |
martin |
1193 |
</or> |
3198 |
20 Mar 07 |
martin |
1194 |
</condition> |
3198 |
20 Mar 07 |
martin |
1195 |
|
3198 |
20 Mar 07 |
martin |
1196 |
<condition property="xslt.processor" value="com.dawidweiss.ant.taskdefs.XsltProcLiaison"> |
3198 |
20 Mar 07 |
martin |
1197 |
<and> |
3198 |
20 Mar 07 |
martin |
1198 |
<isset property="tmp:xsltproc.available" /> |
3198 |
20 Mar 07 |
martin |
1199 |
<not> |
3198 |
20 Mar 07 |
martin |
1200 |
<isset property="disable.xsltproc" /> |
3198 |
20 Mar 07 |
martin |
1201 |
</not> |
3198 |
20 Mar 07 |
martin |
1202 |
</and> |
3198 |
20 Mar 07 |
martin |
1203 |
</condition> |
3198 |
20 Mar 07 |
martin |
1204 |
|
3198 |
20 Mar 07 |
martin |
1205 |
<condition property="xslt.processor" value="com.dawidweiss.ant.taskdefs.SaxonLiaison"> |
3198 |
20 Mar 07 |
martin |
1206 |
<not> |
3198 |
20 Mar 07 |
martin |
1207 |
<isset property="disable.saxon" /> |
3198 |
20 Mar 07 |
martin |
1208 |
</not> |
3198 |
20 Mar 07 |
martin |
1209 |
</condition> |
3198 |
20 Mar 07 |
martin |
1210 |
|
3198 |
20 Mar 07 |
martin |
1211 |
<condition property="xslt.processor" value="trax"> |
3198 |
20 Mar 07 |
martin |
1212 |
<not> |
3198 |
20 Mar 07 |
martin |
1213 |
<and> |
3198 |
20 Mar 07 |
martin |
1214 |
<isset property="tmp:xsltproc.available" /> |
3198 |
20 Mar 07 |
martin |
1215 |
<not> |
3198 |
20 Mar 07 |
martin |
1216 |
<isset property="disable.xsltproc" /> |
3198 |
20 Mar 07 |
martin |
1217 |
</not> |
3198 |
20 Mar 07 |
martin |
1218 |
</and> |
3198 |
20 Mar 07 |
martin |
1219 |
</not> |
3198 |
20 Mar 07 |
martin |
1220 |
</condition> |
3198 |
20 Mar 07 |
martin |
1221 |
|
3198 |
20 Mar 07 |
martin |
1222 |
</target> |
3198 |
20 Mar 07 |
martin |
1223 |
|
2959 |
27 Nov 06 |
nicklas |
<!--package targets --> |
7 |
08 Feb 05 |
nicklas |
1225 |
<target |
2959 |
27 Nov 06 |
nicklas |
1226 |
name="package.bin" |
2959 |
27 Nov 06 |
nicklas |
1227 |
depends="dist" |
2959 |
27 Nov 06 |
nicklas |
1228 |
description="Create binary distribution package" |
2959 |
27 Nov 06 |
nicklas |
1229 |
> |
3953 |
13 Nov 07 |
nicklas |
1230 |
<mkdir dir="${package}" /> |
2959 |
27 Nov 06 |
nicklas |
1231 |
<tar |
5743 |
15 Sep 11 |
nicklas |
1232 |
destfile="${package}/base-${base.version}${base.versionsuffix}.tar.gz" |
2959 |
27 Nov 06 |
nicklas |
1233 |
longfile="gnu" |
2959 |
27 Nov 06 |
nicklas |
1234 |
compression="gzip" |
7 |
08 Feb 05 |
nicklas |
1235 |
> |
2959 |
27 Nov 06 |
nicklas |
1236 |
<tarfileset |
2959 |
27 Nov 06 |
nicklas |
1237 |
dir="${dist}" |
2959 |
27 Nov 06 |
nicklas |
1238 |
mode="755" |
5743 |
15 Sep 11 |
nicklas |
1239 |
prefix="base-${base.version}${base.versionsuffix}" |
2959 |
27 Nov 06 |
nicklas |
1240 |
preserveLeadingSlashes="true" |
2959 |
27 Nov 06 |
nicklas |
1241 |
> |
2959 |
27 Nov 06 |
nicklas |
1242 |
<include name="**/*.sh" /> |
2959 |
27 Nov 06 |
nicklas |
1243 |
</tarfileset> |
2959 |
27 Nov 06 |
nicklas |
1244 |
<tarfileset |
2959 |
27 Nov 06 |
nicklas |
1245 |
dir="${dist}" |
5743 |
15 Sep 11 |
nicklas |
1246 |
prefix="base-${base.version}${base.versionsuffix}" |
2959 |
27 Nov 06 |
nicklas |
1247 |
preserveLeadingSlashes="true" |
2959 |
27 Nov 06 |
nicklas |
1248 |
> |
2959 |
27 Nov 06 |
nicklas |
1249 |
<exclude name="**/*.sh" /> |
2959 |
27 Nov 06 |
nicklas |
1250 |
</tarfileset> |
2959 |
27 Nov 06 |
nicklas |
1251 |
</tar> |
5743 |
15 Sep 11 |
nicklas |
1252 |
<checksum file="${package}/base-${base.version}${base.versionsuffix}.tar.gz" /> |
7 |
08 Feb 05 |
nicklas |
1253 |
</target> |
2959 |
27 Nov 06 |
nicklas |
1254 |
|
2959 |
27 Nov 06 |
nicklas |
1255 |
<target |
2959 |
27 Nov 06 |
nicklas |
1256 |
name="package.src" |
2959 |
27 Nov 06 |
nicklas |
1257 |
depends="svn.revision" |
2959 |
27 Nov 06 |
nicklas |
1258 |
description="Create source distribution package" |
2959 |
27 Nov 06 |
nicklas |
1259 |
> |
5743 |
15 Sep 11 |
nicklas |
1260 |
<property name="tempdir" location="base-${base.version}${base.versionsuffix}-src" /> |
2959 |
27 Nov 06 |
nicklas |
1261 |
<delete dir="${tempdir}" failonerror="false"/> |
7813 |
19 May 20 |
nicklas |
1262 |
<java |
7813 |
19 May 20 |
nicklas |
1263 |
classname="org.tmatesoft.svn.cli.SVN" |
7813 |
19 May 20 |
nicklas |
1264 |
classpathref="lib.svnkit.classpath" |
7813 |
19 May 20 |
nicklas |
1265 |
> |
7813 |
19 May 20 |
nicklas |
1266 |
<arg value="export" /> |
7813 |
19 May 20 |
nicklas |
1267 |
<arg value="-q" /> <!--quiet: or we get a list of all files that are copied --> |
7813 |
19 May 20 |
nicklas |
1268 |
<arg value="." /> |
7813 |
19 May 20 |
nicklas |
1269 |
<arg path="${tempdir}" /> |
7813 |
19 May 20 |
nicklas |
1270 |
</java> |
7813 |
19 May 20 |
nicklas |
1271 |
|
2959 |
27 Nov 06 |
nicklas |
1272 |
<replaceregexp |
7813 |
19 May 20 |
nicklas |
1273 |
description="replacs the 'java' call in svn.revision with a static property" |
2959 |
27 Nov 06 |
nicklas |
1274 |
file="${tempdir}/build.xml" |
7813 |
19 May 20 |
nicklas |
1275 |
match="<java.*org.tmatesoft.svn.cli.SVN.*?</loadresource>" |
2959 |
27 Nov 06 |
nicklas |
1276 |
replace="<property name="base.build" value="${base.build}" />" |
2959 |
27 Nov 06 |
nicklas |
1277 |
flags="s" |
2959 |
27 Nov 06 |
nicklas |
1278 |
/> |
3027 |
12 Dec 06 |
nicklas |
1279 |
<replace file="${tempdir}/build.xml" |
3027 |
12 Dec 06 |
nicklas |
1280 |
description="Remove references to package.src"> |
3027 |
12 Dec 06 |
nicklas |
1281 |
<replacefilter |
3027 |
12 Dec 06 |
nicklas |
1282 |
token="package.bin,package.src" |
3027 |
12 Dec 06 |
nicklas |
1283 |
value="package.bin" |
3027 |
12 Dec 06 |
nicklas |
1284 |
/> |
3027 |
12 Dec 06 |
nicklas |
1285 |
</replace> |
3027 |
12 Dec 06 |
nicklas |
1286 |
<replaceregexp |
3027 |
12 Dec 06 |
nicklas |
1287 |
file="${tempdir}/build.xml" |
3027 |
12 Dec 06 |
nicklas |
1288 |
match="<target\s*?name="package.src".*?</target>" |
3027 |
12 Dec 06 |
nicklas |
1289 |
replace="" |
3027 |
12 Dec 06 |
nicklas |
1290 |
flags="s" |
3027 |
12 Dec 06 |
nicklas |
1291 |
description="Remove package.src target" |
3027 |
12 Dec 06 |
nicklas |
1292 |
/> |
3953 |
13 Nov 07 |
nicklas |
1293 |
<mkdir dir="${package}" /> |
2959 |
27 Nov 06 |
nicklas |
1294 |
<tar |
5743 |
15 Sep 11 |
nicklas |
1295 |
destfile="${package}/base-${base.version}${base.versionsuffix}-src.tar.gz" |
2959 |
27 Nov 06 |
nicklas |
1296 |
longfile="gnu" |
2959 |
27 Nov 06 |
nicklas |
1297 |
compression="gzip" |
2959 |
27 Nov 06 |
nicklas |
1298 |
> |
2959 |
27 Nov 06 |
nicklas |
1299 |
<tarfileset |
2959 |
27 Nov 06 |
nicklas |
1300 |
dir="${tempdir}" |
2959 |
27 Nov 06 |
nicklas |
1301 |
mode="755" |
5743 |
15 Sep 11 |
nicklas |
1302 |
prefix="base-${base.version}${base.versionsuffix}-src" |
2959 |
27 Nov 06 |
nicklas |
1303 |
preserveLeadingSlashes="true" |
2959 |
27 Nov 06 |
nicklas |
1304 |
> |
2959 |
27 Nov 06 |
nicklas |
1305 |
<include name="**/*.sh" /> |
2959 |
27 Nov 06 |
nicklas |
1306 |
</tarfileset> |
2959 |
27 Nov 06 |
nicklas |
1307 |
<tarfileset |
2959 |
27 Nov 06 |
nicklas |
1308 |
dir="${tempdir}" |
5743 |
15 Sep 11 |
nicklas |
1309 |
prefix="base-${base.version}${base.versionsuffix}-src" |
2959 |
27 Nov 06 |
nicklas |
1310 |
preserveLeadingSlashes="true" |
2959 |
27 Nov 06 |
nicklas |
1311 |
> |
2959 |
27 Nov 06 |
nicklas |
1312 |
<exclude name="**/*.sh" /> |
2959 |
27 Nov 06 |
nicklas |
1313 |
</tarfileset> |
2959 |
27 Nov 06 |
nicklas |
1314 |
</tar> |
5743 |
15 Sep 11 |
nicklas |
1315 |
<checksum file="${package}/base-${base.version}${base.versionsuffix}-src.tar.gz"/> |
2959 |
27 Nov 06 |
nicklas |
1316 |
<delete dir="${tempdir}" /> |
2959 |
27 Nov 06 |
nicklas |
1317 |
</target> |
7813 |
19 May 20 |
nicklas |
1318 |
|
7 |
08 Feb 05 |
nicklas |
1319 |
</project> |