Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 48992 invoked by uid 500); 21 Aug 2003 10:27:04 -0000 Mailing-List: contact geronimo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: geronimo-dev@incubator.apache.org Delivered-To: mailing list geronimo-dev@incubator.apache.org Received: (qmail 48966 invoked from network); 21 Aug 2003 10:27:03 -0000 Received: from smtp102.mail.sc5.yahoo.com (216.136.174.140) by daedalus.apache.org with SMTP; 21 Aug 2003 10:27:03 -0000 Received: from unknown (HELO yahoo.co.uk) (james?strachan@217.204.102.101 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 21 Aug 2003 08:43:36 -0000 Date: Thu, 21 Aug 2003 08:45:08 +0100 Subject: Re: [example] deployment and dependency services Content-Type: text/plain; delsp=yes; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: James Strachan To: geronimo-dev@incubator.apache.org Content-Transfer-Encoding: 7bit In-Reply-To: <009F5456-D399-11D7-8482-000393DB559A@coredevelopers.net> Message-Id: <630943B0-D3AB-11D7-8A8C-000A959D0312@yahoo.co.uk> X-Mailer: Apple Mail (2.552) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Cool beans! Nice work Dain. We should put the simple example into cvs somewhere. Maybe we should have an examples module where we can put various example services in? Then we could put your instructions on the website for how to run an example etc. On Thursday, August 21, 2003, at 06:33 am, Dain Sundstrom wrote: > Hi all, > > This is directions on how to install the examples which show off the > deployment and dependency services. This demo works on my apple > laptop, but may not work on you machine. If it doesn't, please > respond to this post and I'll fix the problem. > > Good Luck, > > -dain > > > > Download the current cvs tree: > > [12:09:33] dain$ cvs -d > :pserver:anoncvs@cvs.apache.org:/home/cvspublic co -P > incubator-geronimo > cvs server: Updating incubator-geronimo > U incubator-geronimo/.cvsignore > U incubator-geronimo/LICENSE.txt > > > > > Change directory to the new tree: > > [12:10:01] dain$ cd incubator-geronimo/ > > > > Build geronimo: > > [12:11:20] dain$ maven > __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-10 > > Starting the reactor... > Our processing order: > Geronimo :: Common > Geronimo :: Java Transaction API Specification > > BUILD SUCCESSFUL > Total time: 2 minutes 52 seconds > > > > Down load the deploy.zip file from elba.sf.net/deploy.zip using wget > or any web browser: > > [12:10:05] dain$ wget elba.sf.net/deploy.zip > --00:10:32-- http://elba.sf.net/deploy.zip > => `deploy.zip' > > 00:11:20 (40.13 KB/s) - `deploy.zip' saved [1932623/1932623] > > > > > Unzip the deploy.zip into the geronimo directory (this will create a > deploy directory): > > [12:15:58] dain$ jar -xf deploy.zip > > > > > Run geronimo: > > [12:17:50] dain$ maven run > __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-10 > > Starting the reactor... > Our processing order: > Geronimo :: Core > +---------------------------------------- > | Executing (run): Geronimo :: Core > | Memory: 3M/4M > +---------------------------------------- > Attempting to download mx4j-SNAPSHOT.jar. > Attempting to download mx4j-tools-SNAPSHOT.jar. > Attempting to download servletapi-SNAPSHOT.jar. > run: > modules:reactor:init: > > modules:reactor: > run: > > [java] 00:18:14,376 DEBUG [Simple] geronimo.example:alignment=Good > State changed from starting to running > [java] 00:18:44,372 INFO [Simple] Duuuh! > geronimo.example:alignment=Evil > [java] 00:19:14,373 INFO [Simple] Duuuh! > geronimo.example:alignment=Evil > > > > Open http://localhost:8080/ in a browser and play with the start, > stop and startRecusive methods on the following objects: > > geronimo.example > * alignment=Evil > * alignment=Good > * alignment=Neutral > > geronimo.deployment (these one will be named something like this) > * > role=DeploymentUnit,type=Service,url="file:/Users/dain/work/geronimo/ > incubator-geronimo/modules/core/../../deploy/example/dependency- > service.xml" > * > role=DeploymentUnit,type=Service,url="file:/Users/dain/work/geronimo/ > incubator-geronimo/modules/core/../../deploy/example/test-service.xml" > > > > If things don't work like you think they should, please respond to > this email. > > -dain > > /************************* > * Dain Sundstrom > * Partner > * Core Developers Network > *************************/ > > James ------- http://radio.weblogs.com/0112098/