[
https://issues.apache.org/jira/browse/CONNECTORS-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167421#comment-13167421
]
Karl Wright commented on CONNECTORS-313:
----------------------------------------
Hi Abe-san,
connectors.xml is read by the QuickStart java startup class only at this time.
You have two choices:
(1) Modify the main build.xml to dynamically build your register.sh script, in
a manner similar to the way it dynamically builds connectors.xml;
(2) Create a new command class in
framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler, which parses
a connectors.xml and performs the corresponding modification (and nothing
else). You may be able to move the code for this from framework/jettyrunner,
and change the jettyrunner code so it is not duplicated.
I'm not sure which is better. It depends on how people typically deploy the
multiprocess version.
> 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