Changeset 17008

Show
Ignore:
Timestamp:
26.08.2008 14:18:10 (11 years ago)
Author:
ak19
Message:

Now it unpacks demo collections gs2mgppdemo and gs2mgdemo again. Also extracts the index.zip of gberg into the index folder.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/build.xml

    r16964 r17008  
    502502    <property name="import.zip" value="import.zip"/> 
    503503    <property name="metadata.zip" value="metadata.zip"/> 
    504     <property name="index.zip" value="index/index.zip"/> 
     504    <property name="index.zip" value="index.zip"/> 
    505505 
    506506    <echo message="installing collections..."/> 
     
    527527  </target> 
    528528 
    529   <target name="gs2mgdemo-install" if="gs2mgdemo.present"  depends="gs2mgdemo-prepare"> 
     529  <target name="gs2mgdemo-install" if="gs2mgdemo.present" depends="gs2mgdemo-prepare"> 
    530530    <echo> installing gs2mgdemo</echo> 
    531531    <unzip dest="${gs2mgdemo.dir}" src="${gs2mgdemo.dir}/${import.zip}" /> 
    532532    <unzip dest="${gs2mgdemo.dir}" src="${gs2mgdemo.dir}/${metadata.zip}" /> 
    533     <unzip dest="${gs2mgdemo.dir}/index" src="${gs2mgdemo.dir}/${index.zip}" /> 
     533    <unzip dest="${gs2mgdemo.dir}" src="${gs2mgdemo.dir}/${index.zip}" /> 
    534534    <!--Don't delete the zips, else doing an svn update will get them all over again.--> 
    535535    <!--<delete><fileset refid="gs2mgdemofiles"/></delete>--> 
     
    558558    <unzip dest="${gs2mgppdemo.dir}" src="${gs2mgppdemo.dir}/${import.zip}" /> 
    559559    <unzip dest="${gs2mgppdemo.dir}" src="${gs2mgppdemo.dir}/${metadata.zip}" /> 
    560     <unzip dest="${gs2mgppdemo.dir}/index" src="${gs2mgppdemo.dir}/${index.zip}" /> 
     560    <unzip dest="${gs2mgppdemo.dir}" src="${gs2mgppdemo.dir}/${index.zip}" /> 
    561561    <!--<delete><fileset refid="gs2mgppdemofiles"/></delete>--> 
    562562    <echo>collection gs2mgppdemo installed</echo> 
     
    566566    <property name="gberg.dir" value="${collect.dir}/gberg"/> 
    567567    <fileset id="gbergfiles" dir="${gberg.dir}"> 
    568       <include name="${index.zip}"/> 
     568      <include name="index/${index.zip}"/> 
    569569    </fileset> 
    570     <available file="${gberg.dir}/${index.zip}" property="gberg.present"/> 
     570    <available file="${gberg.dir}/index/${index.zip}" property="gberg.present"/> 
    571571  </target> 
    572572