Ignore:
Timestamp:
2007-01-25T11:00:51+13:00 (17 years ago)
Author:
kjdon
Message:

updated for new indexers repository. haven't tested yet

File:
1 edited

Legend:

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

    r13667 r13787  
    1919  <!-- Create the binaries for windows distribution -->
    2020  <target name="prepare-windows" depends="init">
    21     <cvs command="checkout -P" package="mgpp"
    22       dest="${src.packages.home}" />
    2321    <cvs command="checkout -P" package="gs2build" />
    2422    <antcall target="unzip-windows-packages"/>
     
    3836  <!-- Create the binaries for Unix/Mac distributions -->
    3937  <target name="prepare-unix" depends="init">
    40     <cvs command="checkout -P" package="mgpp"
    41       dest="${src.packages.home}"/>
    4238    <cvs command="checkout -P" package="gs2build"/>
    4339  </target>
     
    6056    greenstones (prepare-os targets) -->
    6157  <target name="create-distribution-1" depends="init" description="do all the initial downloading and setting up">
    62     <cvs command="export -D '1 second ago'" package="mgpp"
    63       dest="${src.packages.home}"/>
    6458    <cvs command="export -D '1 second ago'" package="gs2build"/>
    6559    <cvs command="export -D '1 second ago'" package="gli"/>
     
    169163
    170164  <target name="create-source-distribution" depends="init">
    171     <cvs command="export -D '1 second ago'" package="mgpp"
    172       dest="${src.packages.home}"/>
    173165    <cvs command="export -D '1 second ago'" package="gs2build"/>
    174166    <cvs command="export -D '1 second ago'" package="gli"/>
     
    224216
    225217  <target name="compile-packages-javaonly" depends="init">
    226     <echo>Compiling MG Java</echo>
    227     <exec executable="make" os="${os.unix}"
    228        dir="${mg.home}">
     218    <echo>Compiling Indexers</echo>
     219    <exec executable="make" os="${os.unix}"
     220       dir="${indexers.home}">
    229221      <arg value="javaonly"/>
    230222    </exec>
    231223    <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 -->
     224      dir="${indexers.home}">
     225      <arg value="install-javaonly"/>
     226    </exec>
     227    <!-- install the jar files -->
    242228    <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 -->
    261229    <copy file="${mgpp.home}/mgpp.jar" todir="${lib.jni}"/>
     230    <copy file="${lucene.home}/LuceneWrapper.jar" todir="${web.lib}"/>
    262231   
    263232    <!-- javagdbm -->
     
    269238      dir="${javagdbm.home}">
    270239      <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"/>
    277240    </exec>
    278241    <!-- install the jar file -->
     
    297260  </target>
    298261
    299   <target name="distclean-packages" depends="init,clean-packages-c++">
    300     <!-- mg : just call the make target -->
    301     <exec executable="make" os="${os.unix}"
    302       dir="${mg.home}">
    303       <arg value="distclean"/>
    304     </exec>
    305     <!-- mgpp -->
    306     <exec executable="make" os="${os.unix}"
    307       dir="${mgpp.home}">
     262  <target name="distclean-packages" depends="init">
     263    <!-- indexers : just call the make target -->
     264    <exec executable="make" os="${os.unix}"
     265      dir="${indexers.home}">
    308266      <arg value="distclean"/>
    309267    </exec>
Note: See TracChangeset for help on using the changeset viewer.