thanks for Brett 's advice. can you make it more specific?I'm Interesting
about you mention about:locate from the repository。
can you give me some example,how can I put the checktyle.xml in the
repository, and the plugin get it thought a URL。

2008/10/8 Brett Porter <[EMAIL PROTECTED]>

> I suggest looking at the Checkstyle plugin and similar for examples of
> how to do this. They tend to offer the option of:
> - built in (the example you gave)
> - download from an URL (for a single file)
> - locate from the repository (better since it makes it easy to
> relocate/manage)
>
> Cheers,
> Brett
>
> 2008/10/8 陈思淼 <[EMAIL PROTECTED]>:
> > I have write a plugin which read from a config some mapping information
> and
> > do some thing.Of cause I can put the config file into src/resources, but
> I
> > will and more and more mapping information into the config file. I dont
> want
> > to deploy the plugin artifact after I modify the config file. Can I put
> the
> > config file in some independent location where my own plugin can access
>  but
> > not contain in the src/resources, Is there any mechanism support this
> kind
> > of needs? do I need to write a new packaging type called config-file, and
> > deploy it to the repository?
> >
>
>
>
> --
> Brett Porter
> Blog: http://blogs.exist.com/bporter/
>

Reply via email to