666 |
18 Apr 08 |
nicklas |
1 |
<?xml version="1.0" encoding="UTF-8"?> |
666 |
18 Apr 08 |
nicklas |
2 |
<project |
666 |
18 Apr 08 |
nicklas |
3 |
name="MevLauncher" |
666 |
18 Apr 08 |
nicklas |
4 |
default="jar" |
666 |
18 Apr 08 |
nicklas |
5 |
basedir="."> |
666 |
18 Apr 08 |
nicklas |
6 |
|
690 |
12 May 08 |
nicklas |
<!--create this file if you need to override values from properties below --> |
690 |
12 May 08 |
nicklas |
8 |
<property file="build.properties" /> |
690 |
12 May 08 |
nicklas |
9 |
|
666 |
18 Apr 08 |
nicklas |
<!-- variables used --> |
666 |
18 Apr 08 |
nicklas |
11 |
<property name="name" value="mev-launcher" /> |
2477 |
04 Jun 14 |
nicklas |
12 |
<property name="version" value="1.12-dev" /> |
666 |
18 Apr 08 |
nicklas |
13 |
<property name="src" location="src" description="Location of source files" /> |
666 |
18 Apr 08 |
nicklas |
14 |
<property name="build" location="build" description="Location of compiled files" /> |
666 |
18 Apr 08 |
nicklas |
15 |
<property name="jar.name" value="${name}.jar" |
666 |
18 Apr 08 |
nicklas |
16 |
description="Name of JAR file with the extensions." /> |
666 |
18 Apr 08 |
nicklas |
17 |
<property name="tar.prefix" value="${name}-${version}" |
666 |
18 Apr 08 |
nicklas |
18 |
description="Prefix of .tar.gz file for download." /> |
666 |
18 Apr 08 |
nicklas |
19 |
<property name="tar.name" value="${tar.prefix}.tar.gz" |
666 |
18 Apr 08 |
nicklas |
20 |
description="Full name of .tar.gz file for download." /> |
666 |
18 Apr 08 |
nicklas |
21 |
<property name="javac.arg" value="-Xlint:unchecked" /> |
2211 |
03 Feb 14 |
nicklas |
22 |
<property name="javac.source" value="1.7" /> |
2211 |
03 Feb 14 |
nicklas |
23 |
<property name="javac.target" value="1.7" /> |
1026 |
07 Apr 09 |
nicklas |
24 |
<property name="javac.encoding" value="UTF-8" /> |
1395 |
15 Sep 11 |
nicklas |
25 |
<property name="depend.base-version" |
2209 |
03 Feb 14 |
nicklas |
26 |
value="3.3.0" |
1395 |
15 Sep 11 |
nicklas |
27 |
description="The BASE version that this project depends on." |
1395 |
15 Sep 11 |
nicklas |
28 |
/> |
1395 |
15 Sep 11 |
nicklas |
29 |
<property name="depend.jars" |
2758 |
08 Oct 14 |
nicklas |
30 |
value="http://base.thep.lu.se/chrome/site/files/base/jars/${depend.base-version}" |
1395 |
15 Sep 11 |
nicklas |
31 |
description="The location of the BASE core JARs that this project depends on." |
1395 |
15 Sep 11 |
nicklas |
32 |
/> |
2211 |
03 Feb 14 |
nicklas |
33 |
<property name="tsaurl" |
2211 |
03 Feb 14 |
nicklas |
34 |
value="http://timestamp.comodoca.com/rfc3161" |
2211 |
03 Feb 14 |
nicklas |
35 |
description="URL to a Time Stamping Authority" |
2211 |
03 Feb 14 |
nicklas |
36 |
/> |
666 |
18 Apr 08 |
nicklas |
37 |
|
666 |
18 Apr 08 |
nicklas |
<!-- set up classpath for compiling --> |
666 |
18 Apr 08 |
nicklas |
39 |
<path id="classpath"> |
666 |
18 Apr 08 |
nicklas |
40 |
<fileset dir="lib"> |
666 |
18 Apr 08 |
nicklas |
41 |
<include name="**/*.jar" /> |
666 |
18 Apr 08 |
nicklas |
42 |
</fileset> |
1157 |
15 Sep 09 |
nicklas |
43 |
<fileset dir="resources/jar"> |
1157 |
15 Sep 09 |
nicklas |
44 |
<include name="mev-base.jar" /> |
1163 |
22 Sep 09 |
nicklas |
45 |
<include name="mev-gui-impl.jar" /> |
1163 |
22 Sep 09 |
nicklas |
46 |
<include name="HTTPClient.jar" /> |
1157 |
15 Sep 09 |
nicklas |
47 |
</fileset> |
666 |
18 Apr 08 |
nicklas |
48 |
</path> |
666 |
18 Apr 08 |
nicklas |
49 |
|
666 |
18 Apr 08 |
nicklas |
50 |
<target name="init"> |
666 |
18 Apr 08 |
nicklas |
51 |
<mkdir dir="${build}" /> |
666 |
18 Apr 08 |
nicklas |
52 |
</target> |
666 |
18 Apr 08 |
nicklas |
53 |
|
666 |
18 Apr 08 |
nicklas |
54 |
<target name="clean"> |
666 |
18 Apr 08 |
nicklas |
55 |
<delete failonerror="false" includeemptydirs="true"> |
666 |
18 Apr 08 |
nicklas |
56 |
<fileset dir="${build}" defaultexcludes="no" /> |
666 |
18 Apr 08 |
nicklas |
57 |
<fileset file="${jar.name}" /> |
666 |
18 Apr 08 |
nicklas |
58 |
<fileset file="${tar.name}" /> |
666 |
18 Apr 08 |
nicklas |
59 |
</delete> |
666 |
18 Apr 08 |
nicklas |
60 |
</target> |
666 |
18 Apr 08 |
nicklas |
61 |
|
666 |
18 Apr 08 |
nicklas |
62 |
<target |
666 |
18 Apr 08 |
nicklas |
63 |
name="package" |
666 |
18 Apr 08 |
nicklas |
64 |
depends="clean,jar" |
666 |
18 Apr 08 |
nicklas |
65 |
description="Clean and create binary distribution package" |
666 |
18 Apr 08 |
nicklas |
66 |
> |
666 |
18 Apr 08 |
nicklas |
67 |
<tar |
666 |
18 Apr 08 |
nicklas |
68 |
destfile="${tar.name}" |
666 |
18 Apr 08 |
nicklas |
69 |
longfile="gnu" |
666 |
18 Apr 08 |
nicklas |
70 |
compression="gzip" |
666 |
18 Apr 08 |
nicklas |
71 |
> |
666 |
18 Apr 08 |
nicklas |
72 |
<tarfileset |
666 |
18 Apr 08 |
nicklas |
73 |
dir="." |
666 |
18 Apr 08 |
nicklas |
74 |
prefix="${tar.prefix}" |
666 |
18 Apr 08 |
nicklas |
75 |
preserveLeadingSlashes="true" |
980 |
27 Feb 09 |
nicklas |
76 |
includes="${jar.name},README,LICENSE*" |
666 |
18 Apr 08 |
nicklas |
77 |
> |
666 |
18 Apr 08 |
nicklas |
78 |
</tarfileset> |
666 |
18 Apr 08 |
nicklas |
79 |
</tar> |
666 |
18 Apr 08 |
nicklas |
80 |
</target> |
666 |
18 Apr 08 |
nicklas |
81 |
|
1157 |
15 Sep 09 |
nicklas |
82 |
<target |
1157 |
15 Sep 09 |
nicklas |
83 |
name="jar" |
1157 |
15 Sep 09 |
nicklas |
84 |
depends="jar.server" |
1157 |
15 Sep 09 |
nicklas |
85 |
/> |
1157 |
15 Sep 09 |
nicklas |
86 |
|
666 |
18 Apr 08 |
nicklas |
87 |
<target |
1157 |
15 Sep 09 |
nicklas |
88 |
name="jar.server" |
1157 |
15 Sep 09 |
nicklas |
89 |
depends="build.server,jar.webstart" |
1157 |
15 Sep 09 |
nicklas |
90 |
description="Creates the server-side plugin/extension JAR file" |
666 |
18 Apr 08 |
nicklas |
91 |
> |
1157 |
15 Sep 09 |
nicklas |
92 |
<copy todir="${build}/server"> |
1068 |
15 May 09 |
nicklas |
93 |
<fileset dir="." includes="META-INF/*" /> |
1068 |
15 May 09 |
nicklas |
94 |
</copy> |
666 |
18 Apr 08 |
nicklas |
95 |
<jar |
666 |
18 Apr 08 |
nicklas |
96 |
jarfile="${jar.name}" |
666 |
18 Apr 08 |
nicklas |
97 |
> |
1157 |
15 Sep 09 |
nicklas |
98 |
<fileset dir="${build}/server" /> |
666 |
18 Apr 08 |
nicklas |
99 |
<fileset dir="." includes="resources/**" /> |
666 |
18 Apr 08 |
nicklas |
100 |
</jar> |
666 |
18 Apr 08 |
nicklas |
101 |
</target> |
1157 |
15 Sep 09 |
nicklas |
102 |
|
1157 |
15 Sep 09 |
nicklas |
103 |
<target |
1157 |
15 Sep 09 |
nicklas |
104 |
name="jar.webstart" |
1157 |
15 Sep 09 |
nicklas |
105 |
depends="build.webstart" |
1157 |
15 Sep 09 |
nicklas |
106 |
description="Creates the webstart wrapper JAR file" |
1157 |
15 Sep 09 |
nicklas |
107 |
> |
1157 |
15 Sep 09 |
nicklas |
108 |
<mkdir dir="${build}/server/resources/jar/" /> |
1157 |
15 Sep 09 |
nicklas |
109 |
<jar |
1157 |
15 Sep 09 |
nicklas |
110 |
jarfile="${build}/server/resources/jar/base-mev-wrapper.jar" |
1157 |
15 Sep 09 |
nicklas |
111 |
> |
1157 |
15 Sep 09 |
nicklas |
112 |
<fileset dir="${build}/webstart" includes="**/*" /> |
1157 |
15 Sep 09 |
nicklas |
113 |
</jar> |
1157 |
15 Sep 09 |
nicklas |
114 |
<signjar |
1157 |
15 Sep 09 |
nicklas |
115 |
alias="mev-base" |
1157 |
15 Sep 09 |
nicklas |
116 |
keystore="./jarsign/mev-base.key" |
1157 |
15 Sep 09 |
nicklas |
117 |
storepass="mev-base" |
2211 |
03 Feb 14 |
nicklas |
118 |
tsaurl="${tsaurl}" |
1157 |
15 Sep 09 |
nicklas |
119 |
lazy="true"> |
1157 |
15 Sep 09 |
nicklas |
120 |
<fileset |
1157 |
15 Sep 09 |
nicklas |
121 |
dir="${build}/server/resources/jar/" |
1157 |
15 Sep 09 |
nicklas |
122 |
includes="*.jar" |
1157 |
15 Sep 09 |
nicklas |
123 |
/> |
1157 |
15 Sep 09 |
nicklas |
124 |
</signjar> |
1157 |
15 Sep 09 |
nicklas |
125 |
</target> |
666 |
18 Apr 08 |
nicklas |
126 |
|
666 |
18 Apr 08 |
nicklas |
127 |
<target |
666 |
18 Apr 08 |
nicklas |
128 |
name="build" |
1157 |
15 Sep 09 |
nicklas |
129 |
depends="build.server,build.webstart" |
1157 |
15 Sep 09 |
nicklas |
130 |
/> |
1157 |
15 Sep 09 |
nicklas |
131 |
|
1157 |
15 Sep 09 |
nicklas |
132 |
<target |
1157 |
15 Sep 09 |
nicklas |
133 |
name="build.server" |
666 |
18 Apr 08 |
nicklas |
134 |
depends="init,checkjar" |
1157 |
15 Sep 09 |
nicklas |
135 |
description="Compiles the server-side plugin/extension" |
666 |
18 Apr 08 |
nicklas |
136 |
> |
1157 |
15 Sep 09 |
nicklas |
137 |
<mkdir dir="${build}/server" /> |
666 |
18 Apr 08 |
nicklas |
138 |
<javac |
1157 |
15 Sep 09 |
nicklas |
139 |
srcdir="${src}/server" |
1157 |
15 Sep 09 |
nicklas |
140 |
destdir="${build}/server" |
666 |
18 Apr 08 |
nicklas |
141 |
debug="true" |
666 |
18 Apr 08 |
nicklas |
142 |
classpathref="classpath" |
1157 |
15 Sep 09 |
nicklas |
143 |
encoding="${javac.encoding}" |
666 |
18 Apr 08 |
nicklas |
144 |
source="${javac.source}" |
666 |
18 Apr 08 |
nicklas |
145 |
target="${javac.target}" |
1228 |
19 Aug 10 |
nicklas |
146 |
includeantruntime="false" |
666 |
18 Apr 08 |
nicklas |
147 |
> |
666 |
18 Apr 08 |
nicklas |
148 |
<compilerarg value="${javac.arg}" /> |
666 |
18 Apr 08 |
nicklas |
149 |
</javac> |
666 |
18 Apr 08 |
nicklas |
150 |
</target> |
666 |
18 Apr 08 |
nicklas |
151 |
|
666 |
18 Apr 08 |
nicklas |
152 |
<target |
1157 |
15 Sep 09 |
nicklas |
153 |
name="build.webstart" |
1157 |
15 Sep 09 |
nicklas |
154 |
depends="init,checkjar" |
1157 |
15 Sep 09 |
nicklas |
155 |
description="Compiles the webstart wrapper" |
1157 |
15 Sep 09 |
nicklas |
156 |
> |
1157 |
15 Sep 09 |
nicklas |
157 |
<mkdir dir="${build}/webstart" /> |
1157 |
15 Sep 09 |
nicklas |
158 |
<javac |
1157 |
15 Sep 09 |
nicklas |
159 |
srcdir="${src}/webstart" |
1157 |
15 Sep 09 |
nicklas |
160 |
destdir="${build}/webstart" |
1157 |
15 Sep 09 |
nicklas |
161 |
debug="true" |
1157 |
15 Sep 09 |
nicklas |
162 |
classpathref="classpath" |
1157 |
15 Sep 09 |
nicklas |
163 |
encoding="${javac.encoding}" |
1157 |
15 Sep 09 |
nicklas |
164 |
source="${javac.source}" |
1157 |
15 Sep 09 |
nicklas |
165 |
target="${javac.target}" |
1228 |
19 Aug 10 |
nicklas |
166 |
includeantruntime="false" |
1157 |
15 Sep 09 |
nicklas |
167 |
> |
1157 |
15 Sep 09 |
nicklas |
168 |
<compilerarg value="${javac.arg}" /> |
1157 |
15 Sep 09 |
nicklas |
169 |
</javac> |
1157 |
15 Sep 09 |
nicklas |
170 |
</target> |
1239 |
07 Sep 10 |
nicklas |
171 |
|
1539 |
22 Feb 12 |
nicklas |
172 |
<target |
1539 |
22 Feb 12 |
nicklas |
173 |
name="install" |
1539 |
22 Feb 12 |
nicklas |
174 |
depends="jar" |
1539 |
22 Feb 12 |
nicklas |
175 |
> |
1539 |
22 Feb 12 |
nicklas |
176 |
<fail unless="base.plugins" message="base.plugins is not set to the path of BASE plug-ins directory." /> |
1539 |
22 Feb 12 |
nicklas |
177 |
<copy todir="${base.plugins}"> |
1539 |
22 Feb 12 |
nicklas |
178 |
<fileset file="${jar.name}" /> |
1539 |
22 Feb 12 |
nicklas |
179 |
</copy> |
1539 |
22 Feb 12 |
nicklas |
180 |
<echo>Copied '${jar.name}' to '${base.plugins}'.</echo> |
1539 |
22 Feb 12 |
nicklas |
181 |
</target> |
1539 |
22 Feb 12 |
nicklas |
182 |
|
1239 |
07 Sep 10 |
nicklas |
183 |
<target name="update-version"> |
1239 |
07 Sep 10 |
nicklas |
184 |
<echo>Setting version to: ${version}</echo> |
1239 |
07 Sep 10 |
nicklas |
185 |
|
1239 |
07 Sep 10 |
nicklas |
186 |
<echo>Mev.java</echo> |
1239 |
07 Sep 10 |
nicklas |
187 |
<replaceregexp |
1239 |
07 Sep 10 |
nicklas |
188 |
file="${src}/server/net/sf/basedb/mev/Mev.java" |
1239 |
07 Sep 10 |
nicklas |
189 |
match="public static final String VERSION = ".*";" |
1239 |
07 Sep 10 |
nicklas |
190 |
replace="public static final String VERSION = "${version}";" |
1239 |
07 Sep 10 |
nicklas |
191 |
encoding="UTF-8" |
1239 |
07 Sep 10 |
nicklas |
192 |
/> |
1239 |
07 Sep 10 |
nicklas |
193 |
|
1239 |
07 Sep 10 |
nicklas |
194 |
<echo>extensions.xml</echo> |
1239 |
07 Sep 10 |
nicklas |
195 |
<replaceregexp |
1239 |
07 Sep 10 |
nicklas |
196 |
file="META-INF/extensions.xml" |
1239 |
07 Sep 10 |
nicklas |
197 |
match="<version>.*</version>" |
1239 |
07 Sep 10 |
nicklas |
198 |
replace="<version>${version}</version>" |
1239 |
07 Sep 10 |
nicklas |
199 |
encoding="UTF-8" |
1239 |
07 Sep 10 |
nicklas |
200 |
/> |
1239 |
07 Sep 10 |
nicklas |
201 |
|
1239 |
07 Sep 10 |
nicklas |
202 |
<replaceregexp |
1395 |
15 Sep 11 |
nicklas |
203 |
file="META-INF/extensions.xml" |
1395 |
15 Sep 11 |
nicklas |
204 |
match="<min-base-version>.*</min-base-version>" |
1395 |
15 Sep 11 |
nicklas |
205 |
replace="<min-base-version>${depend.base-version}</min-base-version>" |
1239 |
07 Sep 10 |
nicklas |
206 |
encoding="UTF-8" |
1239 |
07 Sep 10 |
nicklas |
207 |
/> |
1239 |
07 Sep 10 |
nicklas |
208 |
<echo>Don't forget to commit the changes to the subversion repository!</echo> |
1239 |
07 Sep 10 |
nicklas |
209 |
</target> |
1239 |
07 Sep 10 |
nicklas |
210 |
|
1157 |
15 Sep 09 |
nicklas |
211 |
<target |
666 |
18 Apr 08 |
nicklas |
212 |
name="checkjar" |
1395 |
15 Sep 11 |
nicklas |
213 |
description="Checks that the required BASE JAR files exists." |
666 |
18 Apr 08 |
nicklas |
214 |
> |
1061 |
11 May 09 |
nicklas |
215 |
<available classname="net.sf.basedb.util.export.spotdata.AbstractBioAssaySetExporter" |
1383 |
22 Aug 11 |
martin |
216 |
classpathref="classpath" property="basecore" /> |
1071 |
15 May 09 |
nicklas |
217 |
<available classname="net.sf.basedb.plugins.util.Parameters" |
1383 |
22 Aug 11 |
martin |
218 |
classpathref="classpath" property="baseplugins" /> |
666 |
18 Apr 08 |
nicklas |
219 |
<available classname="net.sf.basedb.clients.web.extensions.toolbar.FixedButtonFactory" |
1383 |
22 Aug 11 |
martin |
220 |
classpathref="classpath" property="baseweb" /> |
974 |
26 Feb 09 |
nicklas |
221 |
<available classname="net.sf.basedb.info.BioAssaySetInfo" |
1383 |
22 Aug 11 |
martin |
222 |
classpathref="classpath" property="basewebservice" /> |
1395 |
15 Sep 11 |
nicklas |
223 |
<fail unless="basecore" message="Can't find base-core-${depend.base-version}.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." /> |
1395 |
15 Sep 11 |
nicklas |
224 |
<fail unless="baseplugins" message="Can't find base-coreplugins-${depend.base-version}.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." /> |
1395 |
15 Sep 11 |
nicklas |
225 |
<fail unless="baseweb" message="Can't find base-webclient-${depend.base-version}.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." /> |
1395 |
15 Sep 11 |
nicklas |
226 |
<fail unless="basewebservice" message="Can't find base-webservices-client-${depend.base-version}.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." /> |
1395 |
15 Sep 11 |
nicklas |
227 |
<echo>Found all requried BASE core JAR files.</echo> |
666 |
18 Apr 08 |
nicklas |
228 |
</target> |
690 |
12 May 08 |
nicklas |
229 |
|
1228 |
19 Aug 10 |
nicklas |
230 |
<target name="fixjars" description="Fix some of the original JAR files included with MEV"> |
1228 |
19 Aug 10 |
nicklas |
<!-- Re-package 'magetab-parser.jar' since it contains duplicate entries for each file --> |
1228 |
19 Aug 10 |
nicklas |
232 |
<jar |
1228 |
19 Aug 10 |
nicklas |
233 |
jarfile="./resources/jar/magetab-tmp.jar" |
1228 |
19 Aug 10 |
nicklas |
234 |
duplicate="preserve" |
1228 |
19 Aug 10 |
nicklas |
235 |
> |
1228 |
19 Aug 10 |
nicklas |
236 |
<zipfileset src="./resources/jar/magetab-parser.jar" /> |
1228 |
19 Aug 10 |
nicklas |
237 |
</jar> |
1228 |
19 Aug 10 |
nicklas |
238 |
<delete file="./resources/jar/magetab-parser.jar" /> |
1228 |
19 Aug 10 |
nicklas |
239 |
<move |
1228 |
19 Aug 10 |
nicklas |
240 |
file="./resources/jar/magetab-tmp.jar" |
1228 |
19 Aug 10 |
nicklas |
241 |
tofile="./resources/jar/magetab-parser.jar" |
1228 |
19 Aug 10 |
nicklas |
242 |
/> |
1228 |
19 Aug 10 |
nicklas |
<!-- Re-package 'goose.jar' since we want to sign it with our own key --> |
1228 |
19 Aug 10 |
nicklas |
244 |
<jar |
1228 |
19 Aug 10 |
nicklas |
245 |
jarfile="./resources/jar/goose-tmp.jar" |
1228 |
19 Aug 10 |
nicklas |
246 |
> |
1228 |
19 Aug 10 |
nicklas |
247 |
<zipfileset src="./resources/jar/goose.jar" excludes="**/*.DSA,**/*.SF"/> |
1228 |
19 Aug 10 |
nicklas |
248 |
</jar> |
1228 |
19 Aug 10 |
nicklas |
249 |
<delete file="./resources/jar/goose.jar" /> |
1228 |
19 Aug 10 |
nicklas |
250 |
<move |
1228 |
19 Aug 10 |
nicklas |
251 |
file="./resources/jar/goose-tmp.jar" |
1228 |
19 Aug 10 |
nicklas |
252 |
tofile="./resources/jar/goose.jar" |
1228 |
19 Aug 10 |
nicklas |
253 |
/> |
1228 |
19 Aug 10 |
nicklas |
254 |
</target> |
1228 |
19 Aug 10 |
nicklas |
255 |
|
976 |
26 Feb 09 |
nicklas |
256 |
<target name="signjars"> |
976 |
26 Feb 09 |
nicklas |
257 |
<signjar |
976 |
26 Feb 09 |
nicklas |
258 |
alias="mev-base" |
976 |
26 Feb 09 |
nicklas |
259 |
keystore="./jarsign/mev-base.key" |
976 |
26 Feb 09 |
nicklas |
260 |
storepass="mev-base" |
2211 |
03 Feb 14 |
nicklas |
261 |
tsaurl="${tsaurl}" |
976 |
26 Feb 09 |
nicklas |
262 |
lazy="true"> |
976 |
26 Feb 09 |
nicklas |
263 |
<fileset |
976 |
26 Feb 09 |
nicklas |
264 |
dir="./resources/jar" |
1228 |
19 Aug 10 |
nicklas |
265 |
includes="*.jar" |
976 |
26 Feb 09 |
nicklas |
266 |
/> |
976 |
26 Feb 09 |
nicklas |
267 |
</signjar> |
976 |
26 Feb 09 |
nicklas |
268 |
</target> |
976 |
26 Feb 09 |
nicklas |
269 |
|
690 |
12 May 08 |
nicklas |
270 |
<target |
690 |
12 May 08 |
nicklas |
271 |
name="download-lib" |
1395 |
15 Sep 11 |
nicklas |
272 |
description="Download base-core-3.x.jar, base-webclient-3.0.0.jar, base-coreplugins-3.x.jar and base-webservices-client-3.0x.jar" |
690 |
12 May 08 |
nicklas |
273 |
> |
690 |
12 May 08 |
nicklas |
274 |
<echo> |
690 |
12 May 08 |
nicklas |
275 |
------------------------------------------------------- |
690 |
12 May 08 |
nicklas |
276 |
NOTE! You may specifiy a different download location by |
690 |
12 May 08 |
nicklas |
277 |
creating the file './build.properties' and |
690 |
12 May 08 |
nicklas |
278 |
setting 'depend.jars' to the URL to download from. |
690 |
12 May 08 |
nicklas |
279 |
------------------------------------------------------- |
690 |
12 May 08 |
nicklas |
280 |
</echo> |
1395 |
15 Sep 11 |
nicklas |
281 |
<download-lib file="base-core-${depend.base-version}.jar" /> |
1395 |
15 Sep 11 |
nicklas |
282 |
<download-lib file="base-webclient-${depend.base-version}.jar" /> |
1395 |
15 Sep 11 |
nicklas |
283 |
<download-lib file="base-coreplugins-${depend.base-version}.jar" /> |
1395 |
15 Sep 11 |
nicklas |
284 |
<download-lib file="base-webservices-client-${depend.base-version}.jar" /> |
690 |
12 May 08 |
nicklas |
285 |
</target> |
690 |
12 May 08 |
nicklas |
286 |
|
690 |
12 May 08 |
nicklas |
287 |
<macrodef name="download-lib" description="Download BASE core JAR files"> |
690 |
12 May 08 |
nicklas |
288 |
<attribute name="file" /> |
690 |
12 May 08 |
nicklas |
289 |
<sequential> |
690 |
12 May 08 |
nicklas |
290 |
<get |
690 |
12 May 08 |
nicklas |
291 |
dest="lib/compile/@{file}" |
690 |
12 May 08 |
nicklas |
292 |
src="${depend.jars}/@{file}" |
690 |
12 May 08 |
nicklas |
293 |
usetimestamp="true" |
690 |
12 May 08 |
nicklas |
294 |
verbose="true" |
690 |
12 May 08 |
nicklas |
295 |
ignoreerrors="true" |
690 |
12 May 08 |
nicklas |
296 |
/> |
690 |
12 May 08 |
nicklas |
297 |
</sequential> |
690 |
12 May 08 |
nicklas |
298 |
</macrodef> |
666 |
18 Apr 08 |
nicklas |
299 |
</project> |