Thank you Martin. I tried using slidestore.file.FileDescriptorsStoreNoVersioning with slidestore.file.FileContentStoreNoVersioning and slidestore.reference.FileDescriptorsStore with slidestore.reference.FileContentStore but in both cases get class cast exception. So now I am downloading nightly build 2.0 and will start working with that.
Do you think the nightly build will suffice to interface an existing file system repository to slide webdav server via Domain.xml? I would like to wait for the beta release but I have not much time to complete the project, so have to go with whatever is avaialble now. :-( Regards, Muhammad Ashikuzzaman (Fahim) Senior Software Engineer, SurroundApps Inc. -----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Martin Holz Sent: Monday, January 26, 2004 1:12 AM To: [EMAIL PROTECTED] Subject: Re: FileContentStore disappers?!? "Ashikuzzaman" <[EMAIL PROTECTED]> writes: > Thank you Martin for your response. > > >Replace the MemoryDescriptorsStore with any persistent store. > > Memory descriptor is volatile, ok. But my contents are mainly various > sort of files and directories (not database records) and so I chose > for it to prepare a demo first. Now I when I am actually developing > the module, I need to point to the file system contents through > "webdav". So far I found JDBC descriptor store, node revision > descriptor store and memory descriptor store. Other stores are not > descriptor stores (example, file content store that I am using). Then > what are the descriptor stores? In which doc I can find details of > them? I changed the "MemoryDescriptorsStore" to "FileContentStore" but > getting the same disappearance of files when restarting slide. I don't > understand well what is revision descriptor store and guess its related to versioning not content so did not try it yet. Its a little bit confusing. There are 7 interfaces. - Store ( - NodeStore, - RevisionDescriptorStore - RevisionDescriptorsStore - SecurityStore - LockStore - ContentStore, While Store extends the other 6 interfaces, the default implementation of Store (org.apache.slide.store.StandardStore in slide 1.0.16) delegates the work to implementations of the other interfaces.You choose a implementation for each of them in Domain.xml. JDBCDescriptorsStore, MemoryDescriptorsStore and FileDescriptorsStore implement the NodeStore, RevisionDescriptorStore, RevisionDescriptorsStore, SecurityStore and LockStore interfaces. You could choose FileDescriptorsStore as a start. > >And since you seem to start a new project now, you should really switch to > the CVS head. > > As versioning is not needed, I did not consider CVS. BTW, is there any > built-in capacity of slide to use CVS for file/dir management (are you using > CVS head and CVS as synonymous term?)? Sorry, a complete misunderstanding. By CVS HEAD I meant, that you should get the newest development version of slide from the cvs server. Version 1.0.16 is more than a year old. We are currently preparing Slide 2.0beta. For instructions to get a development snapshoot see http://jakarta.apache.org/site/cvsindex.html Martin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
