|Selecting files for refactoring [message #1017838]
||Tue, 12 March 2013 12:12
| Giga G.
Registered: March 2013
I'm using Eclipse Juno SR2 for editing C++ code. The list of projects imported into Eclipse includes:
a. References to read-only global source repository, indexed to be used for global searches
b. Read-write copy of a small part of the repository (one or more sub-projects) that are currently edited in developer's workspace
When refactoring is run on an entity in a read-write source file, the procedure scans all the projects imported and finds read-only references to the files containing entities affected by the refactoring. The following message is generated then:
File '/path/file.cc' is read-only. Do you wish to make it writable?
The read-only file comes from the referenced global source repository, so I cannot make it writable and the following error message is generated:
A fatal error occurred while performing the refactoring
- File '/path/file.cc' is read-only
I could not find a workaround for this problem. In Eclipse Galileo that we used previously, one could select the list of files to be refactored and read-only files were not considered a fatal error for the refactoring procedure.
I would appreciate your guidance on how to resolve or work around this problem.
Thank you in advance,
Powered by FUDForum
. Page generated in 0.01533 seconds