Changeset 25491

Show
Ignore:
Timestamp:
26.04.2012 14:34:21 (8 years ago)
Author:
kjdon
Message:

lucene collection index.zip not inside index folder

Files:
1 modified

Legend:

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

    r25449 r25491  
    831831 
    832832 
    833   <target name="prepare-collections" depends="init"> 
     833  <target name="prepare-collections" depends="init" 
     834    description="Unpack all the collections from their svn zipped versions"> 
    834835    <property name="collect.dir" value="${web.home}/sites/localsite/collect"/> 
    835836    <property name="index.zip" value="index.zip"/> 
     
    884885  <target name="lucene-jdbm-demo-prepare" if="collect.dir"> 
    885886    <property name="lucene-jdbm-demo.dir" value="${collect.dir}/lucene-jdbm-demo"/> 
    886     <available file="${lucene-jdbm-demo.dir}/index/${index.zip}" property="lucene-jdbm-demo.present"/> 
     887    <available file="${lucene-jdbm-demo.dir}/${index.zip}" property="lucene-jdbm-demo.present"/> 
    887888  </target> 
    888889 
    889890  <target name="lucene-jdbm-demo-install" if="lucene-jdbm-demo.present" depends="lucene-jdbm-demo-prepare"> 
    890     <unzip dest="${lucene-jdbm-demo.dir}/index" src="${lucene-jdbm-demo.dir}/index/${index.zip}"/> 
     891    <unzip dest="${lucene-jdbm-demo.dir}" src="${lucene-jdbm-demo.dir}/${index.zip}"/> 
    891892    <echo>collection lucene-jdbm-demo installed</echo> 
    892893  </target>