Ignore:
Timestamp:
2008-04-23T17:26:48+12:00 (16 years ago)
Author:
oranfry
Message:

some updates to make the release kit produce nicer installers

Location:
release-kits/lirk3/installer
Files:
2 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • release-kits/lirk3/installer/antinstall-config.xml

    r15142 r15205  
    66            debug="false"
    77            lookAndFeel="org.tp23.jgoodies.plaf.plastic.PlasticXPLookAndFeel"
    8             name="Greenstone3Installer"
    9             windowIcon="/resources/gkmain_inv.png"
     8            name="Greenstone3 Installer"
     9            windowIcon="/resources/gs3-small.png"
    1010            defaultImageResource="/resources/makewavesdawn.png"
    1111            minJavaVersion="1.4">
    1212
    13     <!--  each page element represents a page of the installer -->
    14     <page
    15             type="input"
    16             name="intro"
    17             displayText="Welcome to the Greenstone3 installer">
     13    <!--  simple intro page -->
     14    <page type="input" name="intro" displayText="">
     15        <comment name="welcome-message"/>
    1816    </page>
    1917
    2018    <!--  type="license" shows a license page to click through -->
    21     <page
    22             type="license"
    23             name="license"
    24             displayText="License conditions"
    25             resource="/LICENSE.txt">
    26     </page>
     19    <page type="license" name="license" resource="/LICENSE.txt"  displayText="" />
    2720
    28     <!--  type="input" shows a list of editable options for the installer -->
    29     <page
    30             type="input"
    31             name="destination"
    32             displayText="Install Destination">
     21    <!--  install destination page -->
     22    <page type="input" name="destination">
    3323
    34         <directory
    35                 property="installDir"
    36                 defaultValue="/usr/local/Greenstone-@version@"
    37                 defaultValueWin="${env.ProgramFiles}\Greenstone-@version@"
    38                 displayText="Select an installation directory"
    39                 create="true"/>
     24        <directory property="installDir"
     25            defaultValue="/usr/local/Greenstone-@version@"
     26            defaultValueWin="${env.ProgramFiles}\Greenstone-@version@"
     27            create="true"
     28            displayText="" />
    4029
    4130    </page>
    4231
    43     <page type="input" name="tomcatports" displayText="Tomcat Ports">
     32    <page type="input" name="selector">
    4433
    45         <comment name="tomcatportsdescription" displayText="Please select the ports which the web server (Apache Tomcat) will use  will use. It is usually safe to accept the defaults by just clicking Next. The exception is when you are running other services on these ports - if this is the case, select some free ports and click Next."/>
     34        <comment name="choose-components"/>
    4635
    47         <text property="tomcat.server" defaultValue="localhost" displayText="Tomcat Server"/>
    48         <text property="tomcat.port" defaultValue="8080" displayText="Tomcat Port"/>
    49         <text property="tomcat.shutdown.port" defaultValue="8005" displayText="Tomcat Shutdown Port"/>
     36        <target target="install-core-components"    defaultValue="true" force="true" displayText="" />
     37        <target target="install-java"               defaultValue="true" displayText="" /> <!-- bundled java only -->
     38        <target target="install-tomcat"             defaultValue="true" displayText="" />
     39        <target target="install-ant"                    defaultValue="true" displayText="" />
     40        <target target="install-source-code"        defaultValue="false" displayText="" />
    5041
    5142    </page>
    5243
     44    <page type="input" name="tomcat-config" ifProperty="(${install-tomcat}==true)">
    5345
    54     <page
    55             type="input"
    56             name="selector"
    57             displayText="Components to install">
    58 
    59         <comment name="choosecomponents" displayText="Choose the components you want to install" bold="true"/>
    60         <target displayText="Core components" target="default" defaultValue="true" force="true"/>
    61         <target displayText="Source code" target="tgsrc" defaultValue="false"/>
     46        <text property="tomcat.server" defaultValue="localhost" displayText=""/>
     47        <text property="tomcat.port" defaultValue="8080" displayText=""/>
     48        <text property="tomcat.shutdown.port" defaultValue="8005" displayText=""/>
    6249
    6350    </page>
     
    6653            type="progress"
    6754            name="progress"
    68             displayText="Installation progress"
    6955            showTargets="false"
    7056            target="cleanuptarget">
  • release-kits/lirk3/installer/build.xml

    r15142 r15205  
    44-->
    55
    6 <project name="Installation" default="">
     6<project name="Installation">
    77
    88    <!-- this is required to pick up the properties generated during the install pages -->
     
    2121
    2222
    23     <target name="default" depends="">
     23    <target name="install-core-components" depends="">
    2424
    2525        <!-- create the installation directory -->
     
    134134
    135135    <!-- Source -->
    136     <target name="tgsrc" depends="">
     136    <target name="install-source-code" depends="">
    137137        <echo message="Installing Source Code (src)"/>
    138138        <mkdir dir="${installDir}/src"/>
     
    144144    </target>
    145145
    146     <target name="install-bundled-java" depends="" if="bundled.java.exists">
     146    <target name="install-java">
    147147        <echo message="Installing bundled java"/>
    148148        <copy todir="${installDir}/packages/jre">
     
    152152    </target>
    153153
    154     <target name="cleanuptarget" depends="install-bundled-java">
     154    <target name="install-tomcat">
     155        <echo message="Installing Tomcat"/>
     156    </target>
     157
     158    <target name="install-ant">
     159        <echo message="Installing Ant"/>
     160    </target>
     161
     162
     163
     164    <target name="cleanuptarget">
    155165    </target>
    156166   
Note: See TracChangeset for help on using the changeset viewer.