> -----Original Message----- > From: Pablo Barrera [mailto:[EMAIL PROTECTED] > Sent: Saturday, 20 September 2008 12:32 AM > To: user@forrest.apache.org > Subject: Using plugins in local dir > > Hello > > I have modified a plugin and I want to install it in my site project.
Well, are the modifications specific to your own needs or will they help everyone? If the latter, please just send a patch and we'll get it committed. If the former and you don't want to contribute these mods then ... > > If I have understand it correctly, according to this [1] I should copy > the whole directory to MYSITE/plugins and modify my forrest.properties > file as > > project.required.plugins.src=${forrest.home}/plugins,${forrest.home}/ > whiteboard/plugins,/export/forrest_plugins > > Maybe this is a type, so I tried: > project.required.plugins.src=${project.home}/plugins,${forrest.home}/ > plugins,${forrest.home}/whiteboard/plugins > > I though everything was working correctly (and I submitted a bug for > this), but it seems I had some kind of problem with the cache. Right > now, after deleting all build directories it's not working (with both > project.required.plugins.src). Forrest uses the old version of the > plugin instead of the new one, located on MYSITE/plugins. I know this > plugin should work, because when I move the folder into the forrest > code (the default location for the plugins) I obtain the desired > output. Am I missing something here? Yeah, I think as Ross has mentioned, you should rename the plugin, make sure it is positioned in a path that is mentioned in the project.required.plugins.src. When cleaning out plugins, sometimes it is necessary to to a 'build clean' , 'build' in the $forrest_home/main directory, as well as a 'forrest clean' from your $project_home dir. Gav... > > Regards, > > Pablo > > [1] http://forrest.apache.org/pluginDocs/plugins_0_90/usingPlugins.html > -- > Pablo Barrera > http://gsyc.es/~barrera/ > > > -- > Internal Virus Database is out-of-date. > Checked by AVG. > Version: 7.5.524 / Virus Database: 270.6.21 - Release Date: 9/11/2008 > 12:00 AM