Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 84788 invoked from network); 24 Mar 2006 23:24:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Mar 2006 23:24:35 -0000 Received: (qmail 44352 invoked by uid 500); 24 Mar 2006 23:24:24 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 44301 invoked by uid 500); 24 Mar 2006 23:24:23 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 44290 invoked by uid 99); 24 Mar 2006 23:24:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Mar 2006 15:24:23 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ammulder@gmail.com designates 64.233.162.196 as permitted sender) Received: from [64.233.162.196] (HELO zproxy.gmail.com) (64.233.162.196) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Mar 2006 15:24:22 -0800 Received: by zproxy.gmail.com with SMTP id f1so95511nzc for ; Fri, 24 Mar 2006 15:24:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type; b=IEa7QvaAnY8W9IcRnd000qjwKqtnAtiinfas6D9qqj5mhUJxYPuNV4qCQ7PzHoRArpe86KVF92fGE+JTU2Nr7ecFrtt49leFKhI5cLfdhjJDu/Y/enBVNHp/wSKGm6sboWp7GsBWB9VIVPwNWdM0C21NeTcl25dtxrQJ/9z3Gpw= Received: by 10.35.9.2 with SMTP id m2mr461819pyi; Fri, 24 Mar 2006 15:24:01 -0800 (PST) Received: by 10.35.116.1 with HTTP; Fri, 24 Mar 2006 15:24:01 -0800 (PST) Message-ID: <74e15baa0603241524p7d2e4b9aw4cf92d919e155c08@mail.gmail.com> Date: Fri, 24 Mar 2006 18:24:01 -0500 From: "Aaron Mulder" Sender: ammulder@gmail.com To: "Geronimo Dev" Subject: New Feature: Configuration Import/Export MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3302_30566523.1143242641449" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_3302_30566523.1143242641449 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I've just added a new feature to the console whereby it can export an installed configuration to a CAR file, and also install previously uninstalled configurations (CAR files and dependency JAR files) from a Maven repository (though at present, it depends on a properties file being in the repository the provide some metadata on the available CARs). It also still doesn't have any reasonable feedback during the download process. Anyway, I'm not really looking at this as a final definition of the feature, more a look at what we can do so we can talk about the best way to do it. (For example, we've talked about how it would be nice to have command-line tools to do this, and while some of the code could be extracted, we'd potentially need a separate file upload solution, if we can't reuse the remote-deploy web app. Also, it can only install from a Maven repo [vs a direct file upload] so it can fetch needed dependencies. Also, it doesn't take advantage of the soon-to-be-on-iBiblio Maven repository manager.) As a conversation starter, it would be nice to distribute Geronimo without any sample applications to make it a little leaner and faster to start -- just have the screen in the console that lets you download and install any of them that you want. I also think it would be nice to distribute without Directory and some of the other add-ons, and provide the ability to download and install those, ServiceMix, Quartz, and other packages we know of integration for. If you want to take a look at this, there's an Import/Export entry in the application part of the console navigation bar (in HEAD). You need to set up some Maven repo to point it to (though for a REAL quick start you can just use a file URL like file:///home/ammulder/.maven/repository). And then you need a file in the root of the Maven repo called geronimo-configurations.properties with entries like this: Category.ConfigId=3DDescription Then enter the URL to your Maven repo in the screen in the console, and it'll list all the configurations from the properties file, grouped by the categories you specified, and let you install anything that's not already available in the local server. I've attached a sample that exposes some of the Geronimo web apps if you want a real, real quick start. Thanks, Aaron ------=_Part_3302_30566523.1143242641449 Content-Type: application/octet-stream; name=geronimo-configurations.properties Content-Transfer-Encoding: 7bit X-Attachment-Id: f_el752sim Content-Disposition: attachment; filename="geronimo-configurations.properties" Utilities.geronimo/jmxdebug-jetty/1.2-SNAPSHOT/car=JMX debugging web application for Jetty Examples.geronimo/jsp-examples-jetty/1.2-SNAPSHOT/car=JSP examples for Geronimo with Jetty Examples.geronimo/ldap-demo-jetty/1.2-SNAPSHOT/car=LDAP demonstration web application for Jetty Utilities.geronimo/remote-deploy-jetty/1.2-SNAPSHOT/car=Geronimo remote deployment support for Jetty Examples.geronimo/servlets-examples-jetty/1.2-SNAPSHOT/car=Servlet examples for Geronimo with Jetty Utilities.geronimo/welcome-jetty/1.2-SNAPSHOT/car=Geronimo welcome application for Jetty Utilities.geronimo/jmxdebug-tomcat/1.2-SNAPSHOT/car=JMX debugging web application for Tomcat Examples.geronimo/jsp-examples-tomcat/1.2-SNAPSHOT/car=JSP examples for Geronimo with Tomcat Examples.geronimo/ldap-demo-tomcat/1.2-SNAPSHOT/car=LDAP demonstration web application for Tomcat Utilities.geronimo/remote-deploy-tomcat/1.2-SNAPSHOT/car=Geronimo remote deployment support for Tomcat Examples.geronimo/servlets-examples-tomcat/1.2-SNAPSHOT/car=Servlet examples for Geronimo with Tomcat Utilities.geronimo/welcome-tomcat/1.2-SNAPSHOT/car=Geronimo welcome application for Tomcat ------=_Part_3302_30566523.1143242641449--