Index: /release-kits/lirk2/ant-scripts/build.xml
===================================================================
--- /release-kits/lirk2/ant-scripts/build.xml	(revision 16738)
+++ /release-kits/lirk2/ant-scripts/build.xml	(revision 16739)
@@ -7,11 +7,8 @@
 		..........................................................
 -->
+
 <project name="lirk2-build" default="lirk2">
 
 	<!-- CONSTANTS -->
-
-	<!-- set current month and year-->
-	<exec executable="date" outputproperty="current.month"><arg value="+%b"/></exec>
-	<exec executable="date" outputproperty="current.year"><arg value="+%Y"/></exec>
 
 	<!-- for the benefit of the shared scripts, set release-kit home -->
@@ -20,4 +17,5 @@
 	<!-- IMPORT OTHER ANT SCRIPTS -->
 	<import file="shared-ant-scripts/init.xml"/>
+	<import file="shared-ant-scripts/operations-on-gli.xml"/>
 	<import file="compile.xml"/>
 	<import file="create-distribution.xml"/>
@@ -27,8 +25,8 @@
 	<!-- THE MAIN TARGET -->
 	<target name="lirk2" depends="init">
-		<addressedcall target="compile"/>
-		<addressedcall target="create-distribution"/>
-		<addressedcall target="create-installer"/>
-		<addressedcall target="wrap"/>
+		<antcall target="compile"/>
+		<antcall target="create-distribution"/>
+		<antcall target="create-installer"/>
+		<antcall target="wrap"/>
 	</target>
 
Index: /release-kits/lirk2/ant-scripts/compile.xml
===================================================================
--- /release-kits/lirk2/ant-scripts/compile.xml	(revision 16738)
+++ /release-kits/lirk2/ant-scripts/compile.xml	(revision 16739)
@@ -5,96 +5,96 @@
 
 		<!-- checkout -->
-		<addressedcall target="checkout-gsdl-gli" />
+		<antcall target="checkout-gsdl-gli" />
 		
 		<!-- configure -->
-		<addressedcall target="add-static-to-configure-in"/>
-		<addressedcall target="set-environment-in-packages-configure"/>
-		<addressedcall target="run-configure"/>
-		<addressedcall target="makefiles-add-static"/>
+		<antcall target="add-static-to-configure-in"/>
+		<antcall target="set-environment-in-packages-configure"/>
+		<antcall target="run-configure"/>
+		<antcall target="makefiles-add-static"/>
 
 		<!-- make -->
-		<addressedcall target="run-make"/>
-		<addressedcall target="run-make-install"/>
-		<addressedcall target="copy-library-oai"/>
-		<addressedcall target="strip-execs"/>
+		<antcall target="run-make"/>
+		<antcall target="run-make-install"/>
+		<antcall target="copy-library-oai"/>
+		<antcall target="strip-execs"/>
 
 		<!-- build collections -->
-		<addressedcall target="build-demo-collection" />
+		<antcall target="build-demo-collection" />
 
 	</target>
 
 	<target name="checkout-gsdl-gli">
-		<if><bool><istrue value="${execute}"/></bool>
-			<svn>
-				<checkout url="${svn.root}/gsdl/${branch.path}" destPath="${basedir}/gsdl"/>
-				<checkout url="${svn.root}/gli/${branch.path}" destPath="${basedir}/gsdl/gli"/>
-			</svn>
-		</if>
+		<svn>
+			<checkout url="${svn.root}/gsdl/${branch.path}" destPath="${basedir}/gsdl"/>
+			<checkout url="${svn.root}/gli/${branch.path}" destPath="${basedir}/gsdl/gli"/>
+		</svn>
 	</target>
 
 	<target name="add-static-to-configure-in">
-		<if><bool><istrue value="${execute}"/></bool>
-			<rsr file="${basedir}/gsdl/configure.in" pattern="^LDFLAGS=.*$" replacement="LDFLAGS=-static"/>
-			<exec dir="${basedir}/gsdl" executable="autoconf" output="${basedir}/gsdl/configure"><arg value="configure.in"/></exec>
-		</if>
+		<rsr
+			file="${basedir}/gsdl/configure.in"
+			pattern="^LDFLAGS=.*$"
+			replacement="LDFLAGS=-static" />
+		<exec dir="${basedir}/gsdl" executable="autoconf" output="${basedir}/gsdl/configure"><arg value="configure.in"/></exec>
 	</target>
 
 	<target name="set-environment-in-packages-configure">
-		<if><bool><istrue value="${execute}"/></bool>
-			<rsr file="${basedir}/gsdl/common-src/packages/configure" pattern="^ENVIRONMENT=.*$" replacement="ENVIRONMENT=&quot;LDFLAGS=-static&quot;"/>
-			<rsr file="${basedir}/gsdl/build-src/packages/configure" pattern="^ENVIRONMENT=.*$" replacement="ENVIRONMENT=&quot;LDFLAGS=-static&quot;"/>
-
-		</if>
+		<rsr
+			file="${basedir}/gsdl/common-src/packages/configure"
+			pattern="^ENVIRONMENT=.*$"
+			replacement="ENVIRONMENT=&quot;LDFLAGS=-static&quot;" />
+		<rsr
+			file="${basedir}/gsdl/build-src/packages/configure"
+			pattern="^ENVIRONMENT=.*$"
+			replacement="ENVIRONMENT=&quot;LDFLAGS=-static&quot;" />
 	</target>
 
 	<target name="run-configure">
-		<if><bool><istrue value="${execute}"/></bool>
-			<exec dir="${basedir}/gsdl" executable="${basedir}/gsdl/configure">
-				<env key="LDFLAGS" value="-static"/>
-			</exec>
-		</if>
+		<exec dir="${basedir}/gsdl" executable="${basedir}/gsdl/configure">
+			<env key="LDFLAGS" value="-static"/>
+		</exec>
 	</target>
 
 	<target name="makefiles-add-static">
-		<if><bool><istrue value="${execute}"/></bool>
-			<rsr file="${basedir}/gsdl/build-src/packages/wv/wv-gs/Makefile" pattern="^LDFLAGS =.*$" replacement="LDFLAGS = -static" />
-			<rsr file="${basedir}/gsdl/build-src/packages/xlhtml/xlhtml-0.4.9.0/xlhtml/Makefile" pattern="^LDFLAGS =.*$" replacement="LDFLAGS = -static" />
-			<rsr file="${basedir}/gsdl/build-src/packages/xlhtml/xlhtml-0.4.9.0/ppthtml/Makefile" pattern="^LDFLAGS =.*$" replacement="LDFLAGS = -static" />
-			<rsr file="${basedir}/gsdl/build-src/packages/rtftohtml/rtftohtml_src/Makefile" pattern="(-o rtftohtml.{2}EXEEXT.{1})" replacement="$1 -static" />
-		</if>
+		<rsr
+			file="${basedir}/gsdl/build-src/packages/wv/wv-gs/Makefile"
+			pattern="^LDFLAGS =.*$"
+			replacement="LDFLAGS = -static" />
+		<rsr
+			file="${basedir}/gsdl/build-src/packages/xlhtml/xlhtml-0.4.9.0/xlhtml/Makefile"
+			pattern="^LDFLAGS =.*$"
+			replacement="LDFLAGS = -static" />
+		<rsr
+			file="${basedir}/gsdl/build-src/packages/xlhtml/xlhtml-0.4.9.0/ppthtml/Makefile"
+			pattern="^LDFLAGS =.*$"
+			replacement="LDFLAGS = -static" />
+		<rsr
+			file="${basedir}/gsdl/build-src/packages/rtftohtml/rtftohtml_src/Makefile"
+			pattern="(-o rtftohtml.{2}EXEEXT.{1})"
+			replacement="$1 -static" />
 	</target>
 
 	<target name="run-make">
-		<if><bool><istrue value="${execute}"/></bool>
-			<exec dir="${basedir}/gsdl" executable="make"/>
-		</if>
+		<exec dir="${basedir}/gsdl" executable="make"/>
 	</target>
 
 
 	<target name="run-make-install">
-		<if><bool><istrue value="${execute}"/></bool>
-			<exec dir="${basedir}/gsdl" executable="make"><arg value="install"/></exec>
-		</if>
+		<exec dir="${basedir}/gsdl" executable="make"><arg value="install"/></exec>
 	</target>
 
 	<target name="copy-library-oai">
-		<if><bool><istrue value="${execute}"/></bool>
-			<exec executable="cp"><arg line="${basedir}/gsdl/cgi-bin/library ${basedir}/gsdl/bin/linux/library"/></exec>
-			<exec executable="cp"><arg line="${basedir}/gsdl/cgi-bin/oaiserver ${basedir}/gsdl/bin/linux/oaiserver"/></exec>
-		</if>
+		<exec executable="cp"><arg line="${basedir}/gsdl/cgi-bin/library ${basedir}/gsdl/bin/linux/library"/></exec>
+		<exec executable="cp"><arg line="${basedir}/gsdl/cgi-bin/oaiserver ${basedir}/gsdl/bin/linux/oaiserver"/></exec>
 	</target>
 
 	<target name="strip-execs">
-		<if><bool><istrue value="${execute}"/></bool>
-			<exec dir="${basedir}/gsdl/bin/linux" executable="find">
-				<arg line="! -name . -type f -maxdepth 1 -exec strip {} &#59;"/>
-			</exec>
-		</if>
+		<exec dir="${basedir}/gsdl/bin/linux" executable="find">
+			<arg line="! -name . -type f -maxdepth 1 -exec strip {} &#59;"/>
+		</exec>
 	</target>
 
 	<target name="build-demo-collection">
-		<if><bool><istrue value="${execute}"/></bool>
-			<exec dir="${basedir}/gsdl" executable="${lirk2.home}/resources/build-demo.sh"/>
-		</if>
+		<exec dir="${basedir}/gsdl" executable="${lirk2.home}/resources/build-demo.sh"/>
 	</target>
 
Index: /release-kits/lirk2/ant-scripts/create-distribution.xml
===================================================================
--- /release-kits/lirk2/ant-scripts/create-distribution.xml	(revision 16738)
+++ /release-kits/lirk2/ant-scripts/create-distribution.xml	(revision 16739)
@@ -2,164 +2,109 @@
 <project name="lirk2-create-distribution" default="create-distribution">
 
+	<target name="create-distribution">
+		<antcall target="export-gsdl-gli" />
+		<antcall target="dist-set-version" />
+		<antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/distributions/web/gli"/></antcall>
+		<antcall target="drop-in-binaries" />
+		<antcall target="drop-in-demo-collection" />
+		<antcall target="drop-in-docs" />
+		<antcall target="compile-gli" />
+		<antcall target="tweak-files" />
+	</target>
 
-	<target name="create-distribution">
-		<addressedcall target="export-gsdl-gli" />
-		<addressedcall target="dist-set-version" />
-		<addressedcall target="dist-set-gli-version" />
-		<addressedcall target="drop-in-binaries" />
-		<addressedcall target="drop-in-demo-collection" />
-		<addressedcall target="drop-in-docs" />
-		<addressedcall target="compile-gli" />
-		<addressedcall target="create-gli-client-zip" />
-		<addressedcall target="tweak-files" />
+	<target name="export-gsdl-gli">
+		<mkdir dir="distributions"/>
+		<delete dir="distributions/web"/>
+		<svn>
+			<export srcurl="${svn.root}/gsdl/${branch.path}" destPath="distributions/web"/>
+			<export srcurl="${svn.root}/gli/${branch.path}" destPath="distributions/web/gli"/>
+		</svn>
+	</target>
+
+	<target name="dist-set-version">
+		<echo level="info">Setting version in src/lib/gsdlconf.h</echo>
+		<rsr file="${basedir}/distributions/web/common-src/src/lib/gsdlconf.h" pattern="(#define GSDL_VERSION) &quot;.*&quot;" replacement="$1 &quot;${version}&quot;" />
+
+		<echo level="info">Setting version in Install.sh</echo>
+		<rsr file="${basedir}/distributions/web/Install.sh" pattern="(echo &quot;Version: ).*(&quot; .*)" replacement="$1${version}$2" />
+
+		<echo level="info">Setting version in etc/VERSION</echo>
+		<rsr file="${basedir}/distributions/web/etc/VERSION" pattern="(gsdl version: ).*" replacement="$1${version}" />
+	</target>
+
+	<target name="drop-in-binaries">
+		<echo level="info">Dropping compiled binaries into distribution</echo>
+		<delete dir="distributions/web/bin/linux" />
+		<exec dir="${basedir}" executable="cp"><arg line="-r gsdl/bin/linux distributions/web/bin"/></exec>
+		<exec dir="${basedir}" executable="cp"><arg line="gsdl/cgi-bin/library distributions/web/cgi-bin"/></exec>
+		<exec dir="${basedir}" executable="cp"><arg line="gsdl/cgi-bin/oaiserver distributions/web/cgi-bin"/></exec>
+	</target>
+
+	<target name="drop-in-demo-collection">
+		<echo level="info">Dropping rebuilt demo collection into distribution</echo>
+		<delete dir="distributions/web/collect/demo" />
+		<exec dir="${basedir}" executable="cp"><arg line="-r gsdl/collect/demo distributions/web/collect"/></exec>
+	</target>
+
+	<target name="drop-in-docs">
+		<echo level="info">Dropping gsdl docs  into distribution</echo>
+		<copy todir="${basedir}/distributions/web" overwrite="true">
+			<fileset dir="${lirk2.home}/greenstone2/docs"/>
+		</copy>
+	</target>
+
+	<target name="compile-gli">
+		<echo>Compiling gli...</echo>
+		<exec dir="${basedir}/distributions/web/gli" executable="${basedir}/distributions/web/gli/makegli.sh"/>
+
+		<echo>Creating jar...</echo>
+		<exec dir="${basedir}/distributions/web/gli" executable="${basedir}/distributions/web/gli/makejar.sh"/>
+
+		<echo>Cleaning up intermediate files...</echo>
+		<delete dir="${basedir}/distributions/web/gli/jar"/>
+		<delete dir="${basedir}/distributions/web/gli/classes/org"/>
+
+		<echo>Putting gli server jar in a better place</echo>
+		<exec dir="${basedir}/distributions/web" executable="mv" failonerror="true">
+			<arg line="gli/GLIServer.jar bin/java" />
+		</exec>
+	</target>
+
+	<target name="tweak-files">
+		<echo level="info">Changing Install.sh to web release</echo>
+		<rsr file="${basedir}/distributions/web/Install.sh" pattern="^(iscdrom=).*" replacement="$1&quot;no&quot;" />
+
+		<echo level="info">Changing date and version in the docs</echo>
+		<!-- ar -->
+		<rsr file="${basedir}/distributions/web/READMEar.txt" pattern="(Ø§ÙØªØ§Ø±ÙØ® : \s*)(.*)" replacement="$1${month.ar} ${current.year}" />
+		<rsr file="${basedir}/distributions/web/READMEar.txt" pattern="(Ø§ÙÙØ³Ø®Ù : \s*)(.*)" replacement="$1${version}" />
+
+		<!-- es -->
+		<rsr file="${basedir}/distributions/web/READMEes.txt" pattern="^(Fecha\s*)(.*)" replacement="$1${month.es} de ${current.year}" />
+		<rsr file="${basedir}/distributions/web/READMEes.txt" pattern="^(Versi.?n\s*)(.*)" replacement="$1${version}" />
+		<!-- fr -->
+		<rsr file="${basedir}/distributions/web/READMEfr.txt" pattern="^(Date\s*)(.*)" replacement="$1${month.fr} ${current.year}" />
+		<rsr file="${basedir}/distributions/web/READMEfr.txt" pattern="^(Version\s*)(.*)" replacement="$1${version}" />
+		<!-- ru -->
+		<rsr file="${basedir}/distributions/web/READMEru.txt" pattern="^(ÐÐ°ÑÐ°\s*)(.*)" replacement="$1${month.ru} ${current.year}" />
+		<rsr file="${basedir}/distributions/web/READMEru.txt" pattern="^(ÐÐµÑÑÐžÑ\s*)(.*)" replacement="$1${version}" />
+		<!-- en -->
+		<rsr file="${basedir}/distributions/web/READMEen.txt" pattern="^(Date\s*)(.*)" replacement="$1${month.default} ${current.year}" />
+		<rsr file="${basedir}/distributions/web/READMEen.txt" pattern="^(Version\s*)(.*)" replacement="$1${version}" />
+
+		<!-- Support.htm -->
+		<rsr file="${basedir}/distributions/web/Support.htm" pattern="^(\s*Greenstone Digital Library version: ).*(&lt;br&gt;.*)" replacement="$1${version}$2"/>
+		<rsr file="${basedir}/distributions/web/Support.htm" pattern="^(\s*&lt;input.* name=&quot;gsdl version&quot;.* value=&quot;).*(&quot;.*&gt;)" replacement="$1${version}$2"/>
+
+		<echo level="info">Removing signed gatherer</echo>
+		<delete file="${basedir}/distributions/web/bin/java/SignedGatherer.jar" />
+
+		<echo level="info">Removing some unneeded stuff</echo>
+		<delete file="${basedir}/distributions/web/gli/.greenstonestore" />
+		<delete file="${basedir}/distributions/web/gli/gli4gs3.sh" />
+		<delete><fileset dir="${basedir}/distributions/web/gli" includes="*.bat"/></delete>
+		<delete><fileset dir="${basedir}/distributions/web" includes="*.bat"/></delete>
 
 	</target>
 
-	<target name="export-gsdl-gli">
-		<if><bool><istrue value="${execute}"/></bool>
-			
-			<mkdir dir="distributions"/>
-			<delete dir="distributions/web"/>
-			<svn>
-				<export srcurl="${svn.root}/gsdl/${branch.path}" destPath="distributions/web"/>
-				<export srcurl="${svn.root}/gli/${branch.path}" destPath="distributions/web/gli"/>
-			</svn>
-			
-		</if>
-	</target>
-
-	<target name="dist-set-version">
-		<if><bool><istrue value="${execute}"/></bool>
-
-			<echo level="info">Setting version in src/lib/gsdlconf.h</echo>
-			<rsr file="${basedir}/distributions/web/common-src/src/lib/gsdlconf.h" pattern="(#define GSDL_VERSION) &quot;.*&quot;" replacement="$1 &quot;${version}&quot;" />
-
-			<echo level="info">Setting version in Install.sh</echo>
-			<rsr file="${basedir}/distributions/web/Install.sh" pattern="(echo &quot;Version: ).*(&quot; .*)" replacement="$1${version}$2" />
-
-			<echo level="info">Setting version in etc/VERSION</echo>
-			<rsr file="${basedir}/distributions/web/etc/VERSION" pattern="(gsdl version: ).*" replacement="$1${version}" />
-
-		</if>
-	</target>
-
-	<target name="dist-set-gli-version">
-		<if><bool><istrue value="${execute}"/></bool>
-			<ant antfile="${lirk2.home}/ant-scripts/shared-ant-scripts/operations-on-gli.xml" dir="${basedir}/distributions/web/gli" target="set-version-numbers"/>
-		</if>
-	</target>
-
-	<target name="drop-in-binaries">
-		<if><bool><istrue value="${execute}"/></bool>
-			<echo level="info">Dropping compiled binaries into distribution</echo>
-			<delete dir="distributions/web/bin/linux" />
-			<exec dir="${basedir}" executable="cp"><arg line="-r gsdl/bin/linux distributions/web/bin"/></exec>
-			<exec dir="${basedir}" executable="cp"><arg line="gsdl/cgi-bin/library distributions/web/cgi-bin"/></exec>
-			<exec dir="${basedir}" executable="cp"><arg line="gsdl/cgi-bin/oaiserver distributions/web/cgi-bin"/></exec>
-		</if>
-	</target>
-
-	<target name="drop-in-demo-collection">
-		<if><bool><istrue value="${execute}"/></bool>
-			<echo level="info">Dropping rebuilt demo collection into distribution</echo>
-			<delete dir="distributions/web/collect/demo" />
-			<exec dir="${basedir}" executable="cp"><arg line="-r gsdl/collect/demo distributions/web/collect"/></exec>
-		</if>
-	</target>
-
-	<target name="drop-in-docs">
-		<if><bool><istrue value="${execute}"/></bool>
-			<echo level="info">Dropping gsdl docs  into distribution</echo>
-			<copy todir="${basedir}/distributions/web" overwrite="true">
-				<fileset dir="${lirk2.home}/greenstone2/docs"/>
-			</copy>
-		</if>
-	</target>
-
-	<target name="compile-gli">
-		<if><bool><istrue value="${execute}"/></bool>
-
-			<echo>Compiling gli...</echo>
-			<exec dir="${basedir}/distributions/web/gli" executable="${basedir}/distributions/web/gli/makegli.sh"/>
-
-			<echo>Creating jar...</echo>
-			<exec dir="${basedir}/distributions/web/gli" executable="${basedir}/distributions/web/gli/makejar.sh"/>
-
-			<echo>Cleaning up intermediate files...</echo>
-			<delete dir="${basedir}/distributions/web/gli/jar"/>
-			<delete dir="${basedir}/distributions/web/gli/classes/org"/>
-
-			<echo>Putting gli server jar in a better place</echo>
-			<exec dir="${basedir}/distributions/web" executable="mv" failonerror="true">
-				<arg line="gli/GLIServer.jar bin/java" />
-			</exec>
-
-		</if>
-	</target>
-
-	<target name="create-gli-client-zip">
-		<if><bool><istrue value="${execute}"/></bool>
-			<!--
-			# take a copy of GLI directory
-			&util::cp_r(&util::filename_cat($tmpdir, "gsdl", "gli"), $tmpdir);
-
-			my $client_dirname = "gli-client-" . $version_num;
-			rename ("gli", $client_dirname);
-			chdir(&util::filename_cat($tmpdir, $client_dirname));
-
-
-			# delete unnecessary stuff
-			`rm -rf clean.* document.* gems.* gli*.sh gli*.bat make*.sh make*.bat lib src`;
-			# make sure permissions are ok
-			`chmod a+x client-gli.sh client-gli.bat`;
-			chdir($tmpdir);
-
-			# zip up the client
-			&zip($client_dirname, $client_dirname, $tmpdir, 1);
-			-->
-		</if>
-	</target>
-
-
-	<target name="tweak-files">
-		<if><bool><istrue value="${execute}"/></bool>
-
-			<echo level="info">Changing Install.sh to web release</echo>
-			<rsr file="${basedir}/distributions/web/Install.sh" pattern="^(iscdrom=).*" replacement="$1&quot;no&quot;" />
-
-
-			<echo level="info">Changing date and version in the docs</echo>
-			<!-- ar -->
-			<rsr file="${basedir}/distributions/web/READMEar.txt" pattern="(Ø§ÙØªØ§Ø±ÙØ® : \s*)(.*)" replacement="$1${month.ar} ${current.year}" />
-			<rsr file="${basedir}/distributions/web/READMEar.txt" pattern="(Ø§ÙÙØ³Ø®Ù : \s*)(.*)" replacement="$1${version}" />
-
-			<!-- es -->
-			<rsr file="${basedir}/distributions/web/READMEes.txt" pattern="^(Fecha\s*)(.*)" replacement="$1${month.es} de ${current.year}" />
-			<rsr file="${basedir}/distributions/web/READMEes.txt" pattern="^(Versi.?n\s*)(.*)" replacement="$1${version}" />
-			<!-- fr -->
-			<rsr file="${basedir}/distributions/web/READMEfr.txt" pattern="^(Date\s*)(.*)" replacement="$1${month.fr} ${current.year}" />
-			<rsr file="${basedir}/distributions/web/READMEfr.txt" pattern="^(Version\s*)(.*)" replacement="$1${version}" />
-			<!-- ru -->
-			<rsr file="${basedir}/distributions/web/READMEru.txt" pattern="^(ÐÐ°ÑÐ°\s*)(.*)" replacement="$1${month.ru} ${current.year}" />
-			<rsr file="${basedir}/distributions/web/READMEru.txt" pattern="^(ÐÐµÑÑÐžÑ\s*)(.*)" replacement="$1${version}" />
-			<!-- en -->
-			<rsr file="${basedir}/distributions/web/READMEen.txt" pattern="^(Date\s*)(.*)" replacement="$1${month.default} ${current.year}" />
-			<rsr file="${basedir}/distributions/web/READMEen.txt" pattern="^(Version\s*)(.*)" replacement="$1${version}" />
-
-			<!-- Support.htm -->
-			<rsr file="${basedir}/distributions/web/Support.htm" pattern="^(\s*Greenstone Digital Library version: ).*(&lt;br&gt;.*)" replacement="$1${version}$2"/>
-			<rsr file="${basedir}/distributions/web/Support.htm" pattern="^(\s*&lt;input.* name=&quot;gsdl version&quot;.* value=&quot;).*(&quot;.*&gt;)" replacement="$1${version}$2"/>
-
-			<echo level="info">Removing signed gatherer</echo>
-			<delete file="${basedir}/distributions/web/bin/java/SignedGatherer.jar" />
-
-			<echo level="info">Removing some unneeded stuff</echo>
-			<delete file="${basedir}/distributions/web/gli/.greenstonestore" />
-			<delete file="${basedir}/distributions/web/gli/gli4gs3.sh" />
-			<delete><fileset dir="${basedir}/distributions/web/gli" includes="*.bat"/></delete>
-			<delete><fileset dir="${basedir}/distributions/web" includes="*.bat"/></delete>
-
-		</if>
-	</target>
-
 </project>
Index: /release-kits/lirk2/ant-scripts/create-installer.xml
===================================================================
--- /release-kits/lirk2/ant-scripts/create-installer.xml	(revision 16738)
+++ /release-kits/lirk2/ant-scripts/create-installer.xml	(revision 16739)
@@ -3,76 +3,72 @@
 
 	<target name="create-installer">
-		<addressedcall target="setup-for-installer-creation"/>
-		<addressedcall target="compile-installer"/>
+		<antcall target="setup-for-installer-creation"/>
+		<antcall target="compile-installer"/>
 	</target>
 
 	<target name="setup-for-installer-creation">
-		<if><bool><istrue value="${execute}"/></bool>
 
-			<echo>Getting things ready to compile the installer</echo>
-			<mkdir dir="${basedir}/installer/classes"/>
-			<copy todir="${basedir}/installer" file="${lirk2.home}/installer/antinstall-config.xml" overwrite="true"/>
-			<copy todir="${basedir}/installer" file="${lirk2.home}/installer/build.xml" overwrite="true"/>
-			<copy todir="${basedir}/installer/classes" overwrite="true">
-				<fileset dir="${lirk2.home}/greenstone2/installer-classes"/>
-				<fileset dir="${lirk2.home}/ant-scripts/tasks/orans" includes="RegexSearchReplace.class" />
-			</copy>
+		<echo>Getting things ready to compile the installer</echo>
+		<mkdir dir="${basedir}/installer/classes"/>
+		<copy todir="${basedir}/installer" file="${lirk2.home}/installer/antinstall-config.xml" overwrite="true"/>
+		<copy todir="${basedir}/installer" file="${lirk2.home}/installer/build.xml" overwrite="true"/>
+		<copy todir="${basedir}/installer/classes" overwrite="true">
+			<fileset dir="${lirk2.home}/greenstone2/installer-classes"/>
+			<fileset dir="${lirk2.home}/ant-scripts/tasks/orans" includes="RegexSearchReplace.class" />
+		</copy>
 
-			<!-- put the concrete values of things in the config -->
-			<rsr file="${basedir}/installer/antinstall-config.xml" pattern="@version@" replacement="${version}"/>
-			<rsr file="${basedir}/installer/antinstall-config.xml" pattern="@component.size.java@" replacement="${component.size.linux-java}"/>
-			<rsr file="${basedir}/installer/build.xml" pattern="@java.min.version@" replacement="${java.min.version}"/>
-			<rsr file="${basedir}/installer/build.xml" pattern="@java.extracted@" replacement="${linux-java.extracted}"/>
+		<!-- put the concrete values of things in the config -->
+		<rsr file="${basedir}/installer/antinstall-config.xml" pattern="@version@" replacement="${version}"/>
+		<rsr file="${basedir}/installer/antinstall-config.xml" pattern="@component.size.java@" replacement="${component.size.linux-java}"/>
+		<rsr file="${basedir}/installer/build.xml" pattern="@java.min.version@" replacement="${java.min.version}"/>
+		<rsr file="${basedir}/installer/build.xml" pattern="@java.extracted@" replacement="${linux-java.extracted}"/>
 
-			<!-- put the concrete values of things in the text -->
-			<!-- default -->
-			<rsr file="${basedir}/installer/classes/resources/LanguagePack.properties" pattern="@version@" replacement="${version}"/>
-			<rsr file="${basedir}/installer/classes/resources/LanguagePack.properties" pattern="@java.min.version@" replacement="${java.min.version}"/>
-			<rsr file="${basedir}/installer/classes/resources/LanguagePack.properties" pattern="@bundled.version.java@" replacement="${bundled.version.linux-java}"/>
+		<!-- put the concrete values of things in the text -->
+		<!-- default -->
+		<rsr file="${basedir}/installer/classes/resources/LanguagePack.properties" pattern="@version@" replacement="${version}"/>
+		<rsr file="${basedir}/installer/classes/resources/LanguagePack.properties" pattern="@java.min.version@" replacement="${java.min.version}"/>
+		<rsr file="${basedir}/installer/classes/resources/LanguagePack.properties" pattern="@bundled.version.java@" replacement="${bundled.version.linux-java}"/>
 
-		</if>
 	</target>
 
 	<target name="compile-installer">
-		<if><bool><istrue value="${execute}"/></bool>
 
-			<!-- create the installer with java -->
-			<installer file="${basedir}/installer/greenstone-${version}-linux-with-java.jar"
-					compress="true"
-					extractType="NonExtractor"
-					installConfig="${basedir}/installer/antinstall-config.xml"
-					buildFile="${basedir}/installer/build.xml"
-					antInstallLib="${lirk2.home}/packages/ant-installer/lib"
-					antLib="${lirk2.home}/packages/ant/lib"
-					validateConfig="true"
-					failOnError="false"
-					icons="bluecurve">
+		<!-- create the installer with java -->
+		<installer file="${basedir}/installer/greenstone-${version}-linux-with-java.jar"
+				compress="true"
+				extractType="NonExtractor"
+				installConfig="${basedir}/installer/antinstall-config.xml"
+				buildFile="${basedir}/installer/build.xml"
+				antInstallLib="${lirk2.home}/packages/ant-installer/lib"
+				antLib="${lirk2.home}/packages/ant/lib"
+				validateConfig="true"
+				failOnError="false"
+				icons="bluecurve">
 
-				<zipfileset dir="${basedir}/installer/classes" includes="**/*" />
-				<zipfileset dir="${basedir}/distributions/web" includes="**/*"/>
+			<zipfileset dir="${basedir}/installer/classes" includes="**/*" />
+			<zipfileset dir="${basedir}/distributions/web" includes="**/*"/>
 
-			</installer>
+		</installer>
 
-			<!-- delete the 'bundled java only' lines from the installer config -->
-			<rsr file="${basedir}/installer/antinstall-config.xml" pattern=".*&lt;!-- bundled java only --&gt;" replacement=""/>
+		<!-- delete the 'bundled java only' lines from the installer config -->
+		<rsr file="${basedir}/installer/antinstall-config.xml" pattern=".*&lt;!-- bundled java only --&gt;" replacement=""/>
 
-			<!-- create the installer without java -->
-			<installer file="${basedir}/installer/greenstone-${version}-linux.jar"
-					compress="true"
-					extractType="NonExtractor"
-					installConfig="${basedir}/installer/antinstall-config.xml"
-					buildFile="${basedir}/installer/build.xml"
-					antInstallLib="${lirk2.home}/packages/ant-installer/lib"
-					antLib="${lirk2.home}/packages/ant/lib"
-					validateConfig="true"
-					failOnError="false"
-					icons="bluecurve">
+		<!-- create the installer without java -->
+		<installer file="${basedir}/installer/greenstone-${version}-linux.jar"
+				compress="true"
+				extractType="NonExtractor"
+				installConfig="${basedir}/installer/antinstall-config.xml"
+				buildFile="${basedir}/installer/build.xml"
+				antInstallLib="${lirk2.home}/packages/ant-installer/lib"
+				antLib="${lirk2.home}/packages/ant/lib"
+				validateConfig="true"
+				failOnError="false"
+				icons="bluecurve">
 
-				<zipfileset dir="${basedir}/installer/classes" includes="**/*" />
-				<zipfileset dir="${basedir}/distributions/web" includes="**/*"/>
+			<zipfileset dir="${basedir}/installer/classes" includes="**/*" />
+			<zipfileset dir="${basedir}/distributions/web" includes="**/*"/>
 
-			</installer>
+		</installer>
 
-		</if>
 	</target>
 
Index: /release-kits/lirk2/ant-scripts/wrap.xml
===================================================================
--- /release-kits/lirk2/ant-scripts/wrap.xml	(revision 16738)
+++ /release-kits/lirk2/ant-scripts/wrap.xml	(revision 16739)
@@ -3,94 +3,90 @@
 
 	<target name="wrap">
-		<addressedcall target="setup-for-wrapping"/>
-		<addressedcall target="compile-wrapper"/>
+		<antcall target="setup-for-wrapping"/>
+		<antcall target="compile-wrapper"/>
 	</target>
 
 
 	<target name="setup-for-wrapping">
-		<if><bool><istrue value="${execute}"/></bool>
 
-			<!-- create and setup the build directory -->
-			<mkdir dir="${basedir}/wrapped-installer/build"/>
-			<copy todir="${basedir}/wrapped-installer/build" file="${lirk2.home}/linux/wrapper.cpp"/>
-			<copy todir="${basedir}/wrapped-installer/build" file="${lirk2.home}/packages/search4j/libsearch4j.cpp"/>
-			<copy todir="${basedir}/wrapped-installer/build" file="${lirk2.home}/packages/search4j/libsearch4j.h"/>
+		<!-- create and setup the build directory -->
+		<mkdir dir="${basedir}/wrapped-installer/build"/>
+		<copy todir="${basedir}/wrapped-installer/build" file="${lirk2.home}/linux/wrapper.cpp"/>
+		<copy todir="${basedir}/wrapped-installer/build" file="${lirk2.home}/packages/search4j/libsearch4j.cpp"/>
+		<copy todir="${basedir}/wrapped-installer/build" file="${lirk2.home}/packages/search4j/libsearch4j.h"/>
 
-			<!-- copy bundled files -->
-			<copy todir="${basedir}/wrapped-installer/build" file="${lirk2.home}/linux/${linux-java.installer}"/>
-			<copy tofile="${basedir}/wrapped-installer/build/greenstone2.jar" file="${basedir}/installer/greenstone-${version}-linux.jar"/>
-			<copy tofile="${basedir}/wrapped-installer/build/greenstone2-with-java.jar" file="${basedir}/installer/greenstone-${version}-linux-with-java.jar"/>
+		<!-- copy bundled files -->
+		<copy todir="${basedir}/wrapped-installer/build" file="${lirk2.home}/linux/${linux-java.installer}"/>
+		<copy tofile="${basedir}/wrapped-installer/build/greenstone2.jar" file="${basedir}/installer/greenstone-${version}-linux.jar"/>
+		<copy tofile="${basedir}/wrapped-installer/build/greenstone2-with-java.jar" file="${basedir}/installer/greenstone-${version}-linux-with-java.jar"/>
 
-			<!-- substitute in real values -->
-			<rsr file="${basedir}/wrapped-installer/build/wrapper.cpp" pattern="@java.installer@" replacement="${linux-java.installer}"/>
-			<rsr file="${basedir}/wrapped-installer/build/wrapper.cpp" pattern="@installer.name@" replacement="greenstone2"/>
-			<rsr file="${basedir}/wrapped-installer/build/wrapper.cpp" pattern="@java.extracted@" replacement="${linux-java.extracted}"/>
-			<rsr file="${basedir}/wrapped-installer/build/wrapper.cpp" pattern="@java.min.version@" replacement="${java.min.version}"/>
+		<!-- substitute in real values -->
+		<rsr file="${basedir}/wrapped-installer/build/wrapper.cpp" pattern="@java.installer@" replacement="${linux-java.installer}"/>
+		<rsr file="${basedir}/wrapped-installer/build/wrapper.cpp" pattern="@installer.name@" replacement="greenstone2"/>
+		<rsr file="${basedir}/wrapped-installer/build/wrapper.cpp" pattern="@java.extracted@" replacement="${linux-java.extracted}"/>
+		<rsr file="${basedir}/wrapped-installer/build/wrapper.cpp" pattern="@java.min.version@" replacement="${java.min.version}"/>
 
-		</if>
 	</target>
 
 	<target name="compile-wrapper">
-		<if><bool><istrue value="${execute}"/></bool>
 
-			<echo level="info">create an object file (extension .o) for each file to bundle</echo>
-			<exec executable="/usr/bin/objcopy" dir="${basedir}/wrapped-installer/build">
-				<arg line="-I binary -O elf32-i386 -B i386 --redefine-sym _binary_greenstone2_jar_start=greenstone2jar --readonly-text greenstone2.jar greenstone2.jar.o"/>
-			</exec>
-			<exec executable="/usr/bin/objcopy" dir="${basedir}/wrapped-installer/build">
-				<arg line="-I binary -O elf32-i386 -B i386 --redefine-sym _binary_greenstone2_with_java_jar_start=greenstone2jar --readonly-text greenstone2-with-java.jar greenstone2-with-java.jar.o"/>
-			</exec>
-			<exec executable="/usr/bin/objcopy" dir="${basedir}/wrapped-installer/build">
-				<arg line="-I binary -O elf32-i386 -B i386 --redefine-sym _binary_${linux-java.installer}_start=java --readonly-text ${linux-java.installer} java.o"/>
-			</exec>
+		<echo level="info">create an object file (extension .o) for each file to bundle</echo>
+		<exec executable="/usr/bin/objcopy" dir="${basedir}/wrapped-installer/build">
+			<arg line="-I binary -O elf32-i386 -B i386 --redefine-sym _binary_greenstone2_jar_start=greenstone2jar --readonly-text greenstone2.jar greenstone2.jar.o"/>
+		</exec>
+		<exec executable="/usr/bin/objcopy" dir="${basedir}/wrapped-installer/build">
+			<arg line="-I binary -O elf32-i386 -B i386 --redefine-sym _binary_greenstone2_with_java_jar_start=greenstone2jar --readonly-text greenstone2-with-java.jar greenstone2-with-java.jar.o"/>
+		</exec>
+		<exec executable="/usr/bin/objcopy" dir="${basedir}/wrapped-installer/build">
+			<arg line="-I binary -O elf32-i386 -B i386 --redefine-sym _binary_${linux-java.installer}_start=java --readonly-text ${linux-java.installer} java.o"/>
+		</exec>
 
-			<!-- get size of greenstone.jar -->
-			<exec executable="ls" dir="${basedir}/wrapped-installer/build" outputproperty="greenstone2.jar.ls"><arg line="-l greenstone2.jar"/></exec>
-			<exec executable="sed" inputstring="${greenstone2.jar.ls}" outputproperty="greenstone2.jar.size"><arg line="-e 's/^[^\ ]*\ *[^\ ]*\ *[^\ ]*\ *[^\ ]*\ *\([0-9]*\).*$/\1/g'"/></exec>
+		<!-- get size of greenstone.jar -->
+		<exec executable="ls" dir="${basedir}/wrapped-installer/build" outputproperty="greenstone2.jar.ls"><arg line="-l greenstone2.jar"/></exec>
+		<exec executable="sed" inputstring="${greenstone2.jar.ls}" outputproperty="greenstone2.jar.size"><arg line="-e 's/^[^\ ]*\ *[^\ ]*\ *[^\ ]*\ *[^\ ]*\ *\([0-9]*\).*$/\1/g'"/></exec>
 
-			<!-- get size of greenstone-with-java.jar -->
-			<exec executable="ls" dir="${basedir}/wrapped-installer/build" outputproperty="greenstone2-with-java.jar.ls"><arg line="-l greenstone2-with-java.jar"/></exec>
-			<exec executable="sed" inputstring="${greenstone2-with-java.jar.ls}" outputproperty="greenstone2-with-java.jar.size"><arg line="-e 's/^[^\ ]*\ *[^\ ]*\ *[^\ ]*\ *[^\ ]*\ *\([0-9]*\).*$/\1/g'"/></exec>
+		<!-- get size of greenstone-with-java.jar -->
+		<exec executable="ls" dir="${basedir}/wrapped-installer/build" outputproperty="greenstone2-with-java.jar.ls"><arg line="-l greenstone2-with-java.jar"/></exec>
+		<exec executable="sed" inputstring="${greenstone2-with-java.jar.ls}" outputproperty="greenstone2-with-java.jar.size"><arg line="-e 's/^[^\ ]*\ *[^\ ]*\ *[^\ ]*\ *[^\ ]*\ *\([0-9]*\).*$/\1/g'"/></exec>
 
-			<!-- get size of java -->
-			<exec executable="ls" dir="${basedir}/wrapped-installer/build" outputproperty="java.ls"><arg line="-l ${linux-java.installer}"/></exec>
-			<exec executable="sed" inputstring="${java.ls}" outputproperty="java.size"><arg line="-e 's/^[^\ ]*\ *[^\ ]*\ *[^\ ]*\ *[^\ ]*\ *\([0-9]*\).*$/\1/g'"/></exec>
+		<!-- get size of java -->
+		<exec executable="ls" dir="${basedir}/wrapped-installer/build" outputproperty="java.ls"><arg line="-l ${linux-java.installer}"/></exec>
+		<exec executable="sed" inputstring="${java.ls}" outputproperty="java.size"><arg line="-e 's/^[^\ ]*\ *[^\ ]*\ *[^\ ]*\ *[^\ ]*\ *\([0-9]*\).*$/\1/g'"/></exec>
 
-			<echo level="info">creating the header file for no java version</echo>
-			<delete file="wrapper.h"/>
-			<exec executable="echo" output="${basedir}/wrapped-installer/build/wrapper.h"><arg line="extern const char greenstone2jar[${greenstone2.jar.size}];"/></exec>
+		<echo level="info">creating the header file for no java version</echo>
+		<delete file="wrapper.h"/>
+		<exec executable="echo" output="${basedir}/wrapped-installer/build/wrapper.h"><arg line="extern const char greenstone2jar[${greenstone2.jar.size}];"/></exec>
 
-			<echo level="info">compile the wrapper program</echo>
-			<exec executable="g++" dir="${basedir}/wrapped-installer/build">
-				<arg line="-Wall -static -static-libgcc -c -o wrapper.o wrapper.cpp"/>
-			</exec>
+		<echo level="info">compile the wrapper program</echo>
+		<exec executable="g++" dir="${basedir}/wrapped-installer/build">
+			<arg line="-Wall -static -static-libgcc -c -o wrapper.o wrapper.cpp"/>
+		</exec>
 
-			<echo level="info">compile libsearch4j</echo>
-			<exec executable="g++" dir="${basedir}/wrapped-installer/build">
-				<arg line="-Wall -static -static-libgcc -c -o libsearch4j.o libsearch4j.cpp"/>
-			</exec>
+		<echo level="info">compile libsearch4j</echo>
+		<exec executable="g++" dir="${basedir}/wrapped-installer/build">
+			<arg line="-Wall -static -static-libgcc -c -o libsearch4j.o libsearch4j.cpp"/>
+		</exec>
 
-			<echo level="info">link, bundling the files to be bundled</echo>
-			<exec executable="g++" dir="${basedir}/wrapped-installer/build">
-				<arg line="-static -static-libgcc -o  ../greenstone-${version}-linux.bin wrapper.o libsearch4j.o greenstone2.jar.o"/>
-			</exec>
+		<echo level="info">link, bundling the files to be bundled</echo>
+		<exec executable="g++" dir="${basedir}/wrapped-installer/build">
+			<arg line="-static -static-libgcc -o  ../greenstone-${version}-linux.bin wrapper.o libsearch4j.o greenstone2.jar.o"/>
+		</exec>
 
-			<echo level="info">creating the header file for bundled java version</echo>
-			<delete file="wrapper.h"/>
-			<exec executable="echo" output="${basedir}/wrapped-installer/build/wrapper.h"><arg line="extern const char greenstone2jar[${greenstone2-with-java.jar.size}];"/></exec>
-			<exec executable="echo" output="${basedir}/wrapped-installer/build/wrapper.h" append="true"><arg line="extern const char java[${java.size}];"/></exec>
-			<exec executable="echo" output="${basedir}/wrapped-installer/build/wrapper.h" append="true"><arg line="#define java_is_bundled yes"/></exec>
+		<echo level="info">creating the header file for bundled java version</echo>
+		<delete file="wrapper.h"/>
+		<exec executable="echo" output="${basedir}/wrapped-installer/build/wrapper.h"><arg line="extern const char greenstone2jar[${greenstone2-with-java.jar.size}];"/></exec>
+		<exec executable="echo" output="${basedir}/wrapped-installer/build/wrapper.h" append="true"><arg line="extern const char java[${java.size}];"/></exec>
+		<exec executable="echo" output="${basedir}/wrapped-installer/build/wrapper.h" append="true"><arg line="#define java_is_bundled yes"/></exec>
 
-			<echo level="info">recompile the wrapper program</echo>
-			<exec executable="g++" dir="${basedir}/wrapped-installer/build">
-				<arg line="-Wall -static -static-libgcc -c -o wrapper.o wrapper.cpp"/>
-			</exec>
+		<echo level="info">recompile the wrapper program</echo>
+		<exec executable="g++" dir="${basedir}/wrapped-installer/build">
+			<arg line="-Wall -static -static-libgcc -c -o wrapper.o wrapper.cpp"/>
+		</exec>
 
-			<echo level="info">relink, bundling the files to be bundled</echo>
-			<exec executable="g++" dir="${basedir}/wrapped-installer/build">
-				<arg line="-static -static-libgcc -o  ../greenstone-${version}-linux-with-java.bin wrapper.o libsearch4j.o greenstone2-with-java.jar.o java.o"/>
-			</exec>
+		<echo level="info">relink, bundling the files to be bundled</echo>
+		<exec executable="g++" dir="${basedir}/wrapped-installer/build">
+			<arg line="-static -static-libgcc -o  ../greenstone-${version}-linux-with-java.bin wrapper.o libsearch4j.o greenstone2-with-java.jar.o java.o"/>
+		</exec>
 
-		</if>
 	</target>
 
