geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r354379 - in /geronimo/trunk: assemblies/j2ee-installer/ assemblies/j2ee-installer/src/izpack/ plugins/geronimo-izpack-plugin/
Date Tue, 06 Dec 2005 08:59:27 GMT
Author: djencks
Date: Tue Dec  6 00:59:21 2005
New Revision: 354379

URL: http://svn.apache.org/viewcvs?rev=354379&view=rev
Log:
GERONIMO-1189 progress.  Apply initial patch for izpack plugin and installer assembly.  Quite incomplete

Added:
    geronimo/trunk/assemblies/j2ee-installer/src/izpack/
    geronimo/trunk/assemblies/j2ee-installer/src/izpack/geronimo-izpack.xml
    geronimo/trunk/assemblies/j2ee-installer/src/izpack/geronimo_banner_vert.gif   (with props)
    geronimo/trunk/assemblies/j2ee-installer/src/izpack/geronimo_med_vert.gif   (with props)
    geronimo/trunk/assemblies/j2ee-installer/src/izpack/izpack-process.xml
    geronimo/trunk/assemblies/j2ee-installer/src/izpack/izpack-user-input.xml
    geronimo/trunk/plugins/geronimo-izpack-plugin/
    geronimo/trunk/plugins/geronimo-izpack-plugin/LICENSE.txt
    geronimo/trunk/plugins/geronimo-izpack-plugin/NOTICE.txt
    geronimo/trunk/plugins/geronimo-izpack-plugin/maven.xml
    geronimo/trunk/plugins/geronimo-izpack-plugin/plugin.jelly
    geronimo/trunk/plugins/geronimo-izpack-plugin/plugin.properties
    geronimo/trunk/plugins/geronimo-izpack-plugin/project.properties
    geronimo/trunk/plugins/geronimo-izpack-plugin/project.xml
Modified:
    geronimo/trunk/assemblies/j2ee-installer/maven.xml

Modified: geronimo/trunk/assemblies/j2ee-installer/maven.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/assemblies/j2ee-installer/maven.xml?rev=354379&r1=354378&r2=354379&view=diff
==============================================================================
--- geronimo/trunk/assemblies/j2ee-installer/maven.xml (original)
+++ geronimo/trunk/assemblies/j2ee-installer/maven.xml Tue Dec  6 00:59:21 2005
@@ -27,6 +27,7 @@
     <goal name="assemble:install">
         <attainGoal name="assemble:assemble-to-repo"/>
         <!-- build the izpack installer here -->
+        <attainGoal name="assemble:izpack-installer-build"/>
     </goal>
 
     <preGoal name="assemble:install">

Added: geronimo/trunk/assemblies/j2ee-installer/src/izpack/geronimo-izpack.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/assemblies/j2ee-installer/src/izpack/geronimo-izpack.xml?rev=354379&view=auto
==============================================================================
--- geronimo/trunk/assemblies/j2ee-installer/src/izpack/geronimo-izpack.xml (added)
+++ geronimo/trunk/assemblies/j2ee-installer/src/izpack/geronimo-izpack.xml Tue Dec  6 00:59:21 2005
@@ -0,0 +1,184 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<!-- assemblies/j2ee-installer/src/izpack/geronimo-izpack.xml -->
+<installation version="1.0">
+    <info>
+        <appname>Apache Geronimo</appname>
+        <appversion>${GeronimoVersion}</appversion>
+        <url>http://geronimo.apache.org/</url>
+        <javaversion>1.4</javaversion>
+    </info>
+    <variables>
+    </variables>
+    <guiprefs width="640" height="480" resizable="yes">
+	    <laf name="liquid">
+		    <os family="unix"/>
+	    </laf>
+    </guiprefs>
+    <locale>
+        <langpack iso3="eng"/>
+    </locale>
+    <resources>
+	<res id="Installer.image" src="${InstallSource}/izpack/geronimo_banner_vert.gif" />
+        <res id="LicencePanel.licence" src="${InstallSource}/LICENSE.txt"/>
+	<res id="InfoPanel.info" src="${InstallSource}/RELEASE-NOTES-${ReleaseNotesVersion}.txt"/>
+	<res id="userInputSpec.xml" src="${InstallSource}/izpack-user-input.xml" />
+	<res id="ProcessPanel.Spec.xml" src="${InstallSource}/izpack-process.xml" />
+	<res id="ImgPacksPanel.img.0" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.1" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.2" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.3" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.4" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.5" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.6" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.7" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.8" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.9" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.10" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.11" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.12" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.13" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.14" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.15" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.16" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.17" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.18" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.19" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+	<res id="ImgPacksPanel.img.20" src="${InstallSource}/izpack/geronimo_med_vert.gif" />
+    </resources>
+    <panels>
+        <panel classname="HelloPanel"/>
+        <panel classname="LicencePanel"/>
+        <panel classname="TargetPanel"/>
+        <panel classname="ImgPacksPanel"/>
+        <panel classname="UserInputPanel"/>
+        <panel classname="UserInputPanel"/>
+        <panel classname="UserInputPanel"/>
+        <panel classname="UserInputPanel"/>
+        <panel classname="UserInputPanel"/>
+        <panel classname="UserInputPanel"/>
+        <panel classname="UserInputPanel"/>
+        <panel classname="UserInputPanel"/>
+	<panel classname="UserInputPanel"/>
+        <panel classname="InstallPanel"/>
+        <panel classname="ProcessPanel"/>
+        <panel classname="InfoPanel"/>
+        <panel classname="FinishPanel"/>
+    </panels>
+    <packs>
+        <pack name="Server" required="yes">
+            <!-- o/a/g/System -->
+            <description>Core Geronimo installation.  This includes the code and libraries necessary for all the features described below.  The subsequent options simply let you select what should be run by default when the server is started.  Anything not selected on this screen could be manually enabled later.</description>
+	    <file src="${InstallSource}/BUILDING.txt" targetdir="$INSTALL_PATH"/>
+	    <file src="${InstallSource}/LICENSE.txt" targetdir="$INSTALL_PATH"/>
+	    <file src="${InstallSource}/README.txt" targetdir="$INSTALL_PATH"/>
+	    <file src="${InstallSource}/RELEASE-NOTES-1.0-M1.txt" targetdir="$INSTALL_PATH"/>
+	    <file src="${InstallSource}/RELEASE-NOTES-1.0-M2.txt" targetdir="$INSTALL_PATH"/>
+	    <file src="${InstallSource}/RELEASE-NOTES-1.0-M3.txt" targetdir="$INSTALL_PATH"/>
+	    <file src="${InstallSource}/RELEASE-NOTES-1.0-M4.txt" targetdir="$INSTALL_PATH"/>
+	    <file src="${InstallSource}/RELEASE-NOTES-1.0-M5.txt" targetdir="$INSTALL_PATH"/>
+	    <file src="${InstallSource}/bin" targetdir="$INSTALL_PATH"/>
+	    <file src="${InstallSource}/lib" targetdir="$INSTALL_PATH"/>
+	    <file src="${InstallSource}/config-store" targetdir="$INSTALL_PATH"/>
+	    <file src="${InstallSource}/repository" targetdir="$INSTALL_PATH"/>
+	    <file src="${InstallSource}/schema" targetdir="$INSTALL_PATH"/>
+	    <file src="${InstallSource}/var" targetdir="$INSTALL_PATH"/>
+            <!--singlefile src="var/config/config.izpack.list" target="$INSTALL_PATH/var/config/config.list"/-->
+            <parsable targetfile="$INSTALL_PATH/var/security/users.properties" type="javaprop"/>
+            <parsable targetfile="$INSTALL_PATH/var/security/groups.properties" type="javaprop"/>
+            <parsable targetfile="$INSTALL_PATH/var/config/config.xml" type="xml"/>
+        </pack>
+        <pack name="J2EE Features" required="no" preselected="yes">
+            <!-- o/o/g/RMINaming -->
+            <!-- o/o/g/Server -->
+            <!-- o/o/g/RuntimeDeployer -->
+            <!-- o/o/g/SystemDatabase -->
+            <description>If selected, basic features for J2EE support will be enabled, including a J2EE Web container, a JMS broker, an EJB server, an embedded Derby database, an administrative security realm, etc.  If not selected, these features will be installed but would need to be manually activated later.</description>
+            <depends packname="Server" />
+        </pack>
+
+        <pack name="CORBA Features" required="no" preselected="yes">
+            <!-- o/o/g/ServerCORBA -->
+            <description>Basic ORB and Name Server support with many sample target security configurations</description>
+            <depends packname="J2EE Features" />
+        </pack>
+
+        <pack name="JMS Features" required="no" preselected="yes">
+            <!-- o/o/g/ActiveMQServer -->
+            <!-- o/o/g/SystemJMS -->
+            <description>The ActiveMQ broker and a sample J2CA 1.5 connector deployment</description>
+            <depends packname="J2EE Features" />
+        </pack>
+
+        <!-- JETTY -->
+        <pack name="Jetty Web Container" required="no" preselected="yes">
+            <!-- o/o/g/Jetty -->
+            <!-- o/o/g/JettyRuntimeDeployer -->
+            <description>The Jetty Web Container</description>
+            <depends packname="J2EE Features" />
+        </pack>
+        <pack name="Jetty Welcome Application" required="no" preselected="yes">
+            <!-- o/o/g/Console/Jetty -->
+            <description>Simple welcome application normally at localhost:8080/</description>
+            <depends packname="Jetty Web Container" />
+        </pack>
+        <pack name="Jetty Web Management Console" required="no" preselected="yes">
+            <!-- o/o/g/Console/Jetty -->
+            <description>A web-based management console which allows an administrator to log in and view and customize the Geronimo server configuration (such as network ports, logging, thread pools, application deployments, etc.).  The console login is the same administrative login you'll be setting in the next step.  The console can typically be reached at http://localhost:8080/console/ though the default port may be changed on the web configuration screen.  If not selected, the console will be installed but would need to be manually activated later.</description>
+            <depends packname="Jetty Web Container" />
+        </pack>
+        <pack name="Jetty UDDI Server" required="no" preselected="no">
+            <!-- o/o/g/juddiServer/1.0/Jetty -->
+            <description>A UDDI server that runs in Geronimo, using the jUDDI package.</description>
+            <depends packname="Jetty Web Container" />
+        </pack>
+
+        <!-- TOMCAT-->
+        <pack name="Tomcat Web Container" required="no" preselected="yes">
+            <!-- o/o/g/Tomcat -->
+            <!-- o/o/g/TomcatRuntimeDeployer -->
+            <description>The Tomcat Web Container</description>
+            <depends packname="J2EE Features" />
+        </pack>
+        <pack name="Tomcat Welcome Application" required="no" preselected="yes">
+             <!-- o/o/g/Console/Tomcat -->
+            <description>Simple welcome application normally at localhost:8080/</description>
+             <depends packname="Tomcat Web Container" />
+         </pack>
+         <pack name="Tomcat Web Management Console" required="no" preselected="yes">
+             <!-- o/o/g/Console/Tomcat -->
+             <description>A web-based management console which allows an administrator to log in and view and customize the Geronimo server configuration (such as network ports, logging, thread pools, application deployments, etc.).  The console login is the same administrative login you'll be setting in the next step.  The console can typically be reached at http://localhost:8080/console/ though the default port may be changed on the web configuration screen.  If not selected, the console will be installed but would need to be manually activated later.</description>
+             <depends packname="Tomcat Web Container" />
+         </pack>
+         <pack name="Tomcat UDDI Server" required="no" preselected="no">
+             <!-- o/o/g/juddiServer/1.0/Tomcat -->
+             <description>A UDDI server that runs in Geronimo, using the jUDDI package.</description>
+             <depends packname="Tomcat Web Container" />
+         </pack>
+
+        <pack name="LDAP Server" required="no" preselected="no">
+            <!-- o/o/g/Directory -->
+            <description>An LDAP directory server that runs in Geronimo, using the Apache Directory package.  This runs on the non-standard port of 1389 by default, so the server can start as a non-root user.  If not selected, this configuration will be available but would need to be manually activated later.</description>
+            <depends packname="J2EE Features" />
+        </pack>
+        <pack name="Sample Database Pool" required="no" preselected="no">
+            <!-- o/o/g/DefaultDatabase -->
+            <description>A sample embedded database, using the Derby RDBMS.  If selected, this creates a database pool that connects to the "DefaultDatabase" database running in the embedded Derby installation.  If not selected, this configuration will be available but would need to be manually activated later.  The "DefaultDatabase" database will be created the first time this configuration is run.</description>
+            <depends packname="J2EE Features" />
+        </pack>
+        <pack name="Spring Integration" required="no" preselected="no">
+            <!-- o/o/g/SpringRuntime -->
+            <!-- o/o/g/SpringDeployer -->
+            <description>Features to run Spring applications in Geronimo without any additional J2EE packaging.  This is currently working but not being actively developed.  If not selected, these features will be installed but would need to be manually activated later.</description>
+            <depends packname="J2EE Features" />
+        </pack>
+        <pack name="JMX Debug Web Application" required="no" preselected="yes">
+            <!-- o/o/g/DebugConsole -->
+            <description>A web application that lets you display the JMX data from a running Geronimo server.  This can be useful to see exactly what features are enabled in Geronimo and to help resolve resource mapping failures.  However, it is not very user-friendly compared to, for example, the web management console.  The debug application can typically be reached at http://localhost:8080/debug-tool/ though the default port may be changed on the web configuration screen.  If not selected, the JMX debug application will be installed but would need to be manually activated later.</description>
+            <depends packname="Jetty Web Container" />
+        </pack>
+	<pack name="Geronimo Sample Applications" required="no" preselected="yes">
+		<description>Install sample Tomcat and Jetty applications</description>
+		<depends packname="Server" />
+	</pack>
+    </packs>
+</installation>

Added: geronimo/trunk/assemblies/j2ee-installer/src/izpack/geronimo_banner_vert.gif
URL: http://svn.apache.org/viewcvs/geronimo/trunk/assemblies/j2ee-installer/src/izpack/geronimo_banner_vert.gif?rev=354379&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/trunk/assemblies/j2ee-installer/src/izpack/geronimo_banner_vert.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: geronimo/trunk/assemblies/j2ee-installer/src/izpack/geronimo_med_vert.gif
URL: http://svn.apache.org/viewcvs/geronimo/trunk/assemblies/j2ee-installer/src/izpack/geronimo_med_vert.gif?rev=354379&view=auto
==============================================================================
Binary file - no diff available.

Propchange: geronimo/trunk/assemblies/j2ee-installer/src/izpack/geronimo_med_vert.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: geronimo/trunk/assemblies/j2ee-installer/src/izpack/izpack-process.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/assemblies/j2ee-installer/src/izpack/izpack-process.xml?rev=354379&view=auto
==============================================================================
--- geronimo/trunk/assemblies/j2ee-installer/src/izpack/izpack-process.xml (added)
+++ geronimo/trunk/assemblies/j2ee-installer/src/izpack/izpack-process.xml Tue Dec  6 00:59:21 2005
@@ -0,0 +1,287 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<processing>
+    <!-- J2EE Features -->
+    <job name="Activating RMI naming configuration">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/RMINaming</arg>
+        </executefile>
+        <executeForPack name="J2EE Features"/>
+    </job>
+    <job name="Activating base J2EE configuration">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/Server</arg>
+        </executefile>
+        <executeForPack name="J2EE Features"/>
+    </job>
+    <job name="Activating J2EE Security">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/Security</arg>
+        </executefile>
+        <executeForPack name="J2EE Features"/>
+    </job>
+    <job name="Activating J2EE deployer">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/RuntimeDeployer</arg>
+        </executefile>
+        <executeForPack name="J2EE Features"/>
+    </job>
+    <job name="Activating embedded database">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/SystemDatabase</arg>
+        </executefile>
+        <executeForPack name="J2EE Features"/>
+    </job>
+
+    <!-- corba -->
+    <job name="Activating base J2EE configuration">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/ServerCORBA</arg>
+        </executefile>
+        <executeForPack name="CORBA Features"/>
+    </job>
+
+    <!-- jms -->
+    <job name="Activating JMS broker">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/ActiveMQServer</arg>
+        </executefile>
+        <executeForPack name="JMS Features"/>
+    </job>
+    <job name="Activating system JMS destinations">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/SystemJMS</arg>
+        </executefile>
+        <executeForPack name="JMS Features"/>
+    </job>
+
+    <!-- Jetty -->
+    <job name="Activating Jetty Web Container">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/Jetty</arg>
+        </executefile>
+        <executeForPack name="Jetty Web Container"/>
+    </job>
+    <job name="Activating Jetty Deployer">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/JettyRuntimeDeployer</arg>
+        </executefile>
+        <executeForPack name="Jetty Web Container"/>
+    </job>
+
+    <!-- Jetty Welcome app -->
+    <job name="Activating Jetty Welcome Application">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/applications/Welcome/Jetty</arg>
+        </executefile>
+        <executeForPack name="Jetty Welcome Application"/>
+    </job>
+
+     <!-- Jetty Web Management Console -->
+    <job name="Activating Jetty Web management console">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/Console/Jetty</arg>
+        </executefile>
+        <executeForPack name="Jetty Web Management Console"/>
+    </job>
+
+    <!-- Jetty UDDI Server -->
+    <job name="Activating Jetty UDDI server">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/juddiServer/${GeronimoVersion}/Jetty</arg>
+        </executefile>
+        <executeForPack name="Jetty UDDI Server"/>
+    </job>
+
+    <!-- Tomcat -->
+    <job name="Activating Tomcat Web Container">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/Tomcat</arg>
+        </executefile>
+        <executeForPack name="Tomcat Web Container"/>
+    </job>
+    <job name="Activating Tomcat Deployer">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/TomcatRuntimeDeployer</arg>
+        </executefile>
+        <executeForPack name="Tomcat Web Container"/>
+    </job>
+
+    <!-- Tomcat Welcome app -->
+    <job name="Activating Tomcat Welcome Application">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/applications/Welcome/Tomcat</arg>
+        </executefile>
+        <executeForPack name="Tomcat Welcome Application"/>
+    </job>
+
+     <!-- Tomcat Web Management Console -->
+    <job name="Activating Tomcat Web management console">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/Console/Tomcat</arg>
+        </executefile>
+        <executeForPack name="Tomcat Web Management Console"/>
+    </job>
+
+    <!-- Tomcat UDDI Server -->
+    <job name="Activating Tomcat UDDI server">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/juddiServer/${GeronimoVersion}/Tomcat</arg>
+        </executefile>
+        <executeForPack name="Tomcat UDDI Server"/>
+    </job>
+
+    <!-- LDAP Server -->
+    <job name="Activating LDAP server">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/Directory</arg>
+        </executefile>
+        <executeForPack name="LDAP Server"/>
+    </job>
+
+    <!-- Sample Database Pool -->
+    <job name="Activating sample database pool">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/DefaultDatabase</arg>
+        </executefile>
+        <executeForPack name="Sample Database Pool"/>
+    </job>
+
+    <!-- Spring Integration -->
+    <job name="Activating Spring integration">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/SpringRuntime</arg>
+        </executefile>
+        <executeForPack name="Spring Integration"/>
+    </job>
+
+    <job name="Activating Spring module deployer">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/SpringDeployer</arg>
+        </executefile>
+        <executeForPack name="Spring Integration"/>
+    </job>
+
+    <!-- JMX Debug Web Application -->
+    <job name="Activating JMX debug application">
+        <executefile name="$JAVA_HOME/bin/java">
+            <arg>-classpath</arg>
+            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>
+            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>
+            <arg>$INSTALL_PATH/var/config/config.list</arg>
+            <arg>org/apache/geronimo/DebugConsole</arg>
+        </executefile>
+        <executeForPack name="JMX Debug Web Application"/>
+    </job>
+
+    <!-- Demo Web Application -->
+<!--    <job name="Activating sample security realm">-->
+<!--        <executefile name="$JAVA_HOME/bin/java">-->
+<!--            <arg>-classpath</arg>-->
+<!--            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>-->
+<!--            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>-->
+<!--            <arg>$INSTALL_PATH/var/config/config.list</arg>-->
+<!--            <arg>org/apache/geronimo/SampleSecurityRealm</arg>-->
+<!--        </executefile>-->
+<!--        <executeForPack name="Demo Web Application"/>-->
+<!--    </job>-->
+
+<!--    <job name="Activating demo web application">-->
+<!--        <executefile name="$JAVA_HOME/bin/java">-->
+<!--            <arg>-classpath</arg>-->
+<!--            <arg>$INSTALL_PATH/repository/geronimo/jars/geronimo-system-${GeronimoVersion}.jar</arg>-->
+<!--            <arg>org.apache.geronimo.system.configuration.cli.AddStartupConfiguration</arg>-->
+<!--            <arg>$INSTALL_PATH/var/config/config.list</arg>-->
+<!--            <arg>org/apache/geronimo/Demo</arg>-->
+<!--        </executefile>-->
+<!--        <executeForPack name="Demo Web Application"/>-->
+<!--    </job>-->
+    <!--  <job name="Finished" /> -->
+</processing>

Added: geronimo/trunk/assemblies/j2ee-installer/src/izpack/izpack-user-input.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/assemblies/j2ee-installer/src/izpack/izpack-user-input.xml?rev=354379&view=auto
==============================================================================
--- geronimo/trunk/assemblies/j2ee-installer/src/izpack/izpack-user-input.xml (added)
+++ geronimo/trunk/assemblies/j2ee-installer/src/izpack/izpack-user-input.xml Tue Dec  6 00:59:21 2005
@@ -0,0 +1,194 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<userInput>
+    <panel order="0">
+        <field type="title" txt="Security Configuration"/>
+        <field type="staticText" txt="Please select security options for Geronimo"/>
+        <divider/>
+        <field type="text" variable="SecurityDefaultUser">
+            <description txt="User name used to manage and deploy to the Geronimo server"/>
+            <spec txt="Username:" size="15" set="system"/>
+        </field>
+        <field type="text" variable="SecurityDefaultPassword">
+            <description txt="Password used to manage and deploy to the Geronimo server"/>
+            <spec txt="Password:" size="15" set="manager"/>
+        </field>
+        <field type="rule" variable="PlanRemoteLoginPort">
+            <description txt="The network port that should be used to listen for remote login attempts"/>
+            <spec txt="Remote Login Port:" layout="N:5:5" set="0:4242"/>
+            <validator class="com.izforge.izpack.util.NotEmptyValidator"/>
+            <createForPack name="J2EE Features"/>
+        </field>
+        <createForPack name="Server"/>
+    </panel>
+    <panel order="1">
+        <field type="title" txt="Jetty Web Configuration"/>
+        <field type="staticText" txt="Please select Jetty Web server configuration options for Geronimo"/>
+        <divider/>
+        <field type="text" variable="PlanServerHostname">
+            <description txt="Hostname the server should bind to (usually localhost or 0.0.0.0)"/>
+            <spec txt="Hostname:" size="50" set="0.0.0.0"/>
+        </field>
+        <field type="rule" variable="PlanHTTPPort">
+            <description txt="The standard network port that the web container should use"/>
+            <spec txt="HTTP Port:" layout="N:5:5" set="0:8080"/>
+            <validator class="com.izforge.izpack.util.NotEmptyValidator"/>
+        </field>
+        <field type="rule" variable="PlanHTTPSPort">
+            <description txt="The secure network port that the web container should use"/>
+            <spec txt="HTTPS Port:" layout="N:5:5" set="0:8443"/>
+            <validator class="com.izforge.izpack.util.NotEmptyValidator"/>
+        </field>
+        <field type="rule" variable="PlanAJPPort">
+            <description txt="The Apache AJP network port that the web container should use"/>
+            <spec txt="AJP Port:" layout="N:5:5" set="0:8009"/>
+            <validator class="com.izforge.izpack.util.NotEmptyValidator"/>
+        </field>
+        <field type="text" variable="PlanWebServerName">
+            <description txt="Name of web container (do not modify)"/>
+            <spec txt="Web Server (Do not modify)" size="5" set="Jetty"/>
+        </field>
+        <field type="text" variable="PlanWebBuilderDefaultNamespace">
+            <description txt="Namspace for web plan schema (do not modify)"/>
+            <spec txt="Web plan namespace (Do not modify)" size="53" set="http://geronimo.apache.org/xml/ns/j2ee/web/jetty-1.0"/>
+        </field>
+        <createForPack name="Jetty Web Container"/>
+    </panel>
+    <panel order="2">
+        <field type="title" txt="Tomcat Web Configuration"/>
+        <field type="staticText" txt="Please select Tomcat Web server configuration options for Geronimo"/>
+        <divider/>
+        <field type="text" variable="PlanServerHostname">
+            <description txt="Hostname the server should bind to (usually localhost or 0.0.0.0)"/>
+            <spec txt="Hostname:" size="50" set="0.0.0.0"/>
+        </field>
+        <field type="rule" variable="PlanHTTPPort2">
+            <description txt="The standard network port that the web container should use"/>
+            <spec txt="HTTP Port:" layout="N:5:5" set="0:8080"/>
+            <validator class="com.izforge.izpack.util.NotEmptyValidator"/>
+        </field>
+        <field type="rule" variable="PlanHTTPSPort2">
+            <description txt="The secure network port that the web container should use"/>
+            <spec txt="HTTPS Port:" layout="N:5:5" set="0:8443"/>
+            <validator class="com.izforge.izpack.util.NotEmptyValidator"/>
+        </field>
+        <field type="rule" variable="PlanAJPPort2">
+            <description txt="The Apache AJP network port that the web container should use"/>
+            <spec txt="AJP Port:" layout="N:5:5" set="0:8009"/>
+            <validator class="com.izforge.izpack.util.NotEmptyValidator"/>
+        </field>
+        <field type="text" variable="PlanWebServerName">
+            <description txt="Name of web container (do not modify)"/>
+            <spec txt="Web Server (Do not modify)" size="5" set="Tomcat"/>
+        </field>
+        <field type="text" variable="PlanWebBuilderDefaultNamespace">
+            <description txt="Namspace for web plan schema (do not modify)"/>
+            <spec txt="Web plan namespace (Do not modify)" size="55" set="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.0"/>
+        </field>
+        <createForPack name="Tomcat Web Container"/>
+    </panel>
+    <panel order="3">
+        <field type="title" txt="EJB Configuration"/>
+        <field type="staticText" txt="Please select EJB server configuration options for Geronimo"/>
+        <divider/>
+        <field type="rule" variable="PlanNamingPort">
+            <description txt="The network port that the Geronimo naming service should use"/>
+            <spec txt="Naming Port:" layout="N:5:5" set="0:1099"/>
+            <validator class="com.izforge.izpack.util.NotEmptyValidator"/>
+            <createForPack name="Server"/>
+        </field>
+        <field type="rule" variable="PlanOpenEJBPort">
+            <description txt="The network port that the EJB container should use"/>
+            <spec txt="EJB Port:" layout="N:5:5" set="0:4201"/>
+            <validator class="com.izforge.izpack.util.NotEmptyValidator"/>
+            <createForPack name="J2EE Features"/>
+        </field>
+        <field type="text" variable="PlanClientAddresses">
+            <description txt="IP addresses the server should accept EJB client connections from"/>
+            <spec txt="Clients:" size="50" set="0.0.0.0"/>
+            <createForPack name="J2EE Features"/>
+        </field>
+    </panel>
+    <panel order="4">
+        <field type="title" txt="CORBA Configuration"/>
+        <field type="staticText" txt="Please select CORBA configuration options for Geronimo"/>
+        <divider/>
+        <field type="rule" variable="PlanIIOPPort">
+            <description txt="The network port that the RMI/IIOP listener should use"/>
+            <spec txt="IIOP Port:" layout="N:5:5" set="0:9000"/>
+            <validator class="com.izforge.izpack.util.NotEmptyValidator"/>
+        </field>
+        <field type="text" variable="PlanORBSSLHost">
+            <description txt="The network port that the IIOP ORB should use. Do not change, it cannot be reset from the installer."/>
+            <spec txt="ORB Host:" size="50" set="localhost"/>
+        </field>
+        <field type="rule" variable="PlanORBSSLPort">
+            <description txt="The network port that the IIOP ORB should use. Do not change, it cannot be reset from the installer."/>
+            <spec txt="ORB Port:" layout="N:5:5" set="0:2001"/>
+            <validator class="com.izforge.izpack.util.NotEmptyValidator"/>
+        </field>
+        <field type="text" variable="PlanCOSNamingHost">
+            <description txt="The network port that the CORBA Naming Service should use"/>
+            <spec txt="CosNaming Host:" size="50" set="localhost"/>
+        </field>
+        <field type="rule" variable="PlanCOSNamingPort">
+            <description txt="The network port that the CORBA Naming Service should use"/>
+            <spec txt="CosNaming Port:" layout="N:5:5" set="0:1050"/>
+            <validator class="com.izforge.izpack.util.NotEmptyValidator"/>
+        </field>
+        <createForPack name="CORBA Features"/>
+    </panel>
+    <panel order="5">
+        <field type="title" txt="Derby Configuration"/>
+        <field type="staticText" txt="Please configure Derby"/>
+        <divider/>
+        <field type="rule" variable="PlanDerbyPort">
+            <description txt="The network port that the Derby DB should use"/>
+            <spec txt="Derby Port:" layout="N:5:5" set="0:1527"/>
+            <validator class="com.izforge.izpack.util.NotEmptyValidator"/>
+            <createForPack name="J2EE Features"/>
+        </field>
+    </panel>
+    <panel order="6">
+        <field type="title" txt="Activemq Configuration"/>
+        <field type="staticText" txt="Please configure activemq services"/>
+        <divider/>
+        <field type="rule" variable="PlanActiveMQPort">
+            <description txt="The network port that the ActiveMQ JMS server should use"/>
+            <spec txt="JMS Port:" layout="N:5:5" set="0:61616"/>
+            <validator class="com.izforge.izpack.util.NotEmptyValidator"/>
+        </field>
+        <createForPack name="JMS Features"/>
+    </panel>
+    <panel order="7">
+        <field type="title" txt="Directory (LDAP) Configuration"/>
+        <field type="staticText" txt="Please configure Directory services"/>
+        <divider/>
+        <field type="rule" variable="PlanLdapPort">
+            <description txt="The network port that the directory server should use"/>
+            <spec txt="Directory Port:" layout="N:5:5" set="0:1389"/>
+            <validator class="com.izforge.izpack.util.NotEmptyValidator"/>
+        </field>
+        <createForPack name="LDAP Server"/>
+    </panel>
+    <panel order="8">
+	    <field type="title" txt="Samples Configuration"/>
+	    <field type="staticText" txt="Select samples to install" />
+	    <divider/>
+	    <field type="check" variable="jettySamples.1">
+		    <Description align="left"
+				 txt="Jetty Samples"
+				 id="jettySamplesDesc.1"/>
+		    <spec txt="Jetty Samples"
+			  id="jettySamples.label.1" true="on" false="off"
+			  set="false"/>
+	    </field>
+	    <field type="check" variable="tomcatSamples.1">
+		    <Description align="left"
+				 txt="Tomcat Samples"
+				 id="tomcatSamplesDesc.1"/>
+		    <spec txt="Tomcat Samples"
+			  id="tomcatSamples.label.1" true="on" false="off"
+			  set="false"/>
+	    </field>
+    </panel>
+</userInput>

Added: geronimo/trunk/plugins/geronimo-izpack-plugin/LICENSE.txt
URL: http://svn.apache.org/viewcvs/geronimo/trunk/plugins/geronimo-izpack-plugin/LICENSE.txt?rev=354379&view=auto
==============================================================================
--- geronimo/trunk/plugins/geronimo-izpack-plugin/LICENSE.txt (added)
+++ geronimo/trunk/plugins/geronimo-izpack-plugin/LICENSE.txt Tue Dec  6 00:59:21 2005
@@ -0,0 +1,203 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+

Added: geronimo/trunk/plugins/geronimo-izpack-plugin/NOTICE.txt
URL: http://svn.apache.org/viewcvs/geronimo/trunk/plugins/geronimo-izpack-plugin/NOTICE.txt?rev=354379&view=auto
==============================================================================
--- geronimo/trunk/plugins/geronimo-izpack-plugin/NOTICE.txt (added)
+++ geronimo/trunk/plugins/geronimo-izpack-plugin/NOTICE.txt Tue Dec  6 00:59:21 2005
@@ -0,0 +1,3 @@
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
+

Added: geronimo/trunk/plugins/geronimo-izpack-plugin/maven.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/plugins/geronimo-izpack-plugin/maven.xml?rev=354379&view=auto
==============================================================================
--- geronimo/trunk/plugins/geronimo-izpack-plugin/maven.xml (added)
+++ geronimo/trunk/plugins/geronimo-izpack-plugin/maven.xml Tue Dec  6 00:59:21 2005
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+
+<!-- $Rev: 351514 $ $Date: 2005-12-01 15:12:20 -0800 (Thu, 01 Dec 2005) $ -->
+
+<project default="plugin:install">
+    <goal name="default">
+        <attainGoal name="plugin:install"/>
+    </goal>
+
+    <goal name="plugin:install" prereqs="plugin:plugin">
+        <attainGoal name="plugin:install-now"/>
+        <attainGoal name="plugin:repository-install"/>
+        <!--
+        <copy file="${maven.build.dir}/${maven.final.name}.jar"
+          todir="${maven.plugin.dir}" />
+        -->
+     </goal>
+
+
+</project>

Added: geronimo/trunk/plugins/geronimo-izpack-plugin/plugin.jelly
URL: http://svn.apache.org/viewcvs/geronimo/trunk/plugins/geronimo-izpack-plugin/plugin.jelly?rev=354379&view=auto
==============================================================================
--- geronimo/trunk/plugins/geronimo-izpack-plugin/plugin.jelly (added)
+++ geronimo/trunk/plugins/geronimo-izpack-plugin/plugin.jelly Tue Dec  6 00:59:21 2005
@@ -0,0 +1,158 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<!-- $Rev: 158417 $ $Date: 2005-03-20 23:25:45 -0800 (Sun, 20 Mar 2005) $ -->
+
+<project
+    xmlns:j="jelly:core"
+    xmlns:artifact="artifact"
+    xmlns:ant="jelly:ant"
+    xmlns:define="jelly:define"
+    xmlns:m="jelly:maven"
+    xmlns:velocity="jelly:velocity"
+    xmlns:assemble="geronimo:assembly"
+    >
+    <!-- ================= -->
+    <!-- Global Properties -->
+    <!-- ================= -->
+
+    <!-- Determine what the top-level project root is -->
+    <j:set var="project.root" value="${pom.parentBasedir().getParentFile().getCanonicalFile()}"/>
+
+    <!--
+    <define:taglib uri="geronimo:assembly">
+        <define:jellybean name="installConfig" className="org.apache.geronimo.plugin.assembly.LocalConfigInstaller" method="execute"/>
+        <define:jellybean name="installConfigToRepo" className="org.apache.geronimo.plugin.assembly.RepoConfigInstaller" method="execute"/>
+    </define:taglib>
+    -->
+    <goal name="assemble:izpack-prepare">
+	<echo>izpack-prepare is running</echo>
+
+        <fileScanner var="installFiles">
+            <fileset dir="${geronimo.assembly.dest}/izpack">
+                <include name="*.xml"/>
+            </fileset>
+        </fileScanner>
+        <j:set var="GeronimoVersion" value="${geronimo_version}"/>
+        <j:set var="InstallSource" value="${geronimo.assembly.dest}"/>
+        <j:set var="ReleaseNotesVersion" value="1.0-M5"/>
+        <j:forEach var="installer" items="${installFiles.iterator()}">
+            <j:set var="installerName" value="${installer.name}"/>
+            <echo>Processing installer file ${installerName}</echo>
+            <velocity:merge
+                basedir="${geronimo.assembly.dest}/izpack"
+                template="${installerName}"
+                name="${geronimo.assembly.dest}/${installerName}"/>
+        </j:forEach>
+
+        <!-- Add all txt fines and the status file to the binary -->
+        <ant:copy todir="${geronimo.assembly.dest}">
+            <fileset dir="${project.root}" includes="*.txt,STATUS"/>
+            <ant:fileset dir="${project.root}">
+                <ant:include name="*.txt"/>
+                <ant:include name="STATUS"/>
+            </ant:fileset>
+        </ant:copy>
+
+        <!-- Add XML schemas -->
+        <ant:mkdir dir="${geronimo.assembly.dest}/schema"/>
+        <ant:copy todir="${geronimo.assembly.dest}/schema" flatten="true">
+            <ant:fileset dir="${project.root}/modules/j2ee-schema">
+                <ant:include name="src/j2ee_1_4schema/*.xsd"/>
+		<ant:include name="src/j2ee_1_3dtd/*.dtd"/>
+		<ant:include name="src/j2ee_1_2dtd/*.dtd"/>
+            </ant:fileset>
+            <ant:fileset dir="${project.root}/modules/deployment">
+                <ant:include name="src/schema/*.xsd"/>
+            </ant:fileset>
+            <ant:fileset dir="${project.root}/modules/j2ee-builder">
+                <ant:include name="src/schema/*.xsd"/>
+            </ant:fileset>
+            <ant:fileset dir="${project.root}/modules/web-builder">
+                <ant:include name="src/schema/*.xsd"/>
+            </ant:fileset>
+            <ant:fileset dir="${project.root}/modules/jetty-builder">
+                <ant:include name="src/schema/*.xsd"/>
+            </ant:fileset>
+            <ant:fileset dir="${project.root}/modules/tomcat-builder">
+                <ant:include name="src/schema/*.xsd"/>
+            </ant:fileset>
+            <ant:fileset dir="${project.root}/modules/connector-builder">
+                <ant:include name="src/schema/*.xsd"/>
+            </ant:fileset>
+            <ant:fileset dir="${project.root}/modules/naming-builder">
+                <ant:include name="src/schema/*.xsd"/>
+            </ant:fileset>
+            <ant:fileset dir="${project.root}/modules/security-builder">
+                <ant:include name="src/schema/geronimo*.xsd"/>
+            </ant:fileset>
+            <ant:fileset dir="${project.root}/modules/service-builder">
+                <ant:include name="src/schema/geronimo*.xsd"/>
+            </ant:fileset>
+            <ant:fileset dir="${project.root}/modules/client-builder">
+                <ant:include name="src/schema/*.xsd"/>
+            </ant:fileset>
+            <!--ant:fileset dir="src/etc"/-->
+        </ant:copy>
+
+        <!-- extract XML schemas from OpenEJB jars -->
+        <ant:unzip src="${maven.repo.local}/openejb/jars/openejb-pkgen-builder-${openejb_version}.jar"
+            dest="${geronimo.assembly.dest}">
+            <ant:patternset>
+                <ant:include name="META-INF/schema/openejb-pkgen*.xsd"/>
+            </ant:patternset>
+        </ant:unzip>
+        <ant:unzip src="${maven.repo.local}/openejb/jars/openejb-builder-${openejb_version}.jar"
+            dest="${geronimo.assembly.dir}">
+            <ant:patternset>
+                <ant:include name="META-INF/schema/openejb-jar*.xsd"/>
+                <ant:include name="META-INF/schema/corba-css-config*.xsd"/>
+                <ant:include name="META-INF/schema/corba-tss-config*.xsd"/>
+            </ant:patternset>
+        </ant:unzip>
+        <ant:move todir="${geronimo.assembly.dest}/schema">
+            <ant:fileset dir="${geronimo.assembly.dest}/META-INF/schema">
+                <ant:include name="*.xsd"/>
+            </ant:fileset>
+        </ant:move>
+        <ant:delete dir="${geronimo.assembly.dest}/META-INF"/>
+
+        <!-- Write out a copy of config.xml with substitution variables intact -->
+        <!--
+        <velocity:merge basedir="${basedir}/src/var/config"
+            template="config.xml"
+            name="${geronimo.assembly.dest}/var/config/config.xml"/>
+
+        <ant:echo file="${geronimo.assembly.dest}/var/security/users.properties" message="$${SecurityDefaultUser}=$${SecurityDefaultPassword}"/>
+        <ant:echo file="${geronimo.assembly.dest}/var/security/groups.properties" message="admin=$${SecurityDefaultUser}"/>
+        -->
+    </goal>
+
+
+    <goal name="assemble:izpack-installer-build" prereqs="assemble:izpack-prepare" >
+        <echo>IZPack installer build is running.</echo>
+        <echo>IZPack Version is ${izpack_version}</echo>
+        <ant:java jar="${maven.repo.local}/izpack/jars/standalone-compiler-${izpack_version}.jar"
+              fork="true" >
+           <arg value="${geronimo.assembly.dest}/geronimo-izpack.xml" />
+           <arg value="-o" />
+           <arg value="${geronimo.assembly.dest}/geronimo-installer.jar" />
+        </ant:java>
+
+    </goal>
+</project>

Added: geronimo/trunk/plugins/geronimo-izpack-plugin/plugin.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/plugins/geronimo-izpack-plugin/plugin.properties?rev=354379&view=auto
==============================================================================
--- geronimo/trunk/plugins/geronimo-izpack-plugin/plugin.properties (added)
+++ geronimo/trunk/plugins/geronimo-izpack-plugin/plugin.properties Tue Dec  6 00:59:21 2005
@@ -0,0 +1,30 @@
+##
+##
+##   Copyright 2005 The Apache Software Foundation
+##
+##   Licensed under the Apache License, Version 2.0 (the "License");
+##   you may not use this file except in compliance with the License.
+##   You may obtain a copy of the License at
+##
+##       http://www.apache.org/licenses/LICENSE-2.0
+##
+##   Unless required by applicable law or agreed to in writing, software
+##   distributed under the License is distributed on an "AS IS" BASIS,
+##   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+##   See the License for the specific language governing permissions and
+##   limitations under the License.
+##
+
+##
+## $Rev: 158417 $ $Date: 2005-03-20 23:25:45 -0800 (Sun, 20 Mar 2005) $
+##
+izpack_version=3.8.0
+geronimo.assembly.name=geronimo-${pom.currentVersion}
+geronimo.assembly.dest=${maven.build.dir}/${geronimo.assembly.name}
+geronimo.assembly.src=${basedir}/src
+
+geronimo.assembly.tar=true
+geronimo.assembly.zip=true
+
+geronimo.assembly.distributions.dir=${maven.build.dir}/distributions
+

Added: geronimo/trunk/plugins/geronimo-izpack-plugin/project.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/plugins/geronimo-izpack-plugin/project.properties?rev=354379&view=auto
==============================================================================
--- geronimo/trunk/plugins/geronimo-izpack-plugin/project.properties (added)
+++ geronimo/trunk/plugins/geronimo-izpack-plugin/project.properties Tue Dec  6 00:59:21 2005
@@ -0,0 +1,29 @@
+##
+##
+##   Copyright 2005 The Apache Software Foundation
+##
+##   Licensed under the Apache License, Version 2.0 (the "License");
+##   you may not use this file except in compliance with the License.
+##   You may obtain a copy of the License at
+##
+##       http://www.apache.org/licenses/LICENSE-2.0
+##
+##   Unless required by applicable law or agreed to in writing, software
+##   distributed under the License is distributed on an "AS IS" BASIS,
+##   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+##   See the License for the specific language governing permissions and
+##   limitations under the License.
+##
+
+##
+## $Rev: 158417 $ $Date: 2005-03-20 23:25:45 -0800 (Sun, 20 Mar 2005) $
+##
+
+
+maven.compile.source=1.4
+maven.compile.target=1.4
+
+geronimoVersion=1.0-SNAPSHOT
+
+maven.multiproject.type=plugin
+

Added: geronimo/trunk/plugins/geronimo-izpack-plugin/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/plugins/geronimo-izpack-plugin/project.xml?rev=354379&view=auto
==============================================================================
--- geronimo/trunk/plugins/geronimo-izpack-plugin/project.xml (added)
+++ geronimo/trunk/plugins/geronimo-izpack-plugin/project.xml Tue Dec  6 00:59:21 2005
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<!-- $Rev: 158417 $ $Date: 2005-03-20 23:25:45 -0800 (Sun, 20 Mar 2005) $ -->
+<project>
+    <pomVersion>3</pomVersion>
+    <groupId>geronimo</groupId>
+    <id>geronimo-izpack-plugin</id>
+    <name>Geronimo :: IZPack Installer Build Plugin</name>
+    <description>A plugin used to build an IZPack based installer for Geronimo</description>
+    <currentVersion>1.0-SNAPSHOT</currentVersion>
+
+    <dependencies>
+        <dependency>
+            <groupId>geronimo</groupId>
+            <artifactId>geronimo-kernel</artifactId>
+            <version>1.0-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>geronimo</groupId>
+            <artifactId>geronimo-system</artifactId>
+            <version>1.0-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>izpack</groupId>
+            <artifactId>standalone-compiler</artifactId>
+            <version>3.8.0</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <!--sourceDirectory>src/java</sourceDirectory-->
+
+        <resources>
+            <resource>
+                <directory></directory>
+                <includes>
+                    <include>plugin.jelly</include>
+                    <include>plugin.properties</include>
+                    <include>project.xml</include>
+                    <include>NOTICE.txt</include>
+                </includes>
+            </resource>
+        </resources>
+    </build>
+</project>
+



Mime
View raw message