Changeset 29150 for gs3-extensions/solr/trunk
- Timestamp:
- 2014-07-17T16:34:45+12:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/solr/trunk/src/build.xml
r29139 r29150 6 6 <property name="src.home" value="${basedir}/src/java"/> 7 7 <property name="build.home" value="${basedir}/build"/> 8 <available property="ext.web.exists" file="${basedir}/web" type="dir" /> 8 9 9 10 <!-- greenstone3 paths --> … … 150 151 <unzip dest="${localsite.collectdir}/solr-jdbm-demo" src="${localsite.collectdir}/solr-jdbm-demo/index.zip" /> 151 152 152 <!-- copy the content of the web folder (avoiding the top-level .svn directory) --> 153 <available property="ext.web.exists" file="${basedir}/web" type="dir" />154 155 </target> 156 157 <target name=" add-service" depends="copy-files,compile"158 description="Run this target to setup the Solr extension for Greenstone3"> <!--if="ext.web.exists"-->159 160 <echo/>161 <echo>Copy to gsdl3 web: the content of the ${basedir}/web folder (excluding .svn)</echo>162 <copy todir="${web.extdir}">163 <dirset dir="${basedir}/web">164 <exclude name=".svn"/>165 </dirset> 166 </copy> 167 168 </target> 153 154 </target> 155 156 157 <!-- copy the content of the web folder (avoiding the top-level .svn directory) --> 158 <target name="copy-solr-web" if="ext.web.exists"> 159 <echo/> 160 <echo>Copy to gsdl3 web: the content of the ${basedir}/web folder (excluding .svn)</echo> 161 <copy todir="${web.extdir}"> 162 <dirset dir="${basedir}/web"> 163 <exclude name=".svn"/> 164 </dirset> 165 </copy> 166 </target> 167 168 <target name="add-service" depends="copy-solr-web,copy-files,compile" description="Run this target to setup the Solr extension for Greenstone3" /> 169 169 170 170 171 <target name="del-service"
Note:
See TracChangeset
for help on using the changeset viewer.