Return-Path: Delivered-To: apmail-incubator-directory-dev-archive@www.apache.org Received: (qmail 53533 invoked from network); 30 Nov 2004 20:39:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 30 Nov 2004 20:39:19 -0000 Received: (qmail 20415 invoked by uid 500); 30 Nov 2004 20:39:16 -0000 Delivered-To: apmail-incubator-directory-dev-archive@incubator.apache.org Received: (qmail 20339 invoked by uid 500); 30 Nov 2004 20:39:16 -0000 Mailing-List: contact directory-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list directory-dev@incubator.apache.org Received: (qmail 20304 invoked by uid 99); 30 Nov 2004 20:39:15 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from synntm8.optimumgroup.com (HELO synntm8.mtl.optimumgroup.com) (207.236.211.98) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 30 Nov 2004 12:39:14 -0800 Received: by synntm8.mtl.optimumgroup.com with Internet Mail Service (5.5.2658.3) id ; Tue, 30 Nov 2004 15:39:10 -0500 Message-ID: <777DDD941E46D41181B300508BAE014F091E7D86@synntm8.mtl.optimumgroup.com> From: =?iso-8859-1?Q?=22Tenc=E9=2C_Vincent=22?= To: 'Apache Directory Developers List' Subject: RE: [eve] Build is cleaned up now - all works with single eve jar Date: Tue, 30 Nov 2004 15:39:10 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2658.3) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N neat! > -----Original Message----- > From: Alex Karasulu [mailto:aok123@bellsouth.net] > Sent: November 30, 2004 3:28 PM > To: Directory Developers List > Subject: [eve] Build is cleaned up now - all works with single eve jar > > > Hello, > > Thanks to some help from Brett I was able to cleanup a few > things in the > build so Eve now totally compiles and a single executable jar is > produced for Eve with the JNDI provider classes and all. To > build and > run Eve just follow these steps: > > 1). check out Eve trunk from SVN repository: > > svn co > http://svn.apache.org/repos/asf/incubator/directory/eve/trunk eve > > Use the https URL if you intend to commit changes to trunk. > > 2). cd into eve folder and build Eve with this maven command: > > maven -Dgoal=jar:install multiproject:goal > > 3). after the build succeeds I run the following command from > eve folder > to fire up Eve: > > [akarasulu@newton eve]$ java -jar eve/target/eve-SNAPSHOT.jar > Eve: using default properties ... > Eve: standard ldap port 389 is not available, using 1024 instead > Eve: started in 1624 milliseconds > > What was done? > ============ > > So what did we have to do to get to this point. There were some > relative paths that did not consider the use of multiproject goals so > Brett straighten that out using the basedir property of maven to find > the correct paths. I followed his footsteps to make the Eve > plugin work > correctly in other ways based on basedir. > > Next the eve maven project was added under eve/trunk to contain a > EveMain class that allows one to start the server from the command > line. This project uses the javaapp plugin to generate an executable > jar with all the dependencies of Eve included in it. This is why > eve-SNAPSHOT.jar is now 2.5 MB. Yeah that can be trimmed way down > because we don't need to have all of the commons depenencies > we have. > So we can be very selective. Perhaps we can shring that down > to about 1 MB. > > Anyway the eve project generates a eve-SNAPSHOT.jar and this artifact > contains everything Eve needs or anyone needs to embed Eve as well as > start her from the command line. > > Alex >