root/release-kits/shared/greenstone2/ant-scripts/rk2-targets.xml @ 17953

Revision 17953, 1.4 KB (checked in by oranfry, 11 years ago)

changes for the source release kit

Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<!--
3        ..........................................................
4        August 2008
5        Targets for Greenstone2 release kits
6        Oran Fry
7        ..........................................................
8-->
9
10<project name="rk2-targets">
11
12    <property name="version.major" value="2"/>
13
14    <target name="gsdl-set-version-numbers">
15        <echo level="info">Setting version in src/lib/gsdlconf.h</echo>
16        <rsr file="${gsdl.basedir}/common-src/src/lib/gsdlconf.h" pattern="(#define GSDL_VERSION) &quot;.*&quot;" replacement="$1 &quot;${version}&quot;" />
17
18        <echo level="info">Setting version in Install.sh</echo>
19        <rsr file="${gsdl.basedir}/Install.sh" pattern="(echo &quot;Version: ).*(&quot; .*)" replacement="$1${version}$2" />
20
21        <echo level="info">Setting version in etc/VERSION</echo>
22        <rsr file="${gsdl.basedir}/etc/VERSION" pattern="(gsdl version: ).*" replacement="$1${version}" />
23    </target>
24
25    <target name="insert-export-to-cd-package">
26        <mkdir dir="${gsdl.basedir}/bin/windows"/>
27        <get src="http://greenstone.org/release-snapshots/server.exe" dest="${gsdl.basedir}/bin/windows/server.exe"/>
28        <get src="http://svn.greenstone.org/other-projects/trunk/winbin/bin/Setup.exe" dest="${gsdl.basedir}/bin/windows/Setup.exe"/>
29        <get src="http://svn.greenstone.org/other-projects/trunk/winbin/bin/gssetup.exe" dest="${gsdl.basedir}/bin/windows/gssetup.exe"/>
30    </target>
31
32</project>
Note: See TracBrowser for help on using the browser.