Changeset 35351


Ignore:
Timestamp:
2021-09-08T14:07:13+12:00 (3 years ago)
Author:
davidb
Message:

Adding in 'failonerror=true' as a result of testing where a missing supporting JAR caused an error when this target was run, however the rest of the 'install' task continued, making it hard to spot this error had occured. The error is significant as it meant solr.war was not generated, and so the Solr Demo collection failed to provide a search box (even though there should have been one), and when browsing by title, all the titles displayed as Untitled

File:
1 edited

Legend:

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

    r35347 r35351  
    16111611 
    16121612  <target name="install-solr-ext" depends="init" >
    1613     <exec executable="ant.bat" osfamily="windows" dir="${solr-ext.home}" spawn="false">
     1613    <exec executable="ant.bat" osfamily="windows" dir="${solr-ext.home}" spawn="false" failonerror="true">
    16141614      <arg value="add-service"/>
    16151615    </exec>
    1616     <exec executable="ant" os="${os.unix}" dir="${solr-ext.home}" spawn="false">
     1616    <exec executable="ant" os="${os.unix}" dir="${solr-ext.home}" spawn="false" failonerror="true">
    16171617      <arg value="add-service"/>
    16181618    </exec>
Note: See TracChangeset for help on using the changeset viewer.