Changeset 23847

Show
Ignore:
Timestamp:
04.04.2011 21:42:12 (8 years ago)
Author:
ak19
Message:

compile-javagdm target of build.xml now generates the necessary gdbmjava.dll in the lib/jni folder of GS3 toplevel.

Files:
1 modified

Legend:

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

    r23837 r23847  
    14351435    </exec> 
    14361436 
    1437     <!-- windows: just the java stuff. --> 
     1437    <!-- windows: just the java stuff. Calling without the "compile" argument first will run winMake.bat with "all" which will then perform both the compile AND link targets in jni/win32.mak (thereby also generating gdbmjava.dll). Then we run the same command with the "install" argument to copy the gdbmjava.dll into the correct location. --> 
    14381438    <echo>Windows: compile javagdbm (java only)</echo> 
     1439    <exec executable="${javagdbm.home}/winMake.bat" os="${os.windows}" dir="${javagdbm.home}" failonerror="true" /> 
    14391440    <exec executable="${javagdbm.home}/winMake.bat" os="${os.windows}" dir="${javagdbm.home}" failonerror="true"> 
    1440       <arg value="compile"/> 
    1441       <arg value="javaonly"/> 
     1441      <arg value="install"/> 
    14421442    </exec> 
    14431443 
    14441444    <!-- install the jar file --> 
    1445     <echo>Install the javagdbm jar file</echo> 
     1445    <echo>Install the javagdbm jar file ${javagdbm.home}/javagdbm.jar ${lib.jni}</echo> 
    14461446    <copy file="${javagdbm.home}/javagdbm.jar" todir="${lib.jni}"/> 
    14471447  </target>