Anil Ramnanan wrote:
Ross Gardler (JIRA) wrote:
When creating a new project using the wizard one of the pages allows
the user to activate the views plugins. This page should provide a
list of all available plugins, together with a description of each.
From this page the user will be able to select the plugins they wish
to activate in the new project.
This wizard page should be designed in such a way that it can be
reused by another wizard to enable/disable plugins in use.
How can I can get the names and descriptions of the available plugins ?
It would be great if I can get this information from a file or something
instead of having to hard code it into the wizard.
The plugins are all described in the plugins.xml file. You can get the
location of this file from forrest.properties.
Note that config files are going to change in the near(ish) future (see
http://issues.apache.org/jira/browse/FOR-588). I wouldn't spend much
time reading the forrest.properties file, it will be OK, in the first
instance to create a java class that represents the config file and
we'll ard code paths in there to get us going.
Be sure to add an issue to the tracker to ensure that we don't forget to
fix this when we have defined the new config structure. Of course this
new issue should be dependant on the above issue.
Ross