From dev-return-31383-apmail-forrest-dev-archive=forrest.apache.org@forrest.apache.org Sat Aug 07 00:23:02 2010 Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 70188 invoked from network); 7 Aug 2010 00:23:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Aug 2010 00:23:01 -0000 Received: (qmail 61414 invoked by uid 500); 7 Aug 2010 00:23:01 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 61277 invoked by uid 500); 7 Aug 2010 00:23:01 -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 61270 invoked by uid 99); 7 Aug 2010 00:23:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Aug 2010 00:23:00 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [66.111.4.25] (HELO out1.smtp.messagingengine.com) (66.111.4.25) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Aug 2010 00:22:53 +0000 Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 8EA27190BFE for ; Fri, 6 Aug 2010 20:22:32 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 06 Aug 2010 20:22:32 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=date:from:to:subject:message-id:references:mime-version:content-type:in-reply-to; s=smtpout; bh=QnFwMiLzr/g48dEsXRlqcOAO6YY=; b=E9JwiIEP36YFgbN4WoSgW3KPFLY9ftwZ9HOREWHWIcNVpY5uRIEesr0wm7PPijLTzQbqTq497WCd2Az3dKtwwC62ew1GN0V1Sk8DajzZFtVU+I2k5JU+TVKFbWxBD4XsTnQLc8nEXvo376B2ACKXh8MxC1aMaq+GXupwjGNoUAs= X-Sasl-enc: PVn6XkAXAkEitIV40DeW3BejYVCPvhmvaUyQejYxrUif 1281140550 Received: from localhost (dsl-41-216.wholesaledsl.com.au [125.168.41.216]) by mail.messagingengine.com (Postfix) with ESMTPSA id ECC06708EA for ; Fri, 6 Aug 2010 20:22:30 -0400 (EDT) Date: Sat, 7 Aug 2010 10:22:28 +1000 From: David Crossley To: dev@forrest.apache.org Subject: Re: building a sample site with dispatcher fails Message-ID: <20100807002228.GA5713@igg.local> References: <1281009436.620112708@192.168.2.228> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Checked: Checked by ClamAV on apache.org Vicent Mas wrote: > Sina K. Heshmati wrote: > > "Vicent Mas" said: > >> > >> after coming back to the initial situation (fresh check out of the > >> repo) the problems > >> with my dispatcher seed site are obviously reproduced. When executing > >> "$ forrest run" > >> the console displays the following errors: > > > > > > > >> The errors in sitemap.log are apparently the same than in error.log. > >> It seems that the main > >> problem is that the > >> org.apache.forrest.dispatcher.transformation.DispatcherTransformer > >> class > >> cannot be loaded. Unfortunately I have no idea about how to fix it. I > >> hope the above info helps > >> somebody. > > > > Do you run ./build.sh in $FORREST_HOME/main? > > Yes, I did. I got the same result included in the PS of the first > message of this thread. I reckon that Sina is on the right track. It seems like your installation is using an old version of the dispatcher plugin, or something is not being re-built and re-deployed correctly. This is strange because you said that it was a fresh 'svn co'. I know that this part is basic: Ensure that $FORREST_HOME is not pointing to an old installation, and that $PATH is correct. ]$ which forrest Anyway, try this: ]$ cd $FORREST_HOME/main ]$ ./build.sh clean ]$ ./build.sh ]$ ]$ cd $FORREST_HOME/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher ]$ $FORREST_HOME/tools/ant/bin/ant clean ]$ $FORREST_HOME/tools/ant/bin/ant local-deploy Assuming that your dispatcher has been deployed before, then that "clean" step should report something like: ]$ clean: ]$ [delete] Deleting directory $FORREST_HOME/build/plugins/org.apache.forrest.plugin.internal.dispatcher ]$ [delete] Deleting directory $FORREST_HOME/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/build/classes -David