From dev-return-31429-apmail-forrest-dev-archive=forrest.apache.org@forrest.apache.org Sun Aug 29 19:24:42 2010 Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 38141 invoked from network); 29 Aug 2010 19:24:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Aug 2010 19:24:42 -0000 Received: (qmail 83471 invoked by uid 500); 29 Aug 2010 19:24:42 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 83346 invoked by uid 500); 29 Aug 2010 19:24:41 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 83339 invoked by uid 99); 29 Aug 2010 19:24:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Aug 2010 19:24:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 29 Aug 2010 19:24:40 +0000 Received: (qmail 38111 invoked from network); 29 Aug 2010 19:24:20 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by 127.0.0.1 with SMTP; 29 Aug 2010 19:24:20 -0000 Date: Sun, 29 Aug 2010 12:24:19 -0700 From: Brian M Dube To: dev@forrest.apache.org Subject: Re: Plugins with Java source are not being built (was Re: building a sample site with dispatcher fails) Message-ID: <20100829192419.GA1895@beaver.dehavilland> Mail-Followup-To: dev@forrest.apache.org References: <20100825030214.GC2030@beaver.dehavilland> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100825030214.GC2030@beaver.dehavilland> User-Agent: Mutt/1.5.20 (2009-06-14) On Tue, Aug 24, 2010 at 08:02:15PM -0700, Brian M Dube wrote: > On Wed, Aug 04, 2010 at 08:48:31AM +0200, Vicent Mas wrote: > > Hi, > > > > while investigating the problems that I sent yesterday to this list > > (thread 'Unable to run forrest') > > and due to the long time I've been without using forrest I decided to > > start with the simplest task > > i.e. build a sample site using $ forrest seed. It works fine if I > > don't use dispatcher, but when I > > activated the dispatcher in the forrest.properties file I got an > > Internal Server Error page in my browser: > > Plugins with Java source are not currently being built due to r951789. > > With that change reverted and everything else current, it works for > me. The change in r951789 was to fix some errors with forrestbot, but > the context of the problem is now lost on me; so I don't know the > appropriate solution. See r990630 [1]. I approached the solution from the other side. Instead of trying to detect the use of Java from the parent build file, plugins that have Java source files need to declare this in their build file. The functionality is the same as the publish property. I've included FIXME notes where the requires-java property was added because a few custom Ant tasks may simplify the entire system. Brian [1] http://svn.apache.org/viewvc?view=revision&revision=990630