Ignore:
Timestamp:
2007-09-03T13:44:49+12:00 (17 years ago)
Author:
xiao
Message:

add a target to check out source code from the flax repository.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/build.xml

    r14165 r14404  
    7676  <property name="app.path"      value="/${app.name}"/>
    7777  <property name="app.version"   value="3.02"/>
     78
     79  <property name="flax.svn.root" value="http://svn.greenstone.org/flax"/>
    7880
    7981  <property name="svn.root" value="http://puka.cs.waikato.ac.nz/svn/greenstone"/>
     
    13641366    </echo>
    13651367  </target>
     1368  <target name="checkout-flax" depends="init" description="check out flax source code from another repository">
     1369    <echo>checking out flax ...</echo>
     1370    <mkdir dir="${basedir}/src/java/org/flax"/>
     1371    <mkdir dir="${basedir}/src/java/org/greenstone/gsdl3/flax"/>
     1372    <mkdir dir="${basedir}/web/WEB-INF/classes/flax"/>
     1373    <mkdir dir="${basedir}/web/interfaces/flax"/>
     1374    <mkdir dir="${basedir}/web/sites/flax"/>
     1375    <svn>
     1376
     1377      <checkout url="${flax.svn.root}/flax1.0/trunk/src/java/org/flax/" 
     1378                destPath="${basedir}/src/java/org/flax"/>
     1379      <checkout url="${flax.svn.root}/flax1.0/trunk/src/java/org/greenstone/gsdl3/flax/"
     1380                destPath="${basedir}/src/java/org/greenstone/gsdl3/flax"/>
     1381      <checkout url="${flax.svn.root}/flax1.0/trunk/web/WEB-INF/classes/flax/"
     1382                destPath="${basedir}/web/WEB-INF/classes/flax"/>
     1383      <checkout url="${flax.svn.root}/flax1.0/trunk/web/interfaces/flax/"
     1384                destPath="${basedir}/web/interfaces/flax"/>
     1385      <checkout url="${flax.svn.root}/flax1.0/trunk/web/sites/flax/"
     1386                destPath="${basedir}/web/sites/flax"/>
     1387    </svn>
     1388
     1389    <property name="coll.dir" value="${basedir}/web/sites/flax/collect"/>
     1390    <!-- betterfa -->
     1391    <unzip src="${coll.dir}/betterfa/archives/archives.zip" dest="${coll.dir}/betterfa/archives"/>
     1392    <unzip src="${coll.dir}/betterfa/import/import.zip" dest="${coll.dir}/betterfa/import"/>
     1393    <unzip src="${coll.dir}/betterfa/index/index.zip" dest="${coll.dir}/betterfa/index"/>
     1394    <!-- imagegue -->
     1395    <unzip src="${coll.dir}/imagegue/archives/archives.zip" dest="${coll.dir}/imagegue/archives"/>
     1396    <unzip src="${coll.dir}/imagegue/import/import.zip" dest="${coll.dir}/imagegue/import"/>
     1397    <unzip src="${coll.dir}/imagegue/index/index.zip" dest="${coll.dir}/imagegue/index"/>
     1398    <!-- wikill -->
     1399    <unzip src="${coll.dir}/wikill/archives/archives.zip" dest="${coll.dir}/wikill/archives"/>
     1400    <unzip src="${coll.dir}/wikill/import/import.zip" dest="${coll.dir}/wikill/import"/>
     1401    <unzip src="${coll.dir}/wikill/index/index.zip" dest="${coll.dir}/wikill/index"/>
     1402
     1403  </target>
    13661404
    13671405</project>
Note: See TracChangeset for help on using the changeset viewer.