Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 30010 invoked from network); 15 Sep 2005 14:10:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Sep 2005 14:10:17 -0000 Received: (qmail 65508 invoked by uid 500); 15 Sep 2005 14:10:12 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 65468 invoked by uid 500); 15 Sep 2005 14:10:12 -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 65455 invoked by uid 99); 15 Sep 2005 14:10:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2005 07:10:11 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 216.136.173.31 is neither permitted nor denied by domain of sppatel2@gmail.com) Received: from [216.136.173.31] (HELO smtp011.mail.yahoo.com) (216.136.173.31) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 15 Sep 2005 07:10:21 -0700 Received: (qmail 80993 invoked from network); 15 Sep 2005 14:10:09 -0000 Received: from unknown (HELO ?192.168.1.2?) (spalias78@71.65.234.198 with plain) by smtp011.mail.yahoo.com with SMTP; 15 Sep 2005 14:10:09 -0000 Message-ID: <432980C0.9070307@gmail.com> Date: Thu, 15 Sep 2005 10:10:08 -0400 From: Sachin Patel User-Agent: Thunderbird 1.4 (Windows/20050908) MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: site generation error References: <43277462.4000608@gmail.com> <432775C2.8010805@gmail.com> <661A35B3-FAC2-4EA7-BA77-420239303D89@apache.org> <43282646.5020705@gmail.com> <432932FC.3050009@apache.org> In-Reply-To: <432932FC.3050009@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Yes, thats exactly what I've done. (1) To do so, import the site contents as a project in the workspace. (You'll need to create a .project file so you can import it.). (2) Right click on the project -> Properties --> Builders. (3) Click New on the Builders page and select Ant Build and click finish. (4) An Edit launch configuration properties wizard will appear and give it a name like "SiteBuilder". (5) Select the build.xml file from the project using "Browse Workspace" (6) Select the base directory using Browse Workspace (simply select you imported project) (7) Optionaly select the refresh tab and enable "Refresh resources upon completion" (8) Then select targets for Manual Build as well as AutoBuild. Set the default target "site". (9) Hit finish. Thats it, now make any change to any file in the project, hit save, and the site ant goal will automatically run. You can also granulize this by going back into the configuration page and select the Build Options to configure to only trigger the ant builder on a particular working set (i.e only run when resources in ./xdocs/ are changed). Hope that that works out for you. Sachin. Jacek Laskowski wrote: > Sachin Patel wrote: >> Yeah I'll give myself a -1 on that. :) Using eclipse now. Works >> much better since it automatically triggers the ant builder every save. > > That's interesting. Have you set it up specially so that Eclipse > triggers the builder? Would you mind to post the steps? > > Jacek >