Apache Directory Project - Plugin development guide: where to put the resources

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > May 2006 > Plugin development guide: where to put the resources





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Plugin development guide: where to put the resources
jerome lacoste

2006-05-15, 7:11 pm

Trying to solve MOJO-397 [1], I am searching for a guide to define
standard location of files accessed by a plugin. As [2] doesn't seem
to contain anything, I wonder if src/main/$plugin/ is the official
directory.

In the webstart plugin case, we need to let the user configure both
the location of a template file and a resources directory. The plugin
currently requires to use a separate project, but in the short future,
we will allow to use it within an existing project. For that reason, I
tend to think we should use src/main/jnlp/resources and
src/main/jnlp/template.vm as default paths.

Does that sound correct to you? If not, please comment in [1].


If there's no documentation regarding that, what about adding a
"resources" section to [2]?


Cheers,

Jerome

[1] http://jira.codehaus.org/browse/MOJO-397
[2] http://maven.apache.org/guides/plug...evelopment.htm=
l

Emmanuel Lecharny

2006-05-15, 7:11 pm

I'm not sure that dev@directory-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.org is the good list for this
question. This is teh apache Ldap server list ...

Sorry about it ;)

jerome lacoste a écrit :

> Trying to solve MOJO-397 [1], I am searching for a guide to define
> standard location of files accessed by a plugin. As [2] doesn't seem
> to contain anything, I wonder if src/main/$plugin/ is the official
> directory.
>
> In the webstart plugin case, we need to let the user configure both
> the location of a template file and a resources directory. The plugin
> currently requires to use a separate project, but in the short future,
> we will allow to use it within an existing project. For that reason, I
> tend to think we should use src/main/jnlp/resources and
> src/main/jnlp/template.vm as default paths.
>
> Does that sound correct to you? If not, please comment in [1].
>
>
> If there's no documentation regarding that, what about adding a
> "resources" section to [2]?
>
>
> Cheers,
>
> Jerome
>
> [1] http://jira.codehaus.org/browse/MOJO-397
> [2]
> http://maven.apache.org/guides/plug...evelopment.html
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com