Ignore:
Timestamp:
2011-03-23T14:59:03+13:00 (13 years ago)
Author:
sjm84
Message:

Compiling without JNI will now properly exclude the java files GS2MGPPSearch, GS2MGPPRetrieve, GS2MGRetrieve, GS2MGSearch, GoogleNgramMGPPSearch, PhindPhraseBrowse and GDBMWrapper from compilation

File:
1 edited

Legend:

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

    r23696 r23803  
    12531253    description="Compile only the Greenstone core">
    12541254    <mkdir dir="${build.home}"/>
    1255     <javac srcdir="${src.home}"
    1256       destdir="${build.home}"
    1257       debug="${compile.debug}"
    1258       deprecation="${compile.deprecation}"
    1259       optimize="${compile.optimize}">
    1260       <classpath>
    1261         <path refid="compile.classpath"/>
    1262       </classpath>
    1263     </javac>
     1255    <if><bool><isset property="with.jni"/></bool>
     1256    <javac srcdir="${src.home}"
     1257           destdir="${build.home}"
     1258           debug="${compile.debug}"
     1259           deprecation="${compile.deprecation}"
     1260           optimize="${compile.optimize}">
     1261      <classpath>
     1262            <path refid="compile.classpath"/>
     1263      </classpath>
     1264    </javac>
     1265    <else>
     1266      <property name="gsprefix" value=""/>   
     1267      <javac srcdir="${src.home}"
     1268           destdir="${build.home}"
     1269           debug="${compile.debug}"
     1270           deprecation="${compile.deprecation}"
     1271           optimize="${compile.optimize}">
     1272        <classpath>
     1273              <path refid="compile.classpath"/>
     1274        </classpath>
     1275        <exclude name="org/greenstone/gsdl3/service/GS2MGPPRetrieve.java"/>
     1276        <exclude name="org/greenstone/gsdl3/service/GS2MGPPSearch.java"/>
     1277        <exclude name="org/greenstone/gsdl3/service/GS2MGSearch.java"/>
     1278        <exclude name="org/greenstone/gsdl3/service/GS2MGRetrieve.java"/>
     1279        <exclude name="org/greenstone/gsdl3/service/GoogleNgramMGPPSearch.java"/>
     1280        <exclude name="org/greenstone/gsdl3/service/PhindPhraseBrowse.java"/>
     1281        <exclude name="org/greenstone/gsdl3/util/GDBMWrapper.java"/>
     1282      </javac>
     1283    </else>
     1284    </if>
    12641285    <jar destfile="${build.home}/gsdl3.jar">
    12651286      <fileset dir="${build.home}">
Note: See TracChangeset for help on using the changeset viewer.