storm-gen icon indicating copy to clipboard operation
storm-gen copied to clipboard

Eclipse Refactor > Rename of annotated classes confuses tool in current state

Open turbomanage opened this issue 10 years ago • 1 comments

What steps will reproduce the problem?

  1. Set up a basic project as described on the project home page
  2. Use the Eclipse shortcut to rename the classname of the class annotated as @Database (Refactor > Rename)
  3. Use the Eclipse shortcut to rename the classname of the class annotated as @Entity (Refactor > Rename)

What is the expected output? What do you see instead?

Things should continue to work, but this appears to be an edge case that has not been addressed yet. Instead I get errors until I completely delete the gen'd folders and annotated classes in my code and start over from scratch. Project cleans and Eclipse restarts do not help either.

What version of the product are you using? On what operating system?

My Eclipse is ADT Build: v21.0.0-519525, Mac OS X 10.8.2

Please provide any additional information below.

This tool is awesome, and I am using it to save time today despite this minor error. Thanks for working on it, I can't wait to see future enhancements and eventual inclusion in ADT.

turbomanage avatar Mar 18 '14 23:03 turbomanage

Thanks, mscheel@. As a workaround, after you rename, delete .apt_generated/com/turbomanage/storm/stormEnv. Let me know if that works.

turbomanage avatar Mar 18 '14 23:03 turbomanage