Changeset 13501


Ignore:
Timestamp:
2006-12-14T15:04:47+13:00 (17 years ago)
Author:
kjdon
Message:

we need to compile packages before we can compile core, but only need the jar files, so have added a new target, compile-packages-javaonly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/dist-resources/dist-build.xml

    r13500 r13501  
    108108    <!-- compile the java stuff -->
    109109    <antcall target="compile-web"/>
    110 <!--    <antcall target="configure-packages"/>
    111     <antcall target="compile-packages"/>
    112     <antcall target="distclean-packages"/>-->
     110    <antcall target="configure-packages"/>
     111    <antcall target="compile-packages-javaonly"/>
     112    <antcall target="distclean-packages"/>
    113113    <antcall target="compile-core"/>
    114114    <antcall target="compile-gli"/>
     
    222222   <copy file="${gs2build-extra.home}/setup.bat" tofile="${gs2build.home}/setup.bat"/>
    223223  </target>   
     224
     225  <target name="compile-packages-javaonly" depends="init">
     226    <echo>Compiling MG Java</echo>
     227    <exec executable="make" os="${os.unix}"
     228       dir="${mg.home}">
     229      <arg value="javaonly"/>
     230    </exec>
     231    <exec executable="make" os="${os.unix}"
     232      dir="${mg.home}">
     233      <arg value="installjava"/>
     234    </exec>
     235    <!-- windows: just the java stuff. -->
     236    <exec executable="${mg.home}/winMake.bat" os="${os.windows}"
     237      dir="${mg.home}">
     238      <arg value="compile"/>
     239      <arg value="javaonly"/>
     240    </exec>
     241    <!-- install the jar file -->
     242    <copy file="${mg.home}/mg.jar" todir="${lib.jni}"/>
     243   
     244    <!-- mgpp -->
     245    <echo>Compiling MGPP</echo>
     246    <exec executable="make" os="${os.unix}"
     247       dir="${mgpp.home}">
     248      <arg value="javaonly"/>
     249    </exec>
     250    <exec executable="make" os="${os.unix}"
     251      dir="${mgpp.home}">
     252      <arg value="installjava"/>
     253    </exec>
     254    <!-- windows: just the java stuff. -->
     255    <exec executable="${mgpp.home}/winMake.bat" os="${os.windows}"
     256      dir="${mgpp.home}">
     257      <arg value="compile"/>
     258      <arg value="javaonly"/>
     259    </exec>
     260    <!-- install the jar file -->
     261    <copy file="${mgpp.home}/mgpp.jar" todir="${lib.jni}"/>
     262   
     263    <!-- javagdbm -->
     264    <exec executable="make" os="${os.unix}"
     265      dir="${javagdbm.home}">
     266      <arg value="javaonly"/>
     267    </exec>
     268    <exec executable="make" os="${os.unix}"
     269      dir="${javagdbm.home}">
     270      <arg value="installjava"/>
     271    </exec>
     272    <!-- windows: just the java stuff. -->
     273    <exec executable="${javagdbm.home}/winMake.bat" os="${os.windows}"
     274      dir="${javagdbm.home}">
     275      <arg value="compile"/>
     276      <arg value="javaonly"/>
     277    </exec>
     278    <!-- install the jar file -->
     279    <copy file="${javagdbm.home}/javagdbm.jar" todir="${lib.jni}"/>
     280
     281  </target>
    224282
    225283  <target name="delete-windows-files" depends="init" unless="current.os.iswindows">
Note: See TracChangeset for help on using the changeset viewer.