Changeset 13608


Ignore:
Timestamp:
2007-01-15T09:49:32+13:00 (16 years ago)
Author:
kjdon
Message:

added in target for compiling lucenewrap java code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/build.xml

    r13511 r13608  
    11851185  </target>
    11861186 
    1187   <target name="compile-gs2build" depends="init" if="collection.building.enabled">
     1187  <target name="compile-gs2build" depends="init,compile-lucene" if="collection.building.enabled">
    11881188    <!-- gs2build -->
    11891189    <!--linux: make, make install -->
     
    12531253    </echo>
    12541254  </target>
     1255  <target name="compile-lucene" depends="init">
     1256    <mkdir dir="${gs2build.home}/bin/java"/>
     1257    <exec executable="make" os="${os.unix}" dir="${gs2build.home}/src/java/org/nzdl/gsdl/LuceneWrap">
     1258      <arg value="compile"/>
     1259    </exec>
     1260    <exec executable="make" os="${os.unix}" dir="${gs2build.home}/src/java/org/nzdl/gsdl/LuceneWrap">
     1261      <arg value="jar"/>
     1262    </exec>
     1263    <exec executable="make" os="${os.unix}" dir="${gs2build.home}/src/java/org/nzdl/gsdl/LuceneWrap">
     1264      <arg value="install"/>
     1265    </exec>
     1266    <copy file="${gs2build.home}/src/java/org/nzdl/gsdl/LuceneWrap/LuceneWrap.jar" tofile="${web.home}/WEB-INF/lib/LuceneWrap.jar"/>
     1267  </target>
    12551268
    12561269</project>
Note: See TracChangeset for help on using the changeset viewer.