Community
Participate
Working Groups
Build ID: N20071008-0010 Steps To Reproduce: 1. Create a Java project 2. Create a package named "test_1" 3. Try to rename the package to "test-1" => You will be informed that "test-1" is an invalid Java identifier - you can't use it as a package name. The "test_1" is not supposed to be a real package, it's just a sub-folder of "src". Even though there are no classes in it I'm not allowed to change it's name in the Package Explorer. I need to rename it outside Eclipse. I'm not sure if this is Resources or JDT issue. Please feel free to readdress it if needed.
Hi Tom. By the way you don't have to rename the folder from outside of Eclipse. You can just use Resource Navigator. It should work.
The workaround suggested by Szymon is good enough. No plans to add extra options to the rename package dialog.