Community
Participate
Working Groups
This bug is being raised as a place to track the remaining issues surrounding the renaming of .aj files. The initial problem of renaming .aj files has been fixed in bug 92482, however, this is just enabling someone to do a simple resource rename. Clearly, we need to provide a refactoring rename (updating references etc) for .aj files. An initial investigation has been documented in bug 92482.
*** Bug 111974 has been marked as a duplicate of this bug. ***
Version: 1.4.0 Build id: 20060222111711 AspectJ version: 1.5.1.20060131132251 I'm currently experiencing two different problems: 1. If renaming within the *.aj editor I get: Operation unavailable on the current selection. Select a java project, source folder, resource, package or compilation unit, or a non-binary type, field, method, parameter, local variable, or type variable. 2. If renaming from the Package Explorer I get: This refactoring cannot be performed correctly due to syntax errors in the compilation unit. To perform this operation you will need to fix the errors. FYI: I have no errors in the project. There are no exceptions in the error log.
Still some work to do here. Seems that sometimes when an aspect rename occurs, the original CU remains (ie, is not deleted), and a new one is created. This problem seems remarkably similar to Bug 163233.
Try to solve for 2.1.0.
I'm thinking that the problem here is that there is a new working copy opened for the original CU and not closed when it is moved.
Determining what will be tackled for 2.1.1 release.
Working now with all the work done on indexing and searching in AJ locations.