Changeset 17268 for release-kits/wirk3

Show
Ignore:
Timestamp:
12.09.2008 11:29:06 (11 years ago)
Author:
oranfry
Message:

compile search4j in release process and started standardising java installtion

Location:
release-kits/wirk3/ant-scripts
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • release-kits/wirk3/ant-scripts/compile.xml

    r17257 r17268  
    1515            <property name="branch.revision" value="${branch.revision}"/> 
    1616        </ant> 
    17         <antcall target="compile-uninstaller" /> <!-- from global-targets --> 
     17        <antcall target="compile-uninstaller" /> <!-- from rk3-targets --> 
    1818        <antcall target="prepare-documentation" /> 
    1919    </target> 
  • release-kits/wirk3/ant-scripts/create-installer.xml

    r17255 r17268  
    99 
    1010    <target name="copy-installer-files"> 
     11 
    1112        <echo>Getting things ready to compile the installer</echo> 
    1213        <mkdir dir="${basedir}/installer/resources"/> 
     14 
     15        <!-- the installer descriptors --> 
    1316        <copy todir="${basedir}/installer" file="${wirk3.home}/installer/antinstall-config.xml" overwrite="true" /> 
    1417        <copy todir="${basedir}/installer" file="${wirk3.home}/installer/build.xml" overwrite="true" /> 
     18 
     19        <!-- the language files and other canned classes for the installer --> 
    1520        <copy todir="${basedir}/installer/classes" overwrite="true"> 
    1621            <fileset dir="${wirk3.home}/windows/installer-classes"/> 
    1722            <fileset dir="${wirk3.home}/greenstone3/installer-classes"/> 
    1823        </copy> 
     24 
     25        <!-- some classes from jars, unpacked to be repacked into installer --> 
    1926        <unjar src="${wirk3.home}/ant-scripts/tasks/greenstone/anttasks.jar" dest="${basedir}/installer/classes"/> 
    2027        <delete dir="${basedir}/installer/classes/META-INF"/> 
     28 
    2129    </target> 
    2230 
  • release-kits/wirk3/ant-scripts/wrap.xml

    r17124 r17268  
    1212 
    1313    <target name="copy-files-for-wrapping"> 
    14         <!--create a directory to build the wrapped installer in --> 
     14        <echo>Copying wrapper source files</echo> 
    1515        <mkdir dir="${basedir}/wrapped-installer/build"/> 
    16         <!-- copy source files --> 
    1716        <copy todir="${basedir}/wrapped-installer/build" file="${wirk3.home}/windows/wrapper/wrapper.cpp"/> 
    1817        <copy todir="${basedir}/wrapped-installer/build" file="${wirk3.home}/packages/search4j/libsearch4j.cpp"/> 
     
    2120     
    2221    <target name="tweak-files-for-wrapping"> 
    23         <!-- substitute the real java installer filename and min version into various files --> 
    24         <echo>Substitute concrete values of things into source files</echo> 
     22        <echo>Substituting concrete values into source files</echo> 
    2523        <rsr file="${basedir}/wrapped-installer/build/wrapper.cpp" pattern="@java.min.version@" replacement="${java.min.version}"/> 
    2624        <rsr file="${basedir}/wrapped-installer/build/wrapper.cpp" pattern="@java.installer@" replacement="${windows-java.installer}"/> 
     25        <rsr file="${basedir}/wrapped-installer/build/wrapper.cpp" pattern="@java.extracted@" replacement="${windows-java.extracted}"/> 
    2726        <rsr file="${basedir}/wrapped-installer/build/wrapper.cpp" pattern="@bundled.version.java@" replacement="${bundled.version.windows-java}"/> 
    2827    </target>