Ignore:
Timestamp:
07/13/13 20:30:35 (8 years ago)
Author:
davidb
Message:

Need slightly different <exec> commands for Windows and Unix

File:
1 edited

Legend:

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

    r27848 r27849  
    10501050  <target name="prepare-solr-ext" depends="init" >
    10511051    <property name="solr-ext.home" value="${basedir}/ext/solr"/>
    1052     <exec executable="ant" dir="${solr-ext.home}" spawn="false">
     1052    <exec executable="ant.bat" os="${os.windows}" dir="${solr-ext.home}" spawn="false">
     1053      <arg value="add-service"/>
     1054    </exec>
     1055    <exec executable="ant" os="${os.unix}" dir="${solr-ext.home}" spawn="false">
    10531056      <arg value="add-service"/>
    10541057    </exec>
Note: See TracChangeset for help on using the changeset viewer.