Changeset 27849

Show
Ignore:
Timestamp:
13.07.2013 20:30:35 (6 years ago)
Author:
davidb
Message:

Need slightly different <exec> commands for Windows and Unix

Files:
1 modified

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>