geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Geronimo Wiki] Update of "Building an Installer" by AaronMulder
Date Fri, 13 May 2005 22:33:13 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Geronimo Wiki" for change notification.

The following page has been changed by AaronMulder:
http://wiki.apache.org/geronimo/Building_an_Installer

------------------------------------------------------------------------------
  == Preparation ==
  
   * Get a CVS HEAD version of IzPack (or v3.8.0+ once it's released) -- for older versions
you need to manually patch in support for the so-called "!ExecuteForPacks".
-    * For CVS version, use {{{ant dist}}} to create a proper IzPack install
+    * For CVS version, use {{{ant dist}}} to create a proper IzPack install (then see `izpack-src/_dist`)
   * Get a current source tree of Geronimo
     * Build it, at least as far as the assembly module
     * Work off the content in {{{geronimo/modules/assembly/target/installer}}}.  This includes
modified plans in `installer/plan-src`.  These plans have substitution variables for the following
items:
@@ -26, +26 @@

       * {{{system-plan.xml}}} -- port for RMIRegistry (1099), server host name (localhost)
[`PlanServerHostname` and `PlanNamingPort`]
     * substitute variables for username and password in {{{var/security/users.properties}}}
and {{{var/security/groups.properties}}} (e.g. overwrite with `${SecurityDefaultUser}=${SecurityDefaultPassword}`
and `admin=${SecurityDefaultUser}`)
     * Copy the Geronimo WARs from the Maven repository to the place where you keep the plans
+  * The IzPack installer config files are copied into the `assembly/target/installer` directory
during the assembly build, with certain variable substitution performed.
+    * You may want to update maven.xml to have the correct version number for the most recent
release notes file.  There's probably a better place to store this.
+    * The installer configuration does not yet process all the current plans, and the resulting
installer still seems a bit buggy.  Working on it...
-  * Create the installer configuration.  My files for !IzPack are below.  However, they have
not yet been updated to use the appropriate variables listed above, so some tuning will be
necessary.
-    * attachment:geronimo-izpack.xml
-    * attachment:izpack-user-input.xml
-    * attachment:izpack-process.xml
  
  == Building ==
-  * Use the tool to build the installer.  For izpack, run {{{compile geronimo-izpack.xml}}}
from the `assembly/target/installer` directory.
+  * Use the IzPack compile tool to build the installer: {{{compile geronimo-izpack.xml -o
geronimo-installar.jar}}} from the `assembly/target/installer` directory.
  

Mime
View raw message