Ignore:
Timestamp:
2008-06-20T10:00:57+12:00 (16 years ago)
Author:
oranfry
Message:

corrections to the splitting and joining scheme, and a few fixes to make use of shared stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/wirk2/ant-scripts/create-installer.xml

    r15691 r16079  
    1414        <addressedcall target="setup-for-installer-creation"/>
    1515        <addressedcall target="compile-installer"/>
    16         <!--<addressedcall target="clean-up-after-installer-creation"/>-->
    1716    </target>
    1817
     
    2322            <copy todir="${basedir}/installer" file="${wirk3.home}/installer/antinstall-config.xml"/>
    2423            <copy todir="${basedir}/installer" file="${wirk3.home}/installer/build.xml"/>
    25             <copy todir="${basedir}/installer/cp"><fileset dir="${wirk3.home}/installer/cp"/></copy>
     24            <copy todir="${basedir}/installer/resources">
     25                <fileset dir="${wirk3.home}/installer/resources-windows"/>
     26                <fileset dir="${wirk3.home}/installer/resources-greenstone3"/>
     27            </copy>
    2628           
    2729            <!-- put the concrete values of things in the config -->
     
    3133            <!-- put the concrete values of things in the text -->
    3234            <!-- default -->
    33             <rsr file="${basedir}/installer/cp/resources/LanguagePack.properties" pattern="@version@" replacement="${version}"/>
    34             <rsr file="${basedir}/installer/cp/resources/LanguagePack.properties" pattern="@java.min.version@" replacement="${java.min.version}"/>
    35             <rsr file="${basedir}/installer/cp/resources/LanguagePack.properties" pattern="@bundled.version.java@" replacement="${bundled.version.java}"/>
    36             <rsr file="${basedir}/installer/cp/resources/LanguagePack.properties" pattern="@bundled.version.tomcat@" replacement="${bundled.version.tomcat}"/>
    37             <rsr file="${basedir}/installer/cp/resources/LanguagePack.properties" pattern="@bundled.version.ant@" replacement="${bundled.version.ant}"/>
     35            <rsr file="${basedir}/installer/resources/LanguagePack.properties" pattern="@version@" replacement="${version}"/>
     36            <rsr file="${basedir}/installer/resources/LanguagePack.properties" pattern="@java.min.version@" replacement="${java.min.version}"/>
     37            <rsr file="${basedir}/installer/resources/LanguagePack.properties" pattern="@bundled.version.java@" replacement="${bundled.version.java}"/>
     38            <rsr file="${basedir}/installer/resources/LanguagePack.properties" pattern="@bundled.version.tomcat@" replacement="${bundled.version.tomcat}"/>
     39            <rsr file="${basedir}/installer/resources/LanguagePack.properties" pattern="@bundled.version.ant@" replacement="${bundled.version.ant}"/>
    3840           
    3941            <!-- chinese -->
    40             <rsr file="${basedir}/installer/cp/resources/LanguagePack_zh_CN.properties" pattern="@version@" replacement="${version}"/>
    41             <rsr file="${basedir}/installer/cp/resources/LanguagePack_zh_CN.properties" pattern="@java.min.version@" replacement="${java.min.version}"/>
    42             <rsr file="${basedir}/installer/cp/resources/LanguagePack_zh_CN.properties" pattern="@bundled.version.java@" replacement="${bundled.version.java}"/>
    43             <rsr file="${basedir}/installer/cp/resources/LanguagePack_zh_CN.properties" pattern="@bundled.version.tomcat@" replacement="${bundled.version.tomcat}"/>
    44             <rsr file="${basedir}/installer/cp/resources/LanguagePack_zh_CN.properties" pattern="@bundled.version.ant@" replacement="${bundled.version.ant}"/>
     42            <rsr file="${basedir}/installer/resources/LanguagePack_zh_CN.properties" pattern="@version@" replacement="${version}"/>
     43            <rsr file="${basedir}/installer/resources/LanguagePack_zh_CN.properties" pattern="@java.min.version@" replacement="${java.min.version}"/>
     44            <rsr file="${basedir}/installer/resources/LanguagePack_zh_CN.properties" pattern="@bundled.version.java@" replacement="${bundled.version.java}"/>
     45            <rsr file="${basedir}/installer/resources/LanguagePack_zh_CN.properties" pattern="@bundled.version.tomcat@" replacement="${bundled.version.tomcat}"/>
     46            <rsr file="${basedir}/installer/resources/LanguagePack_zh_CN.properties" pattern="@bundled.version.ant@" replacement="${bundled.version.ant}"/>
    4547           
    4648           
     
    6163                    icons="bluecurve">
    6264
    63                 <zipfileset dir="${basedir}/installer/cp" includes="**"/>
    64                 <zipfileset dir="${wirk3.home}/installer/cp-extra" includes="**"/>
     65                <zipfileset dir="${basedir}/installer/resources" prefix="resources"><include name="**/*"/></zipfileset>
    6566                <zipfileset dir="${wirk3.home}/ant-scripts/tasks/orans"><include name="RegexSearchReplace.class"/></zipfileset>
    6667
     
    8283        </if>
    8384    </target>
    84 
    85     <target name="clean-up-after-installer-creation">
    86         <if><bool><istrue value="${execute}"/></bool>
    87             <delete file="${basedir}/installer/antinstall-config.xml"/>
    88         </if>
    89     </target>
    90 
    9185   
    9286</project>
Note: See TracChangeset for help on using the changeset viewer.