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 ------------------------------------------------------------------------------ * 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 - * Get a Milestone binary tree of Geronimo - * delete everything under config-store, and recreate index.properties as an empty file (though for now I don't whack the deployer so I keep configurations 1 & 2) - * delete everything under bin (again, except the deployer) - * 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}`) - * Get a Milestone source tree of Geronimo + * Get a current source tree of Geronimo - * Build it, at least as far as the geronimo/assembly module + * Build it, at least as far as the assembly module - * Copy the modified plans in `modules/assembly/target/installer-plan` to somewhere in the binary tree (I used {{{plan-src/}}}). These plans have substitution variables for the following items: + * 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: * {{{client-system-plan.xml}}} -- naming host (localhost) and port (1099) [`PlanServerHostname` and `PlanNamingPort`] * {{{interop-server-plan.xml}}} -- IIOP listen host (localhost) and port (9000), ORB port (2001), naming host name (localhost), naming port (1050), allowed client addresses (127.0.0.1) [`PlanServerHostname`, `PlanIIOPPort`, `PlanORBPort`, `PlanServerHostname`, `PlanCOSNamingPort`, `PlanClientAddresses`] * {{{j2ee-server-plan.xml}}} -- port for Jetty HTTP (8080) and HTTPS (8443), EJB server port (4201), EJB server host name (localhost), allowed EJB client addresses (127.0.0.1), JMX remoting host name (localhost) [`PlanJettyHTTPPort`, `PlanJettyHTTPSPort`, `PlanOpenEJBPort`, `PlanServerHostname`, `PlanClientAddresses`, `PlanServerHostname`] @@ -28, +24 @@ * {{{system-database-plan.xml}}} -- hostname (localhost) and port for Derby network access (1527) [`PlanServerHostname`, `PlanDerbyPort`] * {{{system-jms-plan.xml}}} -- hostname, port for ActiveMQ (localhost:61616) [`PlanServerHostname`,`PlanActiveMQPort`] * {{{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 * 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 @@ -35, +32 @@ * attachment:izpack-process.xml == Building == - * Use the tool to build the installer. For izpack, run {{{compile geronimo-izpack.xml}}} from the modified binary tree directory. + * Use the tool to build the installer. For izpack, run {{{compile geronimo-izpack.xml}}} from the `assembly/target/installer` directory.