[ https://issues.apache.org/jira/browse/CONNECTORS-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Wright reassigned CONNECTORS-353: -------------------------------------- Assignee: Karl Wright > 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 > Assignee: 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