Changeset 17412

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

a task to compile search4j on windows too

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • release-kits/shared/greenstone3/ant-scripts/rk3-targets.xml

    r17372 r17412  
    110110    </target> 
    111111 
    112     <!-- useful for unix release-kits only --> 
    113     <target name="compile-search4j"> 
     112    <target name="compile-search4j-unix"> 
    114113        <copy todir="${basedir}/greenstone3"><fileset dir="${rk.home}/packages" includes="search4j/**/*"/></copy> 
    115114        <chmod perm="ug+x" file="${basedir}/greenstone3/search4j/compile.sh"/> 
     
    117116        <move file="${basedir}/greenstone3/search4j/search4j" todir="${basedir}/greenstone3/bin"/> 
    118117        <chmod perm="ug+x" file="${basedir}/greenstone3/bin/search4j"/> 
     118    </target> 
     119 
     120    <target name="compile-search4j-windows"> 
     121        <copy todir="${basedir}/greenstone3"><fileset dir="${rk.home}/packages" includes="search4j/**/*"/></copy> 
     122        <exec dir="${basedir}/greenstone3/search4j" executable="${basedir}/greenstone3/search4j/compile.bat"/> 
     123        <move file="${basedir}/greenstone3/search4j/search4j.exe" todir="${basedir}/greenstone3/bin"/> 
    119124    </target> 
    120125