Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 67331 invoked from network); 26 Mar 2006 01:15:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Mar 2006 01:15:56 -0000 Received: (qmail 95065 invoked by uid 500); 26 Mar 2006 01:15:54 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 94631 invoked by uid 500); 26 Mar 2006 01:15:52 -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 94620 invoked by uid 99); 26 Mar 2006 01:15:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Mar 2006 17:15:52 -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.184.236 as permitted sender) Received: from [64.233.184.236] (HELO wproxy.gmail.com) (64.233.184.236) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Mar 2006 17:15:51 -0800 Received: by wproxy.gmail.com with SMTP id i22so743578wra for ; Sat, 25 Mar 2006 17:15:31 -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:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=t2aUjZMnyN2lDcDBwnCcSw4otJMhUqKjAs2+7F1b315Kc/AJ6PjOZQHjc5s/rhqH4Qil9a9urE3kSRwC92mamiiLGS3SGUXkYIU/dtI5nlVf3UYskLWUj4CTD2S4yoFM5bu4+zH5V/z9kFd8PQ4lHPT1Gd1PbAcLGOSWfMwZfU8= Received: by 10.35.78.9 with SMTP id f9mr221161pyl; Sat, 25 Mar 2006 17:15:30 -0800 (PST) Received: by 10.35.116.1 with HTTP; Sat, 25 Mar 2006 17:15:30 -0800 (PST) Message-ID: <74e15baa0603251715x79d8713fq5898a624810ecb23@mail.gmail.com> Date: Sat, 25 Mar 2006 20:15:30 -0500 From: "Aaron Mulder" Sender: ammulder@gmail.com To: "Geronimo Dev" Subject: Re: New Feature: Configuration Import/Export In-Reply-To: <74e15baa0603241524p7d2e4b9aw4cf92d919e155c08@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <74e15baa0603241524p7d2e4b9aw4cf92d919e155c08@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This now works from the command line too: java -jar bin/deployer.jar install-configs http://localhost/maven/ But you still need the geronimo-configurations.properties in the root of the Maven repo. I'm thinking of changing that to an XML format since there's at least one more piece of information that it would be nice to fit in there -- namely, the version of Geronimo that this particular CAR is expected to work in. We may even consider explicitly breaking out the web container for web app configurations so we don't bother listing all the Tomcat apps if you have a Jetty server and vice versa. Thanks, Aaron On 3/24/06, Aaron Mulder wrote: > 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 > > >