Hi Florian,
Thanks again for your prompt reply.
We were looking for a read only repository and your email gives us confidence
to use OpenCMIS FS.
Regarding my second requirement i.e. getting links within the html files (Java
Docs) to work.
We came across a private method fileToId(File file) in FileShareRepository.java
that generates the 'id'.
We are thinking of pre-computing the 'id's for all the files in our repository
and caching them.
Whenever the user navigates to a URL on the HTML page we will use a Servlet
filter to append the 'id'.
Thanks,
Mayuresh
-----Original Message-----
From: Florian Müller [mailto:[email protected]]
Sent: Tuesday, November 22, 2011 1:00 AM
To: [email protected]
Cc: Mayuresh Khandeparkar -X (mkhandep - SoftSol Resources at Cisco)
Subject: Re: Questions on OpenCMIS FileShare Repository
Hi Mayuresh,
There are some concurrency issues with the FileShare repository because the
underlying file system doesn't provide the necessary locking capabilities.
That why we label it as "not intended for production use". It should only be
used in controlled (testing) environments and as a code sample.
A pure read-only use case (no updates through CMIS and no file system changes
at runtime) should work, though.
- Florian
Am 21.11.11 17:11, schrieb Mayuresh Khandeparkar -X (mkhandep - SoftSol
Resources at Cisco):
> I have some questions intended for developers/maintainers of OpenCMIS
> FileShare repository.
>
>
>
> We are exploring the possibility of using OpenCMIS FileShare repository
> in one of our internal projects.
>
> I have downloaded and setup OpenCMIS Browser and OpenCMIS FileShare
> repository on Tomcat 6 (both are working).
>
>
>
> We want to store Java Docs (html files) in the Open CMIS FileShare
> repository and access the same via Open CMIS Browser.
>
> The issue I am facing is that the links inside the html files (rendered
> in the browser) pointing to other html files do not work.
>
> I understand that this may not be the intended way the repository (or
> AtomPub) is supposed to function.
>
> Basically the links inside the HTML file do not have the generated 'id'
> because they are not generated by AtomPub.
>
>
>
> In this regards I had contacted Florian Muller (earlier maintainer of
> OpenCMIS FS).
>
> He was kind enough to suggest that we implement a custom servlet to
> achieve this functionality.
>
> Before writing any new code I was wondering if anybody on this mailing
> list may provide any helpful suggestions /pointers to make the changes.
>
>
>
> It has been mentioned on the OpenCMIS website that OpenCMIS FileShare is
> not ready for production use.
>
> If I have a limited requirement for browsing the files on the file
> system (as in browsing the Java Docs) can I use OpenCMIS FileShare in
> production.
>
> I do not have the need for other features like versioning,
> relationships, policies etc.
>
>
>
> Appreciate any feedback from the developer community.
>
>
>
> Thanks,
>
> Mayuresh
>
>
>
>
>
>
>