Community
Participate
Working Groups
Created attachment 117180 [details] A simple project for reproducing the bug Build ID: M20080911-1700 Steps To Reproduce: 1. Import the attached project 2. Try to rename the package ajdt.renamepackagebug1 More information: Aspect ajdt.renamepackagebug1.A is imported by ajdt.renamepackagebug2.B
We have lots of problems with renaming/refactoring. The root cause of this problem is that The refactoring agent wants to use a standard Java parser to perform the refactoring, but with AJ files, this will mean that the parsed files have syntax errors and the refactoring cannot proceed. The proposed solution to this is to do JDT-weaving (bug 240021), where we weave into JDT and ensure that the parser always receives syntactically correct Java code. In the meantime, a temporary solution is to rename packages in the Navigator view, not the Package explorer.
Thanks for the failing project. Now working with JDT Weaving enabled. Going to translate this into a test case.
Test case has been committed.