Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 086C7C457 for ; Sat, 6 Jul 2013 16:21:42 +0000 (UTC) Received: (qmail 18105 invoked by uid 500); 6 Jul 2013 16:21:41 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 17923 invoked by uid 500); 6 Jul 2013 16:21:40 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 17915 invoked by uid 99); 6 Jul 2013 16:21:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Jul 2013 16:21:40 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of j.huebel@sap.com designates 155.56.66.99 as permitted sender) Received: from [155.56.66.99] (HELO smtpgw.sap-ag.de) (155.56.66.99) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Jul 2013 16:21:36 +0000 From: "Huebel, Jens" To: "dev@chemistry.apache.org" Subject: Re: Common VFS FileSystem using OpenCMIS Thread-Topic: Common VFS FileSystem using OpenCMIS Thread-Index: AQHOeZBTV31oiueRM0qB1YQJliYjcZlX1omA Date: Sat, 6 Jul 2013 16:21:12 +0000 Message-ID: <2767A70F8371284B98513C2B582F84B157AC0E44@DEWDFEMB16A.global.corp.sap> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.4.130416 x-originating-ip: [10.21.40.36] Content-Type: text/plain; charset="us-ascii" Content-ID: <6A94BC9FA42F7E4BA4C278ACE961F1F8@exchange.sap.corp> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi Serge, interesting a week ago I looked at something similar: The Java 7 File System Provider: http://docs.oracle.com/javase/7/docs/technotes/guides/io/fsp/filesystemprov ider.html I never looked at the Apache VFS but I guess both of them have similar ideas. Personally I would tend to use the Java standard, if functionality is similar. Is there any reason why you took the Apache route? I did not so any coding so far, and implementing the JDK 7 API seems not to be a trivial task if I look at the sample code. But having a simple file like API for CMIS is definitely something I would be interested in. Keep us informed about your progress please! Jens On 05.07.13 16:59, "Serge Huber" wrote: >Hi guys, > >I have been playing around with some code lately because I thought it >might >be interesting to integrate Apache Common VFS and the OpenCMIS client API. > >The main idea behind this project was to make it possible for any project >that already integrates Common VFS to simply become compatible with CMIS >simply by deploying a few JARS and using a new URL to connect to a CMIS >repository. > >The current implementation is of course very young (only basic >browse/read/write support), but I was wondering if there was some wider >interest for such a thing. > >You can find the current code in the following Github repository : > >https://github.com/Jahia/commons-vfs-cmis > >Before starting this I actually search if anybody had attempted to do this >before but I couldn't find anything. I also chose to implement against >Commons VFS 1.0, despite being quite old it is still used in a lot of >projects (including our own). > >I try to keep the root README.md file up to date to reflect the current >status of the project as much as possible. > >I have successfully tested this with the OpenCMIS InMemory public >repository as well as Alfresco's public CMIS repository and a local >installation of Alfresco. Only the AtomPub binding is currently >implemented >but it should be reasonably easy to implement more. If anybody wants to >test this against more repositories you can simply do so by specifying a >command line parameter like in this example : > >mvn clean install -Dtest.cmis.uri=3Dcmis:atompub:// >admin:admin@cmis.alfresco.com/cmisatom > >Of course I welcome all feedback, I hope other here will find this >interesting. > >Best regards, > Serge Huber.