You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (Commented) (JIRA)" <ji...@apache.org> on 2012/01/02 08:27:30 UTC

[jira] [Commented] (CONNECTORS-353) It would be an improvement to bundle the SharePoint and Meridio WSDD files into the connector jars as resources

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

Karl Wright commented on CONNECTORS-353:
----------------------------------------

Created branches/CONNECTORS-353 to work on this issue.

                
> It would be an improvement to bundle the SharePoint and Meridio WSDD files into the connector jars as resources
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-353
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-353
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Build, Meridio connector, SharePoint connector
>    Affects Versions: ManifoldCF 0.5
>            Reporter: Karl Wright
>             Fix For: ManifoldCF 0.5
>
>
> The wsdd axis configuration file is currently read as a file from the file system.  It would be much more convenient if this could be read as a resource from within the corresponding connector jar.  Unfortunately, Axis's FileProvider implementation does not really support this properly.  The FileProvider(InputStream) constructor does not properly close the input stream at any point, and in any case allows it to be read only once.  The ability to look through the class path is present but starts with the Axis classes (which are not in the connector jar) and also seems to leak file handles.
> The proper implementation therefore involves someone writing their own ResourceProvider class, implementing EngineConfiguration, with all the right characteristics.  This is straightforward but obviously requires testing against a SharePoint instance before it could be committed - or, at least, confirmation the the wsdd configuration is being picked up properly.  

--
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