Hi Sami
On 1/16/07, Sami Siren <[EMAIL PROTECTED]> wrote:
Scott Green wrote:
> Thanks Dennis! Your methond should work.
>
> And I really hope there is one directly method say getPluginRootDir()
> in the plugin implementation.
I'd recommend taking path shown by Andrzej because IMO it's bad design
to depend on plugin system from a plugin.
I am not much clear about your reason.
The getPluginRootDir() method mentioned above should expose the
(absolutely) path of xxx-plugin in the below example.
plugins
`-xxx-plugin
`------ lib
`------ conf
`------ src
`------ web (only for web plugin)
`------ plugin.xml
`------ build.xml
Andrzej's idea is limited(?) since i cannot get resources from conf dir.
--
Sami Siren