Return-Path: Delivered-To: apmail-forrest-svn-archive@www.apache.org Received: (qmail 83746 invoked from network); 7 Jun 2006 10:13:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jun 2006 10:13:52 -0000 Received: (qmail 63261 invoked by uid 500); 7 Jun 2006 10:13:51 -0000 Delivered-To: apmail-forrest-svn-archive@forrest.apache.org Received: (qmail 63218 invoked by uid 500); 7 Jun 2006 10:13:51 -0000 Mailing-List: contact svn-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Forrest Developers List" List-Id: Delivered-To: mailing list svn@forrest.apache.org Received: (qmail 63206 invoked by uid 99); 7 Jun 2006 10:13:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jun 2006 03:13:51 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jun 2006 03:13:50 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id AE0371A983A; Wed, 7 Jun 2006 03:13:30 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r412354 - /forrest/trunk/site-author/content/xdocs/pluginDocs/plugins_0_80/usingPlugins.xml Date: Wed, 07 Jun 2006 10:13:29 -0000 To: svn@forrest.apache.org From: cdupoirieux@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060607101330.AE0371A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cdupoirieux Date: Wed Jun 7 03:13:27 2006 New Revision: 412354 URL: http://svn.apache.org/viewvc?rev=412354&view=rev Log: Some documentation about the changes of the plugin management. Cf. FOR-343, FOR-388 and FOR-741. Modified: forrest/trunk/site-author/content/xdocs/pluginDocs/plugins_0_80/usingPlugins.xml Modified: forrest/trunk/site-author/content/xdocs/pluginDocs/plugins_0_80/usingPlugins.xml URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/content/xdocs/pluginDocs/plugins_0_80/usingPlugins.xml?rev=412354&r1=412353&r2=412354&view=diff ============================================================================== --- forrest/trunk/site-author/content/xdocs/pluginDocs/plugins_0_80/usingPlugins.xml (original) +++ forrest/trunk/site-author/content/xdocs/pluginDocs/plugins_0_80/usingPlugins.xml Wed Jun 7 03:13:27 2006 @@ -124,13 +124,21 @@
Editing plugins sources to enhance functionality -

- Until issue - FOR-388 - is fixed to enable the use of plugins in-place, any changes to - sources need to be locally deployed. - See Further reading for "How to build a Plugin". -

+

If you need to enhance an existing plugin functionality, you should not edit a standard plugin sources.

+

First, copy the whole plugin directory either in a plugins directory in your project tree or, if the plugin is used by several projects, + in a different location outside any project directory.

+

Then declare the new location to make Forrest search in it. There is two cases :

+
    +
  • If your plugin is specific to a project, you should edit the corresponding forrest.properties to declare the new location in + the project.required.plugins.src property
  • +
  • If your plugin is shared with several project, you should edit your ${user.home}/forrest.properties
  • +
+ The order of the directories list in the property is important, if you keep the plugin name, you should add the new location + at the beginning of the list to be sure Forrest will use your version and not the standard one. + We still need to describe the declaration of another remote site to store the specific plugins, with a new + plugins descriptor file... +

Finally, you can then edit your copy !

+

See Further reading for "How to build a Plugin".

Upgrading from a Version of Forrest Without Plugins