ManifoldCF
  1. ManifoldCF
  2. CONNECTORS-353

It would be an improvement to bundle the SharePoint and Meridio WSDD files into the connector jars as resources

    Details

      Description

      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.

        Activity

        Hide
        Karl Wright added a comment -

        r1226429

        Show
        Karl Wright added a comment - r1226429
        Hide
        Karl Wright added a comment -

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

        Show
        Karl Wright added a comment - Created branches/ CONNECTORS-353 to work on this issue.

          People

          • Assignee:
            Karl Wright
            Reporter:
            Karl Wright
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development