Changeset 20813


Ignore:
Timestamp:
10/13/09 16:33:26 (12 years ago)
Author:
oranfry
Message:

the rk3.bat file needed to get the whole thing going, plus a fix to the name of the generated executable

Location:
release-kits/rk3
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/rk3/ant-scripts/wrap.xml

    r20374 r20813  
    2222
    2323    <target name="windows-wrap">
     24        <!-- the size of the resourse chunks to be put in the wrapped installer -->
     25        <property name="resources.chunksize" value="8388608"/><!-- 8MiB -->
     26   
    2427        <antcall target="windows-copy-files-for-wrapping"/>
    2528        <antcall target="windows-tweak-files-for-wrapping"/>
     
    153156                        <srcfiles dir="${rk3.home}/windows/wrapper" includes="*.rc"/>
    154157                        <srcfiles dir="${rk3.home}/greenstone3/wrapper" includes="*.bmp"/>
    155                         <srcfiles dir="${basedir}/installer" includes="Greenstone-${version}-win32.jar"/>
     158                        <srcfiles dir="${basedir}/installer" includes="Greenstone-${version}-${os.suffix}.jar"/>
    156159                    </uptodate>
    157160                </not>
     
    172175            <echo>adding greenstone3.jar to the resource script as chunks</echo>
    173176            <rsplit
    174                 resource="${basedir}/installer/Greenstone-${version}-win32.jar"
     177                resource="${basedir}/installer/Greenstone-${version}-${os.suffix}.jar"
    175178                outputDir="${basedir}/wrapped-installer"
    176179                resourceScript="${basedir}/wrapped-installer/wrapper.rc"
     
    213216        <mkdir dir="products"/>
    214217        <exec executable="link" dir="${basedir}/wrapped-installer">
    215             <arg line="/OUT:..\products\Greenstone-${version}-win32.exe gdi32.lib advapi32.lib shell32.lib user32.lib libsearch4j.obj wrapper.obj wrapper.res"/>
     218            <arg line="/OUT:..\products\Greenstone-${version}-${os.suffix}.exe gdi32.lib advapi32.lib shell32.lib user32.lib libsearch4j.obj wrapper.obj wrapper.res"/>
    216219        </exec>
    217220    </target>
Note: See TracChangeset for help on using the changeset viewer.