Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsSelecting files for refactoring
https://www.eclipse.org/forums/index.php/mv/msg/458541/1017838/#msg_1017838
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,
Giga
]]>Giga G.2013-03-12T16:12:40-00:00Re: Selecting files for refactoring
https://www.eclipse.org/forums/index.php/mv/msg/458541/1018203/#msg_1018203
Can a scope of refactoring be specified in Eclipse Juno for C++ code?
Thank you
Giga
]]>Giga G.2013-03-13T11:45:27-00:00Re: Selecting files for refactoring
https://www.eclipse.org/forums/index.php/mv/msg/458541/1022328/#msg_1022328
Thanks
Giga]]>Giga G.2013-03-21T17:19:23-00:00