Auto-Lock in eclipse for office files
Hi,
I tried to get the auto-lock feature running, but wasn't successful.
Environment: Windows 7, RTC 6.0 default client (tried 32 and 64 bit versions), Office 2007.
I have configured a stream to auto-lock .pptx files, checked one in, reloaded the component and, tata, the file has set the read only flag.
But now when I double click, power point opens in eclipse as editor. The save button is integrated into the eclipse toolbar, so we have it really "embedded".
But now I can edit the file, save, and nothing happens. Only the "read-only" flag is removed from the file.
(btw, the news and noteworthy describing this feature https://jazz.net/downloads/rational-team-concert/releases/5.0.2?p=news#pessimisticLocking shows a .ppt extension)
Ideas?
Accepted answer
- I created a stream and a component
- Added *.pptx to the auto lock files.
- I created a project on disk
- Added a pptx file (read/write)
- Shared the project
- The file was now read only
If I open the file with "Default editor" or "In Place Editor" the file appears in Eclipse.
- If I edit the file the dirty indicator shows
- If I hit the safe button or CTRL-S nothing happens
- If I close the editor a dialog pops up, if I want to save
- If I choose to save the file gets saved despite it is read only and no lock is applied
This is something to report, I think this should not be possible, weather this is a defect of RTC or a problem of Eclipse, I can't say.
If I open the file with "System editor" or set up an external editor the file is opened appears outside of Eclipse.
- I can open the file in Eclipse and, preferred, open it in the system editor
-
The file is read only mode, this is recognized by PowerPoint - I can not change the file and I can't save it.
-
I have to lock the file in Eclipse and open it again, to edit it
- I can override the read only for the file and do changes
I don't think that Eclipse or RTC can do anything about the scenario 4.
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Oct 09 '15, 10:31 a.m.Stefan Hoffmann
Oct 12 '15, 4:38 a.m.