From scm-return-7032-apmail-geronimo-scm-archive=geronimo.apache.org@geronimo.apache.org Thu Jul 14 13:26:47 2005 Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 42972 invoked from network); 14 Jul 2005 13:26:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jul 2005 13:26:46 -0000 Received: (qmail 85331 invoked by uid 500); 14 Jul 2005 13:26:46 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 85309 invoked by uid 500); 14 Jul 2005 13:26:45 -0000 Mailing-List: contact scm-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 scm@geronimo.apache.org Received: (qmail 85292 invoked by uid 99); 14 Jul 2005 13:26:45 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2005 06:26:36 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 579B114 for ; Thu, 14 Jul 2005 15:26:33 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: scm@geronimo.apache.org Date: Thu, 14 Jul 2005 13:26:33 -0000 Message-ID: <20050714132633.1792.75104@ajax.apache.org> Subject: [Geronimo Wiki] Update of "EclipseDeployment" by Sachin Patel X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Geronimo Wiki" for change notification. The following page has been changed by Sachin Patel: http://wiki.apache.org/geronimo/EclipseDeployment ------------------------------------------------------------------------------ Close the wizard. You have now created a maven configuration that will run automatically through the Eclipse build process whenever a java source file is changed. The specified goal will create the updated snapshot jar for one or more projects and will install them to you maven repository. - This maven configuration will be applied to all Geronimo projects since they contain the maven builder that was automatically added to the .project files with the maven m:eclipse goal run earlier. However, we want to disable this for the '''{{{geronimo-assembly}}}''' project. Right click on the '''{{{geronimo-assembly}}}''' project and choose '''{{{Maven --> Remove Maven nature}}}'''. This will prevent creating a full install snapshot with every build. Instead for '''{{{geronimo-assembly}}}''', we will create a different launch configuration specicially for this project. Since building the '''{{{geronimo-assembly}}}''' is relativaly time consuming, it will not be configured to be invoked as part of the eclipse auto-build process. + This maven configuration will be applied to all Geronimo projects since they contain the maven builder that was automatically added to the .project files with the maven m:eclipse goal run earlier. However, we want to disable this for the '''{{{geronimo-assembly}}}''' project. Right click on the '''{{{geronimo-assembly}}}''' project and choose '''{{{Maven --> Remove Maven nature}}}'''. This will prevent creating a full install snapshot with every build. Instead for '''{{{geronimo-assembly}}}''', we will create a different launch configuration specicially for this project. Since building '''{{{geronimo-assembly}}}''' is relativaly time consuming, it will not be configured to be invoked as part of the eclipse auto-build process. From the menu, select '''{{{Run --> External Tools --> External Tools... }}}''' @@ -246, +246 @@ Whenever source file changes are made, and an eclipse build is invoked, the maven builder will automatically be triggered to update the snapshot jars for each individual project that contained java source modifications for that build cycle. The jar will be created inside the project and will then be copied to the Maven repository. - Now in order for the server to use the updated snapshot, the repository from the '''{{{geronimo-assembly}}}''' project needs to be updated as well since this is the installation that we pointed to in our '''Geronimo - Server''' launch configuration. This is done through the external tool configuration '''{{{Assemble}}}'''. Selecting the '''{{{geronimo-assembly}}}''' project and invoking this configuration will regenerate the install image so that the repository is updated with the latest snapshot jars. + Now in order for the server to use the updated snapshot(s), the repository from the '''{{{geronimo-assembly}}}''' project needs to be updated as well since this is the installation that we pointed to in our '''Geronimo - Server''' launch configuration. This is done by selecting the '''{{{geronimo-assembly}}}''' project and then launching the external tool configuration '''{{{Assemble}}}'''. This will regenerate the install image so that the repository is updated with the latest snapshot jars. Be sure the server is not running before running this operation. Now you are ready to launch server and your changes will be in affect. For subsequent changes you simply stop the server, run '''{{{Assemble}}}''', and relaunch '''{{{Geronimo - Server}}}'''.