2 |
|
<project name="iscream-server" default="usage"> |
3 |
|
|
4 |
|
<!-- |
5 |
< |
TODO: |
6 |
< |
install target |
7 |
< |
cvs version build (including cleanup) |
8 |
< |
sql table generation -- to be removed |
5 |
> |
TODO: cvs version build (including cleanup) |
6 |
|
--> |
7 |
|
|
8 |
|
<!-- |
38 |
|
javadoc - generate javadoc API |
39 |
|
clean - clean all generated files |
40 |
|
distclean - remove 'fetched' libraries + clean |
41 |
+ |
install - install server (use -Dprefix=/path/ switch) |
42 |
|
run - run the server |
43 |
|
</echo> |
44 |
|
</target> |
265 |
|
basedir="${BUILDDIR}" |
266 |
|
includes="uk/**/*.class" |
267 |
|
/> |
268 |
+ |
</target> |
269 |
+ |
|
270 |
+ |
<!-- |
271 |
+ |
===================================================== |
272 |
+ |
Install |
273 |
+ |
===================================================== |
274 |
+ |
--> |
275 |
+ |
|
276 |
+ |
<target name="install" depends="config, makejar"> |
277 |
+ |
<mkdir dir="${INSTALLDEST}"/> |
278 |
+ |
<mkdir dir="${INSTALLDEST}/etc"/> |
279 |
+ |
<mkdir dir="${INSTALLDEST}/lib"/> |
280 |
+ |
<copy file="${BUILDDIR}/${SERVERJAR}" todir="${INSTALLDEST}"/> |
281 |
+ |
<copy file="${BUILDDIR}/run.sh" todir="${INSTALLDEST}"/> |
282 |
+ |
<copy file="${BUILDDIR}/run.bat" todir="${INSTALLDEST}"/> |
283 |
+ |
<copy todir="${INSTALLDEST}/lib" > |
284 |
+ |
<fileset dir="${LIBDIR}"> |
285 |
+ |
<include name="**/*.jar"/> |
286 |
+ |
<exclude name="**/CVS/*"/> |
287 |
+ |
</fileset> |
288 |
+ |
</copy> |
289 |
+ |
<copy todir="${INSTALLDEST}/etc" > |
290 |
+ |
<fileset dir="${BUILDDIR}/etc"> |
291 |
+ |
<include name="**/*"/> |
292 |
+ |
<exclude name="**/CVS/*"/> |
293 |
+ |
</fileset> |
294 |
+ |
</copy> |
295 |
+ |
<copy file="${BUILDDIR}/README" todir="${INSTALLDEST}"/> |
296 |
|
</target> |
297 |
|
|
298 |
|
</project> |