[ 
https://issues.apache.org/jira/browse/CONNECTORS-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169181#comment-13169181
 ] 

Karl Wright edited comment on CONNECTORS-313 at 12/14/11 8:36 AM:
------------------------------------------------------------------

Do you think we should also have a script delivered in dist/multi that does all 
of the setup, such as setting MCF_HOME and calling all the right commands to 
initialize the database?  For MCF_HOME, it could check whether 
'./properties.xml' existed, and if it did set MCF_HOME to the value of '.', for 
instance.  It should also optionally accept the database superuser name and 
superuser password (just like the DBCreate command), and perform the following 
command steps:

- DBCreate
- Initialize
- RegisterAgent
- RegisterAll

The script can be located in: framework/example-multiprocess.  What do you 
think?

By the way, I also noticed that one of the Register commands you checked in is 
misspelled: Regsiter(?)


                
      was (Author: kwri...@metacarta.com):
    Do you think we should also have a script delivered in dist/multi that does 
all of the setup, such as setting MCF_HOME and calling all the right commands 
to initialize the database?

                  
> An example multi-process properties.xml delivered to the "dist" folder would 
> be very helpful
> --------------------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-313
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-313
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: ManifoldCF 0.4
>            Reporter: Shinichiro Abe
>            Assignee: Shinichiro Abe
>            Priority: Minor
>             Fix For: ManifoldCF next
>
>         Attachments: CONNECTOR-313.patch, CONNECTOR-313.patch, 
> register-draft.sh
>
>
> The multiprocess setup does not have an example properties.xml file.  We 
> should deliver one, in the right place so that all the scripts find it (the 
> "dist" directory).  It would also be helpful to deliver into this directory 
> scripts for:
> - Registering all the connectors that were built
> - Starting the agents process

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to