Changeset 13307


Ignore:
Timestamp:
2006-11-20T15:46:24+13:00 (17 years ago)
Author:
kjdon
Message:

moved all the creating distribution targets out of here and into a supplementary build file (dist-resources/dist-build.xml). other tidying up stuff too probably.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/build.xml

    r13285 r13307  
    110110  </condition>
    111111
     112  <condition property="collection.building.enabled">
     113    <not>
     114      <isset property="disable.collection.building"/>
     115    </not>
     116  </condition>
     117
     118  <condition property="collection.building.enabled.windows">
     119    <and>
     120      <isset property="collection.building.enabled"/>
     121      <isset property="current.os.iswindows"/>
     122    </and>
     123  </condition>
     124 
     125  <condition property="collection.building.enabled.unix">
     126    <and>
     127      <isset property="collection.building.enabled"/>
     128      <isset property="current.os.isunix"/>
     129    </and>
     130  </condition>
     131 
    112132  <!-- ============= Base dirs for each package and component ============ -->
    113133  <property name="applet.home" value="${src.home}/org/greenstone/applet"/>
     
    319339    <available file="${basedir}/gli" property="gli.present"/>
    320340    <available file="${basedir}/gs2build" property="gs2build.present"/>
    321     <condition property="gsdl2.islocal">
     341 <!--   <condition property="gsdl2.islocal">
    322342      <or>
    323343    <not>
     
    326346    <equals arg1="" arg2="${gsdl2.installed.path}"/>
    327347      </or>
    328     </condition>
     348    </condition>-->
    329349    <condition property="tomcat.islocal">
    330350      <or>
     
    336356    </condition>
    337357   
    338       <echo>tomcat.port:${tomcat.port}, gli.present:${gli.present} gsdlislocal=${gsdl2.islocal} gs2build.present=${gs2build.present} gsdl2.installed.path = ${gsdl2.installed.path}</echo>
     358      <echo>tomcat.port:${tomcat.port}, gli.present:${gli.present} gs2build.present=${gs2build.present} gsdl2.installed.path = ${gsdl2.installed.path}</echo>
    339359    <condition property="proxy.present">
    340360      <and>
     
    349369      <and>
    350370    <isset property="current.os.ismac"/>
    351     <isset property="gsdl2.islocal"/>
     371    <not>
     372      <isset property="disable.collection.building"/>
     373    </not>
     374    <!--<isset property="gsdl2.islocal"/>-->
     375   
    352376      </and>
    353377    </condition>
     
    735759      </manifest>
    736760    </jar>
     761    <copy file="${build.home}/gsdl3.jar" todir="${web.lib}"/>
    737762    <jar destfile="${build.home}/GAI.jar">
    738763      <fileset dir="${build.home}">
     
    744769    </jar>
    745770     
    746     <copy file="${build.home}/gsdl3.jar" todir="${web.lib}"/>
    747771    <jar destfile="${build.home}/phind.jar">
    748772      <fileset dir="${build.home}">
     
    860884    </exec>
    861885  </target>
    862  
    863   <target name="distclean-packages-c++" depends="init">
    864     <!-- mg : just call the make target -->
    865     <exec executable="make" os="${os.unix}"
    866       dir="${mg.home}">
    867       <arg value="distclean"/>
    868     </exec>
    869     <!-- mgpp -->
    870     <exec executable="make" os="${os.unix}"
    871       dir="${mgpp.home}">
    872       <arg value="distclean"/>
    873     </exec>
    874     <!-- javagdbm -->
    875     <exec executable="make" os="${os.unix}"
    876       dir="${javagdbm.home}">
    877       <arg value="distclean"/>
    878     </exec>
    879   </target>
    880  
     886   
    881887  <target name="clean-windows-c++-packages" depends="init" if="current.os.iswindows"
    882888    description="Clean only the C/C++ packages">
     
    973979
    974980
    975   <target name="update-gs2building" if="gsdl2.islocal"
     981  <target name="update-gs2building" if="collection.building.enabled"
    976982    depends="init,cvsupdate-gs2building,rename-gs2build-files,configure-gs2building,clean-gs2building,compile-gs2building"
    977983    description="Update only the Greenstone 2 building components"/>
    978984
    979   <target name="cvsupdate-gs2building" if="gsdl2.islocal" depends="init,cvsupdate-gs2build,cvsupdate-gli" unless="nocvs.mode">
    980   </target>
    981   <target name="cvsupdate-gs2build" if="gsdl2.islocal" depends="init" unless="nocvs.mode">
     985  <target name="cvsupdate-gs2building" if="collection.building.enabled" depends="init,cvsupdate-gs2build,cvsupdate-gli" unless="nocvs.mode">
     986  </target>
     987  <target name="cvsupdate-gs2build" if="collection.building.enabled" depends="init" unless="nocvs.mode">
    982988    <!-- Note: can't do a -d update here cos it will get all of gsdl
    983989     also, an update doesn't get new files, so we do a checkout instead. -->
     
    985991  </target>
    986992 
    987   <target name="cvsupdate-gli" if="gsdl2.islocal" depends="init" unless="nocvs.mode">
     993  <target name="cvsupdate-gli" if="collection.building.enabled" depends="init" unless="nocvs.mode">
    988994    <cvs command="update -dP" dest="${gli.home}"/>
    989995  </target>
    990996
    991   <target name="prepare-gs2building" depends="init,prepare-gs2build,prepare-gli" if="gsdl2.islocal">
    992   </target>
    993 
    994   <target name="checkout-gs2build" depends="check-cvsroot,init" unless="nocvs.mode">
     997  <target name="prepare-gs2building" depends="init,prepare-gs2build,prepare-gli" if="collection.building.enabled">
     998  </target>
     999
     1000  <target name="checkout-gs2build" depends="check-cvsroot,init" if="collection.building.enabled" unless="nocvs.mode">
    9951001    <echo>checking out gs2build</echo>
    9961002    <cvs command="checkout -P" package="gs2build"/>
    9971003  </target>
    9981004
    999   <target name="prepare-gs2build" depends="init" if="gsdl2.islocal" unless="gs2build.present">
     1005  <target name="prepare-gs2build" depends="init" if="collection.building.enabled" unless="gs2build.present">
    10001006    <antcall target="checkout-gs2build"/>
    10011007    <!-- rename the .gs2build files -->
     
    10121018  </target>
    10131019 
    1014   <target name="get-windows-binaries" depends="init" if="current.os.iswindows">
     1020  <target name="get-windows-binaries" depends="init" if="collection.building.enabled.windows">
    10151021<!--    <copy todir="${basedir}/bin">
    10161022      <fileset dir="${basedir}/winbin/bin" includes="mg*.exe"/>
     
    10221028   </target>
    10231029 
    1024   <target name="unzip-windows-packages" depends="init" if="current.os.iswindows"> 
     1030  <target name="unzip-windows-packages" depends="init" if="collection.building.enabled.windows"> 
    10251031    <unzip src="${gs2build.home}/packages/windows/gdbm/gdbm.zip"
    10261032    dest="${gs2build.home}/packages/windows/gdbm"/>
     
    10511057  </target>
    10521058
    1053   <target name="rename-gs2build-files" depends="rename-gs2build-files-unix,rename-gs2build-files-windows"/>
    1054 
    1055   <target name="rename-gs2build-files-windows" if="current.os.iswindows">
     1059
     1060  <target name="rename-gs2build-files" depends="rename-gs2build-files-unix,rename-gs2build-files-windows" if="collection.building.enabled"/>
     1061
     1062  <target name="rename-gs2build-files-windows" if="collection.building.enabled.windows">
    10561063    <!-- we want a windows path in the setup.bat file -->
    10571064    <pathconvert targetos="windows" property="gs2build.home.windows">
     
    10681075    </copy> 
    10691076  </target>
    1070   <target name="rename-gs2build-files-unix" if="current.os.isunix">
     1077 
     1078  <target name="rename-gs2build-files-unix" if="collection.building.enabled.unix">
    10711079    <property name="gs2build-extra.home" value="${gs2build.home}/gs2build-extra"/>
    10721080    <copy file="${gs2build-extra.home}/configure" tofile="${gs2build.home}/configure"/>   
     
    10801088   
    10811089  </target>
    1082   <target name="prepare-gli" depends="init" if="gsdl2.islocal" unless="gli.present">
     1090 
     1091  <target name="prepare-gli" depends="init" if="collection.building.enabled" unless="gli.present">
    10831092    <antcall target="checkout-gli"/>
    10841093  </target>
    10851094 
    1086   <target name="checkout-gli" depends="check-cvsroot,init" if="gsdl2.islocal" unless="nocvs.mode">
     1095  <target name="checkout-gli" depends="check-cvsroot,init" if="collection.building.enabled" unless="nocvs.mode">
    10871096    <echo>checking out gli</echo>
    10881097    <cvs command="checkout -P" package="gli"/>
    10891098  </target>
    10901099   
    1091   <target name="configure-gs2building" depends="init" if="gsdl2.islocal"
     1100  <target name="configure-gs2building" depends="init" if="collection.building.enabled"
    10921101    description="Configure only the Greenstone 2 building components">
    10931102    <exec executable="${gs2build.home}/configure" os="${os.linux},${os.solaris}"
     
    11031112
    11041113  <target name="clean-gs2building" depends="init,clean-gli,clean-gs2build"
    1105     description="Clean only the Greenstone 2 building components"/>
    1106   <target name="clean-gli" depends="init" if="gsdl2.islocal">
     1114    description="Clean only the Greenstone 2 building components"
     1115    if="collection.building.enabled"/>
     1116 
     1117  <target name="clean-gli" depends="init" if="collection.building.enabled">
    11071118    <!-- gli -->
    11081119    <property name="gli.home" value="${basedir}/gli"/>
     
    11141125      resolveExecutable="true"/>
    11151126  </target>
    1116   <target name="clean-gs2build" depends="init" if="gsdl2.islocal">
     1127 
     1128  <target name="clean-gs2build" depends="init" if="collection.building.enabled">
    11171129    <!-- gs2build -->
    11181130    <!--linux:  -->
     
    11221134    <!-- windows: -->   
    11231135  </target>
    1124   <target name="distclean-gs2build" depends="init" if="gsdl2.islocal">
     1136 
     1137  <target name="distclean-gs2build" depends="init" if="collection.building.enabled">
    11251138    <!-- gs2build -->
    11261139    <!--linux:  -->
     
    11311144  </target>
    11321145 
    1133   <target name="clean-windows-c++-gs2building" depends="init" if="current.os.iswindows"
     1146  <target name="clean-windows-c++-gs2building" depends="init" if="collection.building.enabled.windows"
    11341147    description="remove all object files and executables">
    11351148    <!-- run the setup script -->
     
    11421155  </target> 
    11431156
    1144   <target name="compile-gs2building" depends="init,compile-gs2build,compile-gli" if="gsdl2.islocal"
     1157  <target name="compile-gs2building" depends="init,compile-gs2build,compile-gli" if="collection.building.enabled"
    11451158    description="Compile only the Greenstone 2 building components">
    11461159  </target>
    1147   <target name="compile-gli" depends="init" if="gsdl2.islocal">
     1160 
     1161  <target name="compile-gli" depends="init" if="collection.building.enabled">
    11481162    <!-- gli -->
    11491163    <property name="gli.home" value="${basedir}/gli"/>
     
    11551169      resolveExecutable="true"/>
    11561170  </target>
    1157   <target name="compile-gs2build" depends="init" if="gsdl2.islocal">
     1171 
     1172  <target name="compile-gs2build" depends="init" if="collection.building.enabled">
    11581173    <!-- gs2build -->
    11591174    <!--linux: make, make install -->
     
    11651180    <antcall target="install-macos-extra"/>
    11661181  </target>
     1182 
    11671183    <!-- windows: -->
    1168    <target name="compile-windows-c++-gs2build" depends="init" if="current.os.iswindows"
     1184   <target name="compile-windows-c++-gs2build" depends="init" if="collection.building.enabled.windows"
    11691185    description="Use this if you want to compile the C++ code for the gs2build package">
    11701186    <!-- run the setup script -->
     
    11761192  </target>
    11771193 
    1178   <target name="gli" description="Run the Greenstone Librarian Interface" depends="gli-local,gli-external">
    1179   </target>
    1180 
    1181   <target name="gli-local" depends="init" if="gsdl2.islocal">
     1194  <target name="gli" description="Run the Greenstone Librarian Interface" depends="init" if="collection.building.enabled">
    11821195    <exec executable="${basedir}/gli/gli4gs3.sh" os="${os.linux},${os.solaris}" dir="${basedir}/gli" spawn="true">
    11831196      <env key="gsdl3path" path="${basedir}"/>
     
    11961209    </echo>
    11971210  </target>
    1198  
    1199   <target name="gli-external" depends="init" unless="gsdl2.islocal">
    1200     <exec executable="${gsdl2.installed.path}/gli/gli4gs3.sh" os="${os.linux},${os.solaris}" dir="${gsdl2.installed.path}/gli" spawn="true">
    1201       <env key="gsdl3path" path="${basedir}"/>
    1202       <env key="gsdlpath"  path="${gsdl2.installed.path}"/>
    1203     </exec>
    1204     <exec executable="${gsdl2.installed.path}/gli/gli4gs3.sh" os="${os.mac}" dir="${gsdl2.installed.path}/gli" spawn="true">
    1205       <env key="gsdl3path" path="${basedir}"/>
    1206       <env key="gsdlpath"  path="${gsdl2.installed.path}"/>
    1207       <env key="DYLD_LIBRARY_PATH" path="${env.DYLD_LIBRARY_PATH}:${gdbm.installed.path}/lib"/>
    1208     </exec>
    1209     <exec executable="${gsdl2.installed.path}/gli/gli4gs3.bat" os="${os.windows}" dir="${gsdl2.installed.path}/gli" spawn="true">
    1210       <env key="GSDL3PATH" path="${basedir}"/>
    1211       <env key="GSDLPATH" path="${gsdl2.installed.path}"/>
    1212     </exec>
    1213     <echo>Running GLI from Ant means that you don't get to see any of the terminal output. If you have problems with GLI and want to see the output, please run the following in a terminal/command prompt:
    1214                           (Linux/Mac OS X     / Windows)
    1215 in greenstone3 directory: source gs3-setup.sh / gs3-setup
    1216 in gsdl directory:        source setup.bash   / setup
    1217 in gli directory:         gli4gs3.sh          / gli4gs3
    1218     </echo>
    1219   </target>
    1220 
     1211 
    12211212
    12221213<!-- ======================== TESTING Targets ========================= -->
     
    12491240
    12501241
    1251 <!-- ====================== DISTRIBUTION Targets ========================= -->
    1252 
    1253   <!-- these two, do we need tomcat and axis for compilation??-->
    1254   <target name="prepare-for-dist-windows" depends="init">
    1255     <cvs command="export -D '1 second ago'" package="mgpp"
    1256       dest="${src.packages.home}"
    1257       cvsRoot="${cvs.root}" />
    1258     <cvs command="export -D '1 second ago'" package="gs2build"
    1259       cvsRoot="${cvs.root}" />
    1260     <antcall target="unzip-windows-packages"/>
    1261     <antcall target="checkout-winbin"/>
    1262     <antcall target="get-windows-binaries"/>
    1263     <antcall target="get-perl-for-windows"/>
    1264     <antcall target="rename-gs2build-files-windows"/>
    1265     <!-- -->
    1266     <antcall target="compile-windows-c++"/>
    1267     <antcall target="compile-packages"/>
    1268    </target>
    1269 
    1270   <target name="prepare-for-dist-macos-1" depends="init">
    1271     <cvs command="export -D '1 second ago'" package="mgpp"
    1272       dest="${src.packages.home}"
    1273       cvsRoot="${cvs.root}" />
    1274     <cvs command="export -D '1 second ago'" package="gs2build"
    1275       cvsRoot="${cvs.root}" />
    1276     <antcall target="rename-gs2build-files-unix"/>
    1277     <antcall target="delete-windows-files"/>
    1278     <antcall target="get-macos-extra"/>
    1279     <antcall target="configure-c++"/>
    1280   </target>
    1281   <target name="prepare-for-dist-macos-2" depends="init">
    1282     <antcall target="compile-packages"/>
    1283     <antcall target="compile-gs2build"/>
    1284   </target>
    1285  
    1286   <target name="prepare-for-dist-linux-1" depends="init">
    1287     <cvs command="export -D '1 second ago'" package="mgpp"
    1288       dest="${src.packages.home}"
    1289       cvsRoot="${cvs.root}" />
    1290     <cvs command="export -D '1 second ago'" package="gs2build"
    1291       cvsRoot="${cvs.root}" />
    1292     <cvs command="export -D '1 second ago'" package="gli"
    1293       cvsRoot="${cvs.root}" />
    1294     <delete file="${gli.home}/gli.bat"/>
    1295     <delete file="${gli.home}/gli.sh"/>
    1296     <antcall target="rename-gs2build-files-unix"/>
    1297     <antcall target="unzip-windows-packages"/>
    1298     <!--<antcall target="checkout-winbin"/>
    1299     <antcall target="get-windows-binaries"/>
    1300     <antcall target="get-perl-for-windows"/>-->
    1301     <antcall target="get-macos-extra"/>
    1302     <antcall target="delete-windows-files"/>
    1303     <antcall target="prepare-tomcat"/>
    1304     <delete file="${packages.home}/apache-tomcat-5.5.12.zip"/>
    1305     <delete file="${packages.home}/apache-tomcat-5.5.12-compat.zip"/>
    1306     <antcall target="configure-tomcat"/>
    1307     <antcall target="prepare-axis"/>
    1308     <delete file="${packages.home}/axis-bin-1_2_1.zip"/>
    1309     <!-- delete old axis dir -->
    1310     <delete dir="${packages.home}/axis"/>
    1311     <antcall target="prepare-web"/>
    1312     <antcall target="prepare-collections"/>
    1313     <mkdir dir="Linux/bin"/>
    1314     <mkdir dir="Linux/lib/jni"/>
    1315     <mkdir dir="Darwin/bin"/>
    1316     <mkdir dir="Darwin/lib/jni"/>
    1317     <mkdir dir="Windows/lib/jni"/>
    1318     <mkdir dir="Windows/bin"/>
    1319     <mkdir dir="gs2build/bin/windows"/>
    1320     <mkdir dir="gs2build/bin/linux"/>
    1321   </target>
    1322  
    1323  
    1324   <target name="prepare-for-dist-linux-2" depends="init">
    1325     <antcall target="configure-c++"/>
    1326   </target>
    1327  
    1328   <target name="prepare-for-dist-linux-3" depends="init">
    1329     <antcall target="compile"/>
    1330   </target>
    1331  
    1332   <!-- need to compile linux and windows and mac bits, and copy to linux side
    1333   then this target should rearrange the files for the installer-->
    1334   <target name="prepare-for-dist-linux-4" depends="init">
    1335     <antcall target="clean-packages-c++"/>
    1336     <antcall target="distclean-packages-c++"/>
    1337     <antcall target="clean-gs2build"/>
    1338     <antcall target="distclean-gs2build"/>   
    1339     <antcall target="install-macos-extra"/>
    1340     <xslt in="build.xml" out="dist-build.xml" style="dist-resources/convert-build-xml.xsl"/>
    1341     <delete dir="${basedir}/build"/>
    1342     <delete dir="${basedir}/dist-resources"/>
    1343 
    1344     <!-- copy all the binaries into Linux dir-->
    1345     <copy todir="Linux">
    1346       <fileset dir="${basedir}">
    1347     <include name="*.sh"/>
    1348       </fileset>
    1349     </copy>
    1350     <move todir="Darwin">
    1351       <fileset dir="${basedir}">
    1352     <include name="*.sh"/>
    1353       </fileset>
    1354     </move>
    1355     <move todir="Windows">
    1356       <fileset dir="${basedir}">
    1357     <include name="*.bat"/>
    1358       </fileset>
    1359     </move>
    1360     <move todir="Linux/bin">
    1361       <fileset dir="bin">
    1362     <exclude name="script/**"/>
    1363       </fileset>
    1364     </move>
    1365     <move todir="Linux/lib/jni">
    1366       <fileset dir="lib/jni"/>
    1367     </move>
    1368     <!-- gs2build bits -->
    1369     <!-- Unix binaries -->
    1370     <mkdir dir="${gs2build.home}/Unix"/>
    1371     <move todir="${gs2build.home}/Unix/bin/linux">
    1372       <fileset dir="${gs2build.home}/bin/linux"/>
    1373     </move>
    1374     <move todir="${gs2build.home}/Unix/bin/darwin">
    1375       <fileset dir="${gs2build.home}/bin/darwin"/>
    1376     </move>
    1377     <!-- windows binaries -->
    1378     <mkdir dir="${gs2build.home}/Windows"/>
    1379     <move todir="${gs2build.home}/Windows/bin/windows">
    1380       <fileset dir="${gs2build.home}/bin/windows"/>
    1381     </move>
    1382     <!-- the source files - only install these if source is selected -->
    1383     <mkdir dir="${gs2build.home}/source"/>
    1384 
    1385     <!-- windows specific source-->
    1386     <mkdir dir="${gs2build.home}/source/Windows"/>
    1387     <property name="gs2build-extra.home" value="${gs2build.home}/gs2build-extra"/>
    1388     <copy file="${gs2build-extra.home}/win32.mak" tofile="${gs2build.home}/source/Windows/win32.mak"/>
    1389     <copy file="${gs2build-extra.home}/setup.bat" tofile="${gs2build.home}/source/Windows/setup.bat"/>
    1390     <move file="${gs2build.home}/WIN32cfg.h" tofile="${gs2build.home}/source/Windows/WIN32cfg.h"/>
    1391    
    1392     <!-- unix specific source -->
    1393     <mkdir dir="${gs2build.home}/source/Unix"/>
    1394     <move todir="${gs2build.home}/source/Unix/">
    1395       <fileset dir="${gs2build.home}">
    1396     <include name="config*"/>
    1397     <include name="ac*"/>
    1398     <include name="install-sh"/>
    1399     <include name="setup.bash"/>
    1400     <include name="Makefile.in"/>
    1401       </fileset>
    1402     </move>
    1403     <!-- general source files -->
    1404     <move todir="${gs2build.home}/source/src" failonerror="false">
    1405       <fileset dir="${gs2build.home}/src"/>
    1406     </move>
    1407     <delete dir="${gs2build.home}/src"/>
    1408     <move todir="${gs2build.home}/source/lib" failonerror="false">
    1409       <fileset dir="${gs2build.home}/lib"/>
    1410     </move>
    1411     <delete dir="${gs2build.home}/lib"/>
    1412     <copy file="${gs2build-extra.home}/lib.win32.mak" tofile="${gs2build.home}/source/lib/win32.mak"/>
    1413     <move todir="${gs2build.home}/source/packages" failonerror="false">
    1414       <fileset dir="${gs2build.home}/packages"/>
    1415     </move>
    1416     <delete dir="${gs2build.home}/packages"/>
    1417     <!-- clean up -->
    1418     <delete dir="${gs2build-extra.home}"/>
    1419    
    1420   </target>
    1421 
    1422   <target name="get-perl-for-windows" if="current.os.iswindows">
    1423     <get src="http://www.greenstone.org/gs3files/perl-for-windows.zip"
    1424       dest="${gs2build.home}/bin/windows/perl-for-windows.zip"
    1425       usetimestamp="true"/>
    1426     <unzip src="${gs2build.home}/bin/windows/perl-for-windows.zip"
    1427       dest="${gs2build.home}/bin/windows"/>
    1428     <delete file="${gs2build.home}/bin/windows/perl-for-windows.zip"/>
    1429   </target>
    1430 
    1431   <target name="delete-windows-files" depends="init" unless="current.os.iswindows">
    1432     <delete dir="${basedir}/winutil"/>
    1433     <delete>
    1434       <fileset dir="${lib.jni}" includes="*.dll"/>
    1435     </delete>
    1436   </target>
     1242
     1243
    14371244
    14381245  <target name="install-for-dist" depends="accept-properties,init,configure,configure-tomcat">
     
    14451252  </target>
    14461253
    1447   <target name="prepare-for-source-dist" depends="init">
    1448     <cvs command="export -D '1 second ago'" package="mgpp"
    1449       dest="${src.packages.home}"
    1450       cvsRoot="${cvs.root}" />
    1451     <cvs command="export -D '1 second ago'" package="gs2build"
    1452       cvsRoot="${cvs.root}" />
    1453     <cvs command="export -D '1 second ago'" package="gli"
    1454       cvsRoot="${cvs.root}" />
    1455     <delete file="${gli.home}/gli.bat"/>
    1456     <delete file="${gli.home}/gli.sh"/>
    1457     <antcall target="rename-gs2build-files-unix"/>
    1458     <antcall target="prepare-collections"/>
    1459     <antcall target="prepare-axis"/>
    1460     <delete file="${packages.home}/axis-bin-1_2_1.zip"/>
    1461     <!-- delete old axis dir -->
    1462     <delete dir="${packages.home}/axis"/>
    1463     <!-- download the mac XML parser just in case: it will only be unpacked if on a mac  -->
    1464     <get src="http://www.greenstone.org/gs3files/XML-Parser.tar.gz"
    1465       dest="${gs2build.home}/perllib/cpan/XML-Parser.tar.gz"
    1466       usetimestamp="true"/>
    1467     <xslt in="build.xml" out="dist-build.xml" style="dist-resources/convert-build-xml-source.xsl"/>
    1468     <delete dir="${basedir}/dist-resources"/>
    1469    
    1470   </target>
    14711254
    14721255  <target name="prepare-for-source" depends="init,unzip-windows-packages,rename-gs2build-files-windows,prepare-tomcat,prepare-web"/>
Note: See TracChangeset for help on using the changeset viewer.