Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 99715 invoked from network); 11 Oct 2009 12:21:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Oct 2009 12:21:35 -0000 Received: (qmail 87243 invoked by uid 500); 11 Oct 2009 12:21:34 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 87159 invoked by uid 500); 11 Oct 2009 12:21:34 -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 87151 invoked by uid 99); 11 Oct 2009 12:21:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Oct 2009 12:21:34 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.211.192] (HELO mail-yw0-f192.google.com) (209.85.211.192) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Oct 2009 12:21:24 +0000 Received: by ywh30 with SMTP id 30so2166270ywh.25 for ; Sun, 11 Oct 2009 05:20:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.51.10 with SMTP id y10mr4744598any.128.1255263603147; Sun, 11 Oct 2009 05:20:03 -0700 (PDT) In-Reply-To: <1f3854d50910110425v4b27d2fbo6a422241fef9fcf@mail.gmail.com> References: <1f3854d50910090755k709b7b53w4f96a38857c1dd4c@mail.gmail.com> <205DEBE6-B4E0-483E-AA4E-ABE694BCC2B6@yahoo.com> <1f3854d50910110425v4b27d2fbo6a422241fef9fcf@mail.gmail.com> From: Quintin Beukes Date: Sun, 11 Oct 2009 14:19:43 +0200 Message-ID: <1f3854d50910110519sd1d871ya2b6f8a3f274667b@mail.gmail.com> Subject: Re: Building only an assembly and what changed To: dev@geronimo.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I eventually settled on copying the geronimo-kernel JAR to an extracted assembly. When I check the boilerplate/target/contents/lib/geronimo-kernel JAR, it DOES have my code, in fact, that's the one I copied into my extracted assembly. But I looked throughout the documentation, and tried reading the POMs but can't find a way to build it other than a complete "mvn clean install", which takes ages. I also tried doing a a -Dstage=3Dassembly, which didn't help either. Would still like to know of a way to construct a clean assembly after making change to the kernel. Quintin Beukes On Sun, Oct 11, 2009 at 1:25 PM, Quintin Beukes wro= te: > I'm doing something wrong, or there is another step. > > I rebuild the boilerplate config, and check in it's target/ directory > inside the boilerplate car archive. My changed class is there, with > the changes. > > Then I "cd {buildroot}/assemblies/geronimo-jetty7-javaee" and do "mvn > install". It builds the assembly, but the ZIP it builds doesn't > contain the boilerplate I just build. > > Quintin Beukes > > > > On Fri, Oct 9, 2009 at 7:06 PM, David Jencks wro= te: >> >> On Oct 9, 2009, at 7:55 AM, Quintin Beukes wrote: >> >>> Hey, >>> >>> Assume I change a .java file in the framework/modules/geronimo-kernel >>> project, how can I easily only build what was changed and reassemble >>> the zip for installing+running? >> >> There a few modules that are not put into the geronimo repository struct= ure >> -- geronimo-kernel, geronimo-system, and a few others. =C2=A0For these y= ou have >> to rebuild the framework/configs/geronimo-boilerplate config before >> rebuilding the assembly you want. >> >> Also, if you change anything related to a GBeanInfo -- for instance >> attributes, operations, constructor parameters -- you have to rebuild an= y >> configs that might use that gbean. >> >> Otherwise, if you change code you can just rebuild the module and rebuil= d >> the assembly. =C2=A0Or, if you want to live dangerously, you can just co= py the >> new jar over the old one in the geronimo repo. >> >> thanks >> david jencks >> >>> >>> Quintin Beukes >> >> >