Changeset 17417

Show
Ignore:
Timestamp:
01.10.2008 10:48:19 (11 years ago)
Author:
oranfry
Message:

a target to compile search4j in windows greenstone2 release kits

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • release-kits/shared/greenstone2/ant-scripts/rk2-targets.xml

    r17384 r17417  
    7676    </target> 
    7777 
    78     <!-- useful for unix release-kits only --> 
    79     <target name="compile-search4j"> 
     78    <target name="compile-search4j-unix"> 
    8079        <copy todir="${basedir}/gsdl"><fileset dir="${rk.home}/packages" includes="search4j/**/*"/></copy> 
    8180        <chmod perm="ug+x" file="${basedir}/gsdl/search4j/compile.sh"/> 
     
    8483        <chmod perm="ug+x" file="${basedir}/gsdl/bin/search4j"/> 
    8584    </target> 
     85 
     86    <target name="compile-search4j-windows"> 
     87        <copy todir="${basedir}/gsdl"><fileset dir="${rk.home}/packages" includes="search4j/**/*"/></copy> 
     88        <exec dir="${basedir}/gsdl/search4j" executable="${basedir}/gsdl/search4j/compile.bat"/> 
     89        <move file="${basedir}/gsdl/search4j/search4j.exe" todir="${basedir}/gsdl/bin"/> 
     90    </target> 
     91 
    8692 
    8793    <target name="compile-uninstaller">