You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Jettro Coenradie (JIRA)" <ji...@apache.org> on 2010/08/16 13:39:16 UTC
[jira] Commented: (CONNECTORS-91) Making the initialization
commands more useable
[ https://issues.apache.org/jira/browse/CONNECTORS-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12898857#action_12898857 ]
Jettro Coenradie commented on CONNECTORS-91:
--------------------------------------------
If you feel this is the way to go, I will change the other classes that have a main method as well.
> Making the initialization commands more useable
> -----------------------------------------------
>
> Key: CONNECTORS-91
> URL: https://issues.apache.org/jira/browse/CONNECTORS-91
> Project: Lucene Connector Framework
> Issue Type: Improvement
> Components: Framework core
> Reporter: Jettro Coenradie
> Fix For: LCF Release 0.5
>
> Attachments: commandsPatch.patch
>
>
> At the moment LCF comes with some classes that can be used to run command line to interact with the system. Examples are DBCreate, DBDrop and LockClean. I wanted to create a class that rebuilds my complete environment. So dropping a database, creating a database, cleaning the synch folder, registering agents, etc. Due to the structure of the classes with all the logic in the main method, I could not easily reuse these classes. In the patch I submit with issue I have refactored the current solution in a better reuseable solution that can still be called command line.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.