Hi!
First of all what you plan to do is dangerous. No other application, but Slide should access the files in its store directory. Especially, you must not move or delete any of the files in it. If you decide to do this anyway, there is a hack to omit the _{version_number} from the file name when you do not want versioning. I am not daring to check this in into the CVS, though...
In the sources for org.apache.slide.store.txfile.TxFileContentStore
replace
String revisionUri = revisionUri = uri.toString() + "_" + revisionDescriptor.getRevisionNumber();
with something like:
String revisionUri = uri.toString();
if (uri.toString().startsWith("/history")
|| !revisionDescriptor.getRevisionNumber().toString().equals("1.0")) {
revisionUri += "/" + revisionDescriptor.getRevisionNumber();
}
No guarantee, though...
Oliver
Hi, My slide server URL mapped at "My Network Places" is : http:\\localhost:8080\slide. I am putting(Creat new and save) my word document Test.doc in http:\\localhost:8080\slide\files. This directly maps to the view of clearcase D:\ClearCaseView\My_view\My_VOB\files at my local disk(Maps indomail.xml). So whenever I put the file at http:\\localhost:8080\slide\files,it puts the file at D:\ClearCaseView\My_view\My_VOB\files at my local disk.Which I can see at My_view in clearcase client and checkin/checkout this file.
Problem : But when it puts this file at D:\ClearCaseView\My_view\My_VOB\files,it puts Test.doc with the name Test.doc_1.0. How to remove this version while putting the file through network place ? It should save this file with Test.doc only at D:\ClearCaseView\My_view\My_VOB\files instead of Test.doc_1.0.
Thanks & Regards,
Kaushal Sukhadia
Senior Software Engineer
Patni Computer Systems
- [EMAIL PROTECTED]
( +91-79-23240905 xtn 410
�
� www.patni.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
