1 | <?xml version="1.0" encoding="utf-8" ?>
|
---|
2 | <project name="wirk2-create-distribution" default="create-distribution">
|
---|
3 |
|
---|
4 | <target name="create-distribution">
|
---|
5 |
|
---|
6 | <antcall target="copy-compiled-to-dist"/> <!-- from init -->
|
---|
7 | <antcall target="dist-clean-sourcecode"/> <!-- from rk2-targets -->
|
---|
8 |
|
---|
9 | <antcall target="insert-uninstaller"><param name="script-format" value="bat"/></antcall> <!-- from rk2-targets -->
|
---|
10 | <antcall target="copy-server"/>
|
---|
11 |
|
---|
12 | <antcall target="remove-unneeded-files" />
|
---|
13 | <antcall target="strip-svn-dirs"><param name="dir" value="${basedir}/distributions/web"/></antcall>
|
---|
14 | <antcall target="create-needed-empty-files"><param name="gsdl.basedir" value="distributions/web"/></antcall>
|
---|
15 |
|
---|
16 | <antcall target="create-binary-zip-windows"/>
|
---|
17 |
|
---|
18 | </target>
|
---|
19 |
|
---|
20 | <target name="remove-unneeded-files">
|
---|
21 | <delete dir="distributions/web/uninstaller"/>
|
---|
22 | <delete file="${basedir}/distributions/web/gli/.greenstonestore" />
|
---|
23 | <delete dir="${basedir}/distributions/web/bin/linux" />
|
---|
24 | <delete><fileset dir="${basedir}/distributions/web" includes="*.bash,*.sh,*.csh,Support.htm,install-sh,configure,configure.in,config.sub,config.guess,config.h.in,configtest.pl,Makefile.in,aclocal.m4,acconfig.h,micotest.cpp,Install.sh"/></delete>
|
---|
25 | <delete><fileset dir="${basedir}/distributions/web/gli" includes="*.sh,*4gs3.bat"/></delete>
|
---|
26 | <delete file="${basedir}/distributions/web/bin/java/SignedGatherer.jar" />
|
---|
27 | </target>
|
---|
28 |
|
---|
29 |
|
---|
30 | <target name="copy-server">
|
---|
31 | <copy file="distributions/web/bin/windows/server.exe" tofile="distributions/web/server.exe"/>
|
---|
32 | </target>
|
---|
33 |
|
---|
34 | </project>
|
---|