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
>
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-developers mailing list
Nutch-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to