Ignore:
Timestamp:
2009-04-08T11:49:53+12:00 (15 years ago)
Author:
oranfry
Message:

partially tested, partially complete changes for release kits to create dist based on the compiled copy of greenstone

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rk-oran/shared/ant-scripts/init.xml

    r18072 r18907  
    359359        <!-- jar it all up -->
    360360        <jar
    361             destfile="${basedir}/compiled/uninstaller/uninst.jar"
     361            destfile="${basedir}/compiled/uninst.jar"
    362362            manifest="${rk.home}/uninstaller/manifest.mf"
    363363            basedir="${basedir}/compiled/uninstaller/build" />
     
    367367    <!-- copy the uninstaller from the compiled directory to web distribution -->
    368368    <target name="insert-uninstaller">
    369         <copy file="compiled/uninstaller/uninst.jar" todir="distributions/web" />
     369        <!--<copy file="compiled/uninstaller/uninst.jar" todir="distributions/web" />-->
    370370        <copy file="${rk.home}/uninstaller/Uninstall.${script-format}" todir="distributions/web" />
    371371    </target>
     
    392392    </target>
    393393
     394    <target name="compile-gli">
     395
     396        <echo>Compiling gli...</echo>
     397        <exec dir="${glibasedir}" executable="${glibasedir}/makegli.sh"/>
     398
     399        <echo>Creating jar...</echo>
     400        <exec dir="${glibasedir}" executable="${glibasedir}/makejar.sh"/>
     401
     402        <echo>Cleaning up intermediate files...</echo>
     403        <delete dir="${glibasedir}/jar"/>
     404        <delete dir="${glibasedir}/classes/org"/>
     405
     406        <if><bool><isset property="gsdlbasedir"/></bool>
     407            <echo>Putting gli server jar in a better place</echo>
     408            <exec executable="mv" failonerror="true">
     409                <arg line="${glibasedir}/GLIServer.jar ${gsdlbasedir}/bin/java" />
     410            </exec>
     411        </if>
     412
     413    </target>
     414
     415    <target name="copy-compiled-to-dist">
     416        <delete dir="distributions/web"/>
     417        <mkdir dir="distributions"/>
     418        <exec executable="cp"><arg line="-r compiled distributions/web"/></exec>
     419    </target>
    394420
    395421</project>
Note: See TracChangeset for help on using the changeset viewer.