Changeset 25214


Ignore:
Timestamp:
03/13/12 13:49:52 (9 years ago)
Author:
kjdon
Message:

added target to install lucene-jdbm-demo. Unzips index.zip, same as for other collections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/build.xml

    r25136 r25214  
    838838    <antcall target="gs2mgppdemo-install"/>
    839839    <antcall target="gberg-install"/>
     840    <antcall target="lucene-jdbm-demo-install"/>
    840841  </target>
    841842
     
    851852
    852853  <target name="gs2mgdemo-install" if="gs2mgdemo.present" depends="gs2mgdemo-prepare">
    853     <echo> installing gs2mgdemo</echo>
    854854    <unzip dest="${gs2mgdemo.dir}" src="${gs2mgdemo.dir}/${index.zip}" />
    855855    <echo>collection gs2mgdemo installed</echo>
     
    879879    <unzip dest="${gberg.dir}/index" src="${gberg.dir}/index/${index.zip}"/>
    880880    <echo>collection gberg installed</echo>
     881  </target>
     882
     883  <target name="lucene-jdbm-demo-prepare" if="collect.dir">
     884    <property name="lucene-jdbm-demo.dir" value="${collect.dir}/lucene-jdbm-demo"/>
     885    <available file="${lucene-jdbm-demo.dir}/index/${index.zip}" property="lucene-jdbm-demo.present"/>
     886  </target>
     887
     888  <target name="lucene-jdbm-demo-install" if="lucene-jdbm-demo.present" depends="lucene-jdbm-demo-prepare">
     889    <unzip dest="${lucene-jdbm-demo.dir}/index" src="${lucene-jdbm-demo.dir}/index/${index.zip}"/>
     890    <echo>collection lucene-jdbm-demo installed</echo>
    881891  </target>
    882892
Note: See TracChangeset for help on using the changeset viewer.