When main application class is moved project properties should be updated to point to new class.
Steps to reproduce:
- Create New JavaFX project (JavaFXApplication34)
- Refactor Move main class to anonymous package
RESULT: Check project properties: they still point to javafxapplication34.JavaFXApplication34
The application won't run.
For J2SE projects, this is handled by org.netbeans.modules.java.j2seproject.MainClassUpdater
Bug still occurs in proposed 7.4 RC1, and is dependent on a task ( bug 205086 ) that was planned for 7.4. Because refactoring the main application method into some other package would seem rarely-used, and because the work-around is so straight-forward, I am changing the target to DEV and priority to P4. If I'm wrong, change it back.
Product Version: NetBeans IDE 7.4 RC1 (Build 201309112301)
Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b56
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43
System: Windows 8 version 6.2 running on x86; Cp1252; en_US (nb)
Also Ubuntu 12.04 LTS (64-bit) with same (but 64-bit) Build and JDK