[ 
https://issues.apache.org/jira/browse/LABS-187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635577#action_12635577
 ] 

Thorsten Scherler commented on LABS-187:
----------------------------------------

I agree that we should better identify the different plugins and provide a 
plugin infrastructure.

The framework should provide mechanism to create different types of plugins 

In forrest we have different types of plugins which follow a certain naming 
convention:
org.apache.forrest.plugin.PLUGIN_TYPE.PLUGIN_NAME
http://forrest.apache.org/pluginDocs/plugins_0_90/pluginInfrastructure.html

IMO it makes sense for droids as well. 

Index: plugins/solr/src/org/apache/droids/plugin/solr/IndexerDroid.java
===================================================================
--- plugins/solr/src/org/apache/droids/plugin/solr/IndexerDroid.java    
(revision 0)
+++ plugins/solr/src/org/apache/droids/plugin/solr/robots/IndexerDroid.java     
(working copy)
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.droids.examples;
+package org.apache.droids.plugin.solr.robots;

The idea is to have something similar to 
http://forrest.apache.org/docs_0_90/howto/howto-buildPlugin.html#seed

Each plugin should best provide as well an ivy.xml to declare its own 
dependencies.


> change directory structure so each plugin manages its own dependencies
> ----------------------------------------------------------------------
>
>                 Key: LABS-187
>                 URL: https://issues.apache.org/jira/browse/LABS-187
>             Project: Labs
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>         Attachments: LABS-187-plugin-directories.patch
>
>
> Droids core should have no major dependencies - however each plugin should be 
> able to require whatever is needed.
> We should change the directory layout to reflect this design.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to