3576 |
11 Mar 10 |
gregory |
1 |
<?xml version="1.0" encoding="utf-8"?> |
28 |
30 Mar 06 |
gregory |
2 |
<!-- |
45 |
04 Apr 06 |
gregory |
$Id$ |
28 |
30 Mar 06 |
gregory |
4 |
|
1916 |
31 Aug 07 |
jari |
Copyright (C) 2006, 2007 Fredrik Levander, Gregory Vincic, Olle Mansson |
28 |
30 Mar 06 |
gregory |
6 |
|
40 |
31 Mar 06 |
gregory |
Files are copyright by their respective authors. The contributions to |
40 |
31 Mar 06 |
gregory |
files where copyright is not explicitly stated can be traced with the |
40 |
31 Mar 06 |
gregory |
source code revision system. |
28 |
30 Mar 06 |
gregory |
10 |
|
40 |
31 Mar 06 |
gregory |
This file is part of Proteios. |
40 |
31 Mar 06 |
gregory |
Available at http://www.proteios.org/ |
28 |
30 Mar 06 |
gregory |
13 |
|
40 |
31 Mar 06 |
gregory |
Proteios is free software; you can redistribute it and/or |
40 |
31 Mar 06 |
gregory |
modify it under the terms of the GNU General Public License |
40 |
31 Mar 06 |
gregory |
as published by the Free Software Foundation; either version 2 |
40 |
31 Mar 06 |
gregory |
of the License, or (at your option) any later version. |
28 |
30 Mar 06 |
gregory |
18 |
|
40 |
31 Mar 06 |
gregory |
Proteios is distributed in the hope that it will be useful, |
40 |
31 Mar 06 |
gregory |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
40 |
31 Mar 06 |
gregory |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
40 |
31 Mar 06 |
gregory |
GNU General Public License for more details. |
28 |
30 Mar 06 |
gregory |
23 |
|
40 |
31 Mar 06 |
gregory |
You should have received a copy of the GNU General Public License |
40 |
31 Mar 06 |
gregory |
along with this program; if not, write to the Free Software |
40 |
31 Mar 06 |
gregory |
Foundation, Inc., 59 Temple Place - Suite 330, |
40 |
31 Mar 06 |
gregory |
Boston, MA 02111-1307, USA. |
28 |
30 Mar 06 |
gregory |
28 |
--> |
3576 |
11 Mar 10 |
gregory |
29 |
<project name="Proteios" |
3576 |
11 Mar 10 |
gregory |
30 |
default="package" |
3576 |
11 Mar 10 |
gregory |
31 |
basedir="."> |
3576 |
11 Mar 10 |
gregory |
32 |
<description>Build file for Proteios</description> |
3576 |
11 Mar 10 |
gregory |
<!-- ======== Properties ======= --> |
3576 |
11 Mar 10 |
gregory |
34 |
<property file="build.properties" /> |
3656 |
09 Apr 10 |
gregory |
35 |
<property name="MAJOR_VERSION" value="2"/> |
4529 |
24 Oct 13 |
olle |
36 |
<property name="MINOR_VERSION" value="20"/> |
3656 |
09 Apr 10 |
gregory |
37 |
<property name="MICRO_VERSION" value="0"/> |
4529 |
24 Oct 13 |
olle |
38 |
<property name="VERSION_MARKER" value="dev"/> |
3675 |
20 Apr 10 |
gregory |
39 |
<property name="RELEASE" value="1"/> |
3656 |
09 Apr 10 |
gregory |
40 |
|
3576 |
11 Mar 10 |
gregory |
41 |
<property name="name" |
3576 |
11 Mar 10 |
gregory |
42 |
value="ProteiosSE" /> |
3576 |
11 Mar 10 |
gregory |
43 |
<property name="package" |
3576 |
11 Mar 10 |
gregory |
44 |
value="${name}" /> |
3576 |
11 Mar 10 |
gregory |
45 |
<property name="my.plugin" |
3576 |
11 Mar 10 |
gregory |
46 |
value="MyPlugin" /> |
3656 |
09 Apr 10 |
gregory |
47 |
|
3656 |
09 Apr 10 |
gregory |
48 |
<condition property="version" |
3656 |
09 Apr 10 |
gregory |
49 |
value="${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}" |
3656 |
09 Apr 10 |
gregory |
50 |
else="${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}-${VERSION_MARKER}"> |
3656 |
09 Apr 10 |
gregory |
51 |
<equals arg1="${VERSION_MARKER}" arg2="" /> |
3656 |
09 Apr 10 |
gregory |
52 |
</condition> |
3656 |
09 Apr 10 |
gregory |
53 |
|
3662 |
09 Apr 10 |
gregory |
54 |
<property name="dist-root" |
3662 |
09 Apr 10 |
gregory |
55 |
location="dist" /> |
3662 |
09 Apr 10 |
gregory |
56 |
|
3576 |
11 Mar 10 |
gregory |
57 |
<property name="dist" |
3662 |
09 Apr 10 |
gregory |
58 |
location="${dist-root}/${name}-${version}" /> |
3576 |
11 Mar 10 |
gregory |
59 |
<property name="release.dir" |
3576 |
11 Mar 10 |
gregory |
60 |
location="Release" /> |
3576 |
11 Mar 10 |
gregory |
61 |
<path id="classpath"> |
3576 |
11 Mar 10 |
gregory |
62 |
<fileset dir="api/external"> |
3576 |
11 Mar 10 |
gregory |
63 |
<include name="**/*.jar" /> |
3129 |
20 Feb 09 |
gregory |
64 |
</fileset> |
3576 |
11 Mar 10 |
gregory |
65 |
</path> |
3576 |
11 Mar 10 |
gregory |
66 |
<path id="core.classpath"> |
3576 |
11 Mar 10 |
gregory |
67 |
<fileset dir="api/external"> |
3576 |
11 Mar 10 |
gregory |
68 |
<include name="**/*.jar" /> |
3576 |
11 Mar 10 |
gregory |
69 |
</fileset> |
3576 |
11 Mar 10 |
gregory |
70 |
<fileset dir="api/core/dist"> |
3576 |
11 Mar 10 |
gregory |
71 |
<include name="**/*.jar" /> |
3576 |
11 Mar 10 |
gregory |
72 |
</fileset> |
3576 |
11 Mar 10 |
gregory |
73 |
</path> |
3576 |
11 Mar 10 |
gregory |
74 |
<property environment="env" /> |
3576 |
11 Mar 10 |
gregory |
<!-- ======== Task Definitions ======= --> |
3576 |
11 Mar 10 |
gregory |
76 |
<path id="svnant.classpath"> |
3576 |
11 Mar 10 |
gregory |
77 |
<fileset dir="api/external/svn"> |
4557 |
23 Jun 14 |
fredrik |
78 |
<include name="svnkit-1.8.5.jar" /> |
4557 |
23 Jun 14 |
fredrik |
79 |
<include name="svnkit-javahl16-1.8.5.jar" /> |
4557 |
23 Jun 14 |
fredrik |
80 |
<include name="sqljet-1.1.10.jar" /> |
4473 |
28 May 13 |
fredrik |
81 |
<include name="antlr-runtime-3.4.jar" /> |
4473 |
28 May 13 |
fredrik |
82 |
<include name="sequence-library-1.0.2.jar" /> |
3576 |
11 Mar 10 |
gregory |
83 |
<include name="svnant.jar" /> |
3576 |
11 Mar 10 |
gregory |
84 |
<include name="svnClientAdapter.jar" /> |
3576 |
11 Mar 10 |
gregory |
85 |
</fileset> |
3576 |
11 Mar 10 |
gregory |
86 |
</path> |
3576 |
11 Mar 10 |
gregory |
87 |
<typedef resource="org/tigris/subversion/svnant/svnantlib.xml" |
3576 |
11 Mar 10 |
gregory |
88 |
classpathref="svnant.classpath" /> |
3576 |
11 Mar 10 |
gregory |
89 |
<macrodef name="subcall"> |
3576 |
11 Mar 10 |
gregory |
90 |
<attribute name="target" |
3576 |
11 Mar 10 |
gregory |
91 |
default="dist-jar" /> |
3576 |
11 Mar 10 |
gregory |
92 |
<sequential> |
3576 |
11 Mar 10 |
gregory |
93 |
<ant dir="api/core" |
3576 |
11 Mar 10 |
gregory |
94 |
target="@{target}" |
3576 |
11 Mar 10 |
gregory |
95 |
inheritAll="false" /> |
3576 |
11 Mar 10 |
gregory |
96 |
<ant dir="plugin" |
3576 |
11 Mar 10 |
gregory |
97 |
target="@{target}" |
3576 |
11 Mar 10 |
gregory |
98 |
inheritAll="false" /> |
3576 |
11 Mar 10 |
gregory |
99 |
<ant dir="api/waf" |
3576 |
11 Mar 10 |
gregory |
100 |
target="@{target}" |
3576 |
11 Mar 10 |
gregory |
101 |
inheritAll="false" /> |
3576 |
11 Mar 10 |
gregory |
102 |
<ant dir="client/ftpd" |
3576 |
11 Mar 10 |
gregory |
103 |
target="@{target}" |
3576 |
11 Mar 10 |
gregory |
104 |
inheritAll="false" /> |
3576 |
11 Mar 10 |
gregory |
105 |
<ant dir="client/servlet" |
3576 |
11 Mar 10 |
gregory |
106 |
target="@{target}" |
3576 |
11 Mar 10 |
gregory |
107 |
inheritAll="false" /> |
3576 |
11 Mar 10 |
gregory |
108 |
</sequential> |
3576 |
11 Mar 10 |
gregory |
109 |
</macrodef> |
3666 |
12 Apr 10 |
gregory |
110 |
|
3576 |
11 Mar 10 |
gregory |
<!-- ======== Targets ======= --> |
3666 |
12 Apr 10 |
gregory |
112 |
|
3666 |
12 Apr 10 |
gregory |
113 |
<target name="web" |
3666 |
12 Apr 10 |
gregory |
114 |
description="Updates local index.html ready for release"> |
3666 |
12 Apr 10 |
gregory |
115 |
<property name="filename" |
3666 |
12 Apr 10 |
gregory |
116 |
value="${package}-${version}" /> |
3666 |
12 Apr 10 |
gregory |
117 |
<copy todir="${release.dir}/htdocs"> |
3666 |
12 Apr 10 |
gregory |
118 |
<fileset dir="htdocs"> |
3666 |
12 Apr 10 |
gregory |
119 |
<include name="**" /> |
3666 |
12 Apr 10 |
gregory |
120 |
</fileset> |
3666 |
12 Apr 10 |
gregory |
121 |
</copy> |
3666 |
12 Apr 10 |
gregory |
122 |
<checksum file="${release.dir}/${filename}.zip" property="md5_zip"/> |
3666 |
12 Apr 10 |
gregory |
123 |
<checksum file="${release.dir}/${filename}.tar.gz" property="md5_gz"/> |
3666 |
12 Apr 10 |
gregory |
124 |
<checksum file="${release.dir}/${filename}-1.x86_64.rpm" property="md5_rpm"/> |
3666 |
12 Apr 10 |
gregory |
125 |
<checksum file="${release.dir}/${filename}-1.i386.rpm" |
3666 |
12 Apr 10 |
gregory |
126 |
property="md5_386_rpm"/> |
3675 |
20 Apr 10 |
gregory |
127 |
<replace file="${release.dir}/htdocs/index.html" token="_RELEASE_" |
3675 |
20 Apr 10 |
gregory |
128 |
value="${RELEASE}"/> |
3675 |
20 Apr 10 |
gregory |
129 |
|
3666 |
12 Apr 10 |
gregory |
130 |
<replace file="${release.dir}/htdocs/index.html" token="_VERSION_" |
3666 |
12 Apr 10 |
gregory |
131 |
value="${version}"/> |
3666 |
12 Apr 10 |
gregory |
132 |
<replace file="${release.dir}/htdocs/index.html" token="_MD5_ZIP_" |
3666 |
12 Apr 10 |
gregory |
133 |
value="${md5_zip}"/> |
3666 |
12 Apr 10 |
gregory |
134 |
<replace file="${release.dir}/htdocs/index.html" token="_MD5_GZ_" |
3666 |
12 Apr 10 |
gregory |
135 |
value="${md5_gz}"/> |
3666 |
12 Apr 10 |
gregory |
136 |
<replace file="${release.dir}/htdocs/index.html" token="_MD5_RPM_386_" value="${md5_386_rpm}"/> |
3666 |
12 Apr 10 |
gregory |
137 |
<replace file="${release.dir}/htdocs/index.html" token="_MD5_RPM_" |
3666 |
12 Apr 10 |
gregory |
138 |
value="${md5_rpm}"/> |
3666 |
12 Apr 10 |
gregory |
139 |
|
3666 |
12 Apr 10 |
gregory |
140 |
</target> |
3666 |
12 Apr 10 |
gregory |
141 |
<!-- ======================== --> |
3576 |
11 Mar 10 |
gregory |
142 |
<target name="package" |
3576 |
11 Mar 10 |
gregory |
143 |
description="Same as 'ant clean compile hibernate dist-jar'" |
3644 |
08 Apr 10 |
gregory |
144 |
> |
3759 |
29 Jul 10 |
gregory |
<!-- <antcall target="clean"/> --> |
3644 |
08 Apr 10 |
gregory |
146 |
<ant dir="api/core" |
3644 |
08 Apr 10 |
gregory |
147 |
target="set-version" |
3656 |
09 Apr 10 |
gregory |
148 |
inheritAll="true" /> |
3644 |
08 Apr 10 |
gregory |
149 |
<antcall target="compile"/> |
3644 |
08 Apr 10 |
gregory |
150 |
<antcall target="hibernate"/> |
3644 |
08 Apr 10 |
gregory |
151 |
<antcall target="dist-jar"/> |
3647 |
09 Apr 10 |
gregory |
152 |
<ant dir="api/core" |
3647 |
09 Apr 10 |
gregory |
153 |
target="unset-version" |
3647 |
09 Apr 10 |
gregory |
154 |
inheritAll="false" /> |
3644 |
08 Apr 10 |
gregory |
155 |
</target> |
3576 |
11 Mar 10 |
gregory |
156 |
<!-- ======================== --> |
3576 |
11 Mar 10 |
gregory |
157 |
<target name="dist-jar"> |
3576 |
11 Mar 10 |
gregory |
158 |
<mkdir dir="${dist}" /> |
3576 |
11 Mar 10 |
gregory |
159 |
<subcall target="dist-jar" /> |
3576 |
11 Mar 10 |
gregory |
160 |
<mkdir dir="${dist}/www/WEB-INF/classes" /> |
3576 |
11 Mar 10 |
gregory |
<!-- Copy all files needed to create a package --> |
3576 |
11 Mar 10 |
gregory |
162 |
<copy file="api/core/dist/Replace.jar" |
3576 |
11 Mar 10 |
gregory |
163 |
todir="${dist}" /> |
3576 |
11 Mar 10 |
gregory |
164 |
<copy file="api/core/dist/inp2var.jar" |
3576 |
11 Mar 10 |
gregory |
165 |
todir="${dist}" /> |
3576 |
11 Mar 10 |
gregory |
166 |
<copy file="api/core/dist/GetHostName.jar" |
3576 |
11 Mar 10 |
gregory |
167 |
todir="${dist}" /> |
3576 |
11 Mar 10 |
gregory |
168 |
<copy todir="${dist}"> |
3576 |
11 Mar 10 |
gregory |
169 |
<fileset dir="misc/install"> |
3576 |
11 Mar 10 |
gregory |
170 |
<include name="*" /> |
3576 |
11 Mar 10 |
gregory |
171 |
</fileset> |
3576 |
11 Mar 10 |
gregory |
172 |
</copy> |
3576 |
11 Mar 10 |
gregory |
173 |
<chmod file="${dist}/install" |
3576 |
11 Mar 10 |
gregory |
174 |
perm="a+x" /> |
3576 |
11 Mar 10 |
gregory |
175 |
<copy todir="${dist}/www/WEB-INF/"> |
3576 |
11 Mar 10 |
gregory |
176 |
<fileset dir="client/servlet/conf"> |
3576 |
11 Mar 10 |
gregory |
177 |
<include name="web.xml*" /> |
3576 |
11 Mar 10 |
gregory |
178 |
</fileset> |
3576 |
11 Mar 10 |
gregory |
179 |
</copy> |
3576 |
11 Mar 10 |
gregory |
180 |
<chmod file="${dist}/www/WEB-INF/init.sh" |
3576 |
11 Mar 10 |
gregory |
181 |
perm="a+x" /> |
3576 |
11 Mar 10 |
gregory |
182 |
<chmod file="${dist}/www/WEB-INF/update.sh" |
3576 |
11 Mar 10 |
gregory |
183 |
perm="a+x" /> |
3576 |
11 Mar 10 |
gregory |
184 |
<copy todir="${dist}/www/WEB-INF/lib"> |
3576 |
11 Mar 10 |
gregory |
185 |
<fileset dir="api/external"> |
3576 |
11 Mar 10 |
gregory |
186 |
<include name="*.jar" /> |
3576 |
11 Mar 10 |
gregory |
187 |
<exclude name="servletapi-2.3.jar" /> |
3576 |
11 Mar 10 |
gregory |
188 |
<exclude name="jsp-api.jar" /> |
4372 |
26 Oct 12 |
olle |
189 |
<exclude name="catalina.jar" /> |
4372 |
26 Oct 12 |
olle |
190 |
<exclude name="catalina-optional.jar" /> |
3576 |
11 Mar 10 |
gregory |
191 |
</fileset> |
3576 |
11 Mar 10 |
gregory |
192 |
<fileset dir="api/external"> |
3576 |
11 Mar 10 |
gregory |
193 |
<include name="jai" /> |
3576 |
11 Mar 10 |
gregory |
194 |
</fileset> |
3576 |
11 Mar 10 |
gregory |
195 |
</copy> |
3576 |
11 Mar 10 |
gregory |
196 |
<copy todir="${dist}/www/WEB-INF/classes" |
3576 |
11 Mar 10 |
gregory |
197 |
includeEmptyDirs="false"> |
3576 |
11 Mar 10 |
gregory |
198 |
<fileset dir="api/core/build"> |
3576 |
11 Mar 10 |
gregory |
199 |
<include name="**" /> |
3576 |
11 Mar 10 |
gregory |
200 |
<exclude name="**/*.class" /> |
3576 |
11 Mar 10 |
gregory |
201 |
<exclude name="**/*.hbm.xml" /> |
3576 |
11 Mar 10 |
gregory |
202 |
<exclude name="**/hibernate-properties-PlateMappingData.xml" /> |
3576 |
11 Mar 10 |
gregory |
203 |
</fileset> |
3576 |
11 Mar 10 |
gregory |
204 |
<fileset dir="api/core/conf"> |
3576 |
11 Mar 10 |
gregory |
205 |
<include name="**" /> |
3576 |
11 Mar 10 |
gregory |
206 |
</fileset> |
3576 |
11 Mar 10 |
gregory |
207 |
<fileset dir="client/ftpd/conf"> |
3576 |
11 Mar 10 |
gregory |
208 |
<include name="**" /> |
3576 |
11 Mar 10 |
gregory |
209 |
</fileset> |
3576 |
11 Mar 10 |
gregory |
210 |
<fileset dir="client/servlet/build"> |
3576 |
11 Mar 10 |
gregory |
211 |
<include name="**" /> |
3576 |
11 Mar 10 |
gregory |
212 |
<exclude name="**/*.class" /> |
3576 |
11 Mar 10 |
gregory |
213 |
</fileset> |
3576 |
11 Mar 10 |
gregory |
214 |
<fileset dir="client/servlet/conf"> |
4542 |
07 Feb 14 |
olle |
215 |
<include name="connection.properties*" /> |
3576 |
11 Mar 10 |
gregory |
216 |
<include name="log4j.properties*" /> |
3576 |
11 Mar 10 |
gregory |
217 |
<include name="proteios.config*" /> |
4568 |
28 Apr 15 |
fredrik |
218 |
<include name="dinosaur.properties*" /> |
3576 |
11 Mar 10 |
gregory |
219 |
<include name="mascot.properties*" /> |
3576 |
11 Mar 10 |
gregory |
220 |
<include name="mascot_default_ms_ms_ions_search.xml" /> |
3576 |
11 Mar 10 |
gregory |
221 |
<include name="mascot_default_sequence_query.xml" /> |
3576 |
11 Mar 10 |
gregory |
222 |
<include name="mascot_default_peptide_mass_fingerprint.xml" /> |
4620 |
19 Aug 16 |
fredrik |
223 |
<include name="msgfplus.properties*" /> |
4095 |
17 Jan 11 |
olle |
224 |
<include name="msinspect.properties*" /> |
3576 |
11 Mar 10 |
gregory |
225 |
<include name="omssa.properties*" /> |
3576 |
11 Mar 10 |
gregory |
226 |
<include name="omssa_default_iontrap.xml" /> |
3576 |
11 Mar 10 |
gregory |
227 |
<include name="omssa_default_etd.xml" /> |
4149 |
03 Mar 11 |
olle |
228 |
<include name="openms.properties*" /> |
3576 |
11 Mar 10 |
gregory |
229 |
<include name="pike.properties*" /> |
3576 |
11 Mar 10 |
gregory |
230 |
<include name="xtandem.properties*" /> |
3576 |
11 Mar 10 |
gregory |
231 |
<include name="xtandem_default_input.xml" /> |
3576 |
11 Mar 10 |
gregory |
232 |
</fileset> |
3576 |
11 Mar 10 |
gregory |
233 |
<fileset dir="plugin/conf"> |
3576 |
11 Mar 10 |
gregory |
234 |
<include name="**" /> |
3576 |
11 Mar 10 |
gregory |
235 |
</fileset> |
3576 |
11 Mar 10 |
gregory |
236 |
</copy> |
3576 |
11 Mar 10 |
gregory |
237 |
<copy todir="${dist}/www"> |
3576 |
11 Mar 10 |
gregory |
238 |
<fileset dir="client/servlet/www"> |
3576 |
11 Mar 10 |
gregory |
239 |
<exclude name="**/static/img/orig/**" /> |
3576 |
11 Mar 10 |
gregory |
240 |
</fileset> |
3576 |
11 Mar 10 |
gregory |
241 |
<fileset dir="client/servlet/www/static/img"> |
3576 |
11 Mar 10 |
gregory |
242 |
<include name="favicon.ico" /> |
3576 |
11 Mar 10 |
gregory |
243 |
</fileset> |
3576 |
11 Mar 10 |
gregory |
244 |
</copy> |
3576 |
11 Mar 10 |
gregory |
245 |
<copy todir="${dist}"> |
3576 |
11 Mar 10 |
gregory |
246 |
<fileset dir="client/ftpd"> |
3576 |
11 Mar 10 |
gregory |
247 |
<include name="proteios_ftp_server*" /> |
3576 |
11 Mar 10 |
gregory |
248 |
</fileset> |
3576 |
11 Mar 10 |
gregory |
249 |
</copy> |
3576 |
11 Mar 10 |
gregory |
250 |
<mkdir dir="${dist}/licenses" /> |
3576 |
11 Mar 10 |
gregory |
251 |
<copy todir="${dist}/licenses"> |
3576 |
11 Mar 10 |
gregory |
252 |
<fileset dir="doc/licenses" /> |
3576 |
11 Mar 10 |
gregory |
253 |
</copy> |
3576 |
11 Mar 10 |
gregory |
254 |
<copy todir="${dist}"> |
3576 |
11 Mar 10 |
gregory |
255 |
<fileset dir="."> |
3576 |
11 Mar 10 |
gregory |
256 |
<include name="credits.txt" /> |
3576 |
11 Mar 10 |
gregory |
257 |
</fileset> |
3576 |
11 Mar 10 |
gregory |
258 |
</copy> |
3576 |
11 Mar 10 |
gregory |
259 |
<chmod file="${dist}/*.sh" |
3576 |
11 Mar 10 |
gregory |
260 |
perm="ugo+rx" /> |
3576 |
11 Mar 10 |
gregory |
261 |
<copy file="api/core/dist/proteios_core.jar" |
3576 |
11 Mar 10 |
gregory |
262 |
todir="${dist}/www/WEB-INF/lib" /> |
3576 |
11 Mar 10 |
gregory |
263 |
<copy file="api/waf/dist/proteios_waf.jar" |
3576 |
11 Mar 10 |
gregory |
264 |
todir="${dist}/www/WEB-INF/lib" /> |
3576 |
11 Mar 10 |
gregory |
265 |
<copy file="client/ftpd/dist/proteios_ftpserver.jar" |
3576 |
11 Mar 10 |
gregory |
266 |
todir="${dist}/www/WEB-INF/lib" /> |
3576 |
11 Mar 10 |
gregory |
267 |
<copy file="client/servlet/dist/proteios_client.jar" |
3576 |
11 Mar 10 |
gregory |
268 |
todir="${dist}/www/WEB-INF/lib" /> |
3576 |
11 Mar 10 |
gregory |
269 |
<copy file="plugin/dist/proteios_plugins.jar" |
3576 |
11 Mar 10 |
gregory |
270 |
todir="${dist}/www/WEB-INF/lib" /> |
3576 |
11 Mar 10 |
gregory |
271 |
</target> |
3576 |
11 Mar 10 |
gregory |
272 |
<!-- ======================== --> |
3576 |
11 Mar 10 |
gregory |
273 |
<target name="hibernate" |
3576 |
11 Mar 10 |
gregory |
274 |
description="Just forwards to cores hibernate target"> |
3576 |
11 Mar 10 |
gregory |
275 |
<ant dir="api/core" |
3576 |
11 Mar 10 |
gregory |
276 |
target="hibernate" |
3576 |
11 Mar 10 |
gregory |
277 |
inheritAll="false" /> |
3576 |
11 Mar 10 |
gregory |
278 |
</target> |
3576 |
11 Mar 10 |
gregory |
279 |
<!-- ======================== --> |
3585 |
12 Mar 10 |
gregory |
280 |
<target name="hibernate-dev" |
3585 |
12 Mar 10 |
gregory |
281 |
description="Just forwards to cores hibernate-dev target"> |
3585 |
12 Mar 10 |
gregory |
282 |
<ant dir="api/core" |
3585 |
12 Mar 10 |
gregory |
283 |
target="hibernate-dev" |
3585 |
12 Mar 10 |
gregory |
284 |
inheritAll="false" /> |
3585 |
12 Mar 10 |
gregory |
285 |
</target> |
3585 |
12 Mar 10 |
gregory |
286 |
<!-- ======================== --> |
3576 |
11 Mar 10 |
gregory |
287 |
<target name="compile" |
3576 |
11 Mar 10 |
gregory |
288 |
description="Compiles proteios and all related packages"> |
3576 |
11 Mar 10 |
gregory |
289 |
<subcall target="compile" /> |
3576 |
11 Mar 10 |
gregory |
290 |
</target> |
3585 |
12 Mar 10 |
gregory |
291 |
|
3576 |
11 Mar 10 |
gregory |
292 |
<!-- ======================== --> |
3585 |
12 Mar 10 |
gregory |
293 |
<target name="dev"> |
3585 |
12 Mar 10 |
gregory |
294 |
<subcall target="dev" /> |
3585 |
12 Mar 10 |
gregory |
295 |
</target> |
3585 |
12 Mar 10 |
gregory |
296 |
<!-- ======================== --> |
3585 |
12 Mar 10 |
gregory |
297 |
<target name="clean-dev"> |
3585 |
12 Mar 10 |
gregory |
298 |
<property environment="env"/> |
4391 |
05 Dec 12 |
olle |
299 |
<delete dir="${env.CATALINA_BASE}/webapps/proteios/WEB-INF/classes/org"/> |
4391 |
05 Dec 12 |
olle |
300 |
<delete dir="${env.CATALINA_BASE}/webapps/proteios/WEB-INF/classes/se"/> |
3678 |
22 Apr 10 |
gregory |
301 |
<delete> |
4391 |
05 Dec 12 |
olle |
302 |
<fileset dir="${env.CATALINA_BASE}/webapps/proteios/WEB-INF/lib"> |
3678 |
22 Apr 10 |
gregory |
303 |
<include name="proteios*.jar"/> |
3678 |
22 Apr 10 |
gregory |
304 |
</fileset> |
3678 |
22 Apr 10 |
gregory |
305 |
</delete> |
3585 |
12 Mar 10 |
gregory |
306 |
</target> |
3585 |
12 Mar 10 |
gregory |
307 |
<!-- ======================== --> |
3576 |
11 Mar 10 |
gregory |
308 |
<target name="clean"> |
3576 |
11 Mar 10 |
gregory |
309 |
<delete dir="${dist}" /> |
3576 |
11 Mar 10 |
gregory |
310 |
<delete dir="${release.dir}" /> |
3576 |
11 Mar 10 |
gregory |
311 |
<subcall target="clean" /> |
3576 |
11 Mar 10 |
gregory |
312 |
</target> |
3576 |
11 Mar 10 |
gregory |
313 |
<!-- ======================== --> |
3576 |
11 Mar 10 |
gregory |
314 |
<target name="doc" |
3576 |
11 Mar 10 |
gregory |
315 |
description="Copy required documentation"> |
3576 |
11 Mar 10 |
gregory |
316 |
<subcall target="doc" /> |
3576 |
11 Mar 10 |
gregory |
317 |
</target> |
3576 |
11 Mar 10 |
gregory |
318 |
<!-- ======================== --> |
3576 |
11 Mar 10 |
gregory |
319 |
<target name="test" |
3576 |
11 Mar 10 |
gregory |
320 |
description="Tests all sub projects"> |
3576 |
11 Mar 10 |
gregory |
321 |
<subcall target="test" /> |
3576 |
11 Mar 10 |
gregory |
322 |
</target> |
3576 |
11 Mar 10 |
gregory |
323 |
<!-- ======================== --> |
3576 |
11 Mar 10 |
gregory |
324 |
<target name="testData" |
3576 |
11 Mar 10 |
gregory |
325 |
description="Checks if test data has been downloaded"> |
3576 |
11 Mar 10 |
gregory |
326 |
<available property="skipDownload" |
3576 |
11 Mar 10 |
gregory |
327 |
file="testData" /> |
3576 |
11 Mar 10 |
gregory |
328 |
</target> |
3576 |
11 Mar 10 |
gregory |
329 |
<!-- ======================== --> |
3576 |
11 Mar 10 |
gregory |
330 |
<target name="download-testData" |
3576 |
11 Mar 10 |
gregory |
331 |
depends="testData" |
3576 |
11 Mar 10 |
gregory |
332 |
if="${skipDownload}" |
3576 |
11 Mar 10 |
gregory |
333 |
description="Downloads test data"> |
3576 |
11 Mar 10 |
gregory |
334 |
<get src="http://www.proteios.org/trac/downloads/testData.zip" |
3576 |
11 Mar 10 |
gregory |
335 |
dest="./testData.zip" /> |
3576 |
11 Mar 10 |
gregory |
336 |
<unzip dest="." |
3576 |
11 Mar 10 |
gregory |
337 |
src="testData.zip"></unzip> |
3576 |
11 Mar 10 |
gregory |
338 |
</target> |
3576 |
11 Mar 10 |
gregory |
339 |
<!-- ======================== --> |
3576 |
11 Mar 10 |
gregory |
340 |
<target name="archive" |
3576 |
11 Mar 10 |
gregory |
341 |
description="Creates compressed packages suitable for release."> |
3576 |
11 Mar 10 |
gregory |
342 |
<property name="filename" |
3653 |
09 Apr 10 |
gregory |
343 |
value="${package}-${version}" /> |
3576 |
11 Mar 10 |
gregory |
344 |
<delete dir="${release.dir}" /> |
3576 |
11 Mar 10 |
gregory |
345 |
<mkdir dir="${release.dir}" /> |
3576 |
11 Mar 10 |
gregory |
346 |
<zip destfile="${release.dir}/${filename}.zip" |
3662 |
09 Apr 10 |
gregory |
347 |
basedir="${dist-root}" /> |
3576 |
11 Mar 10 |
gregory |
348 |
<checksum file="${release.dir}/${filename}.zip" /> |
3576 |
11 Mar 10 |
gregory |
349 |
<tar tarfile="${release.dir}/${filename}.tar" |
4242 |
21 Jun 11 |
olle |
350 |
longfile="gnu"> |
4242 |
21 Jun 11 |
olle |
351 |
<tarfileset |
4242 |
21 Jun 11 |
olle |
352 |
dir="${dist-root}" |
4242 |
21 Jun 11 |
olle |
353 |
mode="755" |
4242 |
21 Jun 11 |
olle |
354 |
> |
4242 |
21 Jun 11 |
olle |
355 |
<include name="**/*.sh" /> |
4242 |
21 Jun 11 |
olle |
356 |
</tarfileset> |
4242 |
21 Jun 11 |
olle |
357 |
<tarfileset |
4242 |
21 Jun 11 |
olle |
358 |
dir="${dist-root}" |
4242 |
21 Jun 11 |
olle |
359 |
> |
4242 |
21 Jun 11 |
olle |
360 |
<exclude name="**/*.sh" /> |
4242 |
21 Jun 11 |
olle |
361 |
</tarfileset> |
4242 |
21 Jun 11 |
olle |
362 |
</tar> |
3576 |
11 Mar 10 |
gregory |
363 |
<gzip zipfile="${release.dir}/${filename}.tar.gz" |
3576 |
11 Mar 10 |
gregory |
364 |
src="${release.dir}/${filename}.tar" /> |
3576 |
11 Mar 10 |
gregory |
365 |
<checksum file="${release.dir}/${filename}.tar.gz" /> |
3576 |
11 Mar 10 |
gregory |
366 |
<delete file="${release.dir}/${filename}.tar" /> |
3576 |
11 Mar 10 |
gregory |
367 |
</target> |
3576 |
11 Mar 10 |
gregory |
368 |
<!-- ======================== --> |
3576 |
11 Mar 10 |
gregory |
369 |
<target name="svn.revision" |
3576 |
11 Mar 10 |
gregory |
370 |
description="Get the current revision number in the subversion and put the value into the proteios.build property; replaced by constant expression in source distributions"> |
4473 |
28 May 13 |
fredrik |
371 |
<svnSetting svnkit="true" javahl="false" id="svn.settings"/> |
4473 |
28 May 13 |
fredrik |
372 |
<svn refid="svn.settings" > |
3576 |
11 Mar 10 |
gregory |
373 |
<status path="." |
3576 |
11 Mar 10 |
gregory |
374 |
lastChangedRevisionProperty="proteios.build" /> |
3576 |
11 Mar 10 |
gregory |
375 |
</svn> |
3576 |
11 Mar 10 |
gregory |
376 |
<echo message="Build #${proteios.build}" /> |
3576 |
11 Mar 10 |
gregory |
377 |
</target> |
3666 |
12 Apr 10 |
gregory |
378 |
|
3666 |
12 Apr 10 |
gregory |
379 |
|
28 |
30 Mar 06 |
gregory |
380 |
</project> |