source: release-kits/wirk2/ant-scripts/create-distribution.xml@ 19479

Last change on this file since 19479 was 19479, checked in by oranfry, 15 years ago

make sure all build code (including windows stuff) is left out of the binary distribution

File size: 1.4 KB
Line 
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,.gstermrc"/></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>
Note: See TracBrowser for help on using the repository browser.