This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 212021 - When moving main class update project properties
Summary: When moving main class update project properties
Status: NEW
Alias: None
Product: javafx
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Roman Svitanic
Depends on: 205086
  Show dependency tree
Reported: 2012-05-03 13:45 UTC by Alexander Kouznetsov
Modified: 2013-09-16 22:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2012-05-03 13:45:18 UTC
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.
Comment 1 Ralph Ruijs 2012-05-09 13:01:35 UTC
For J2SE projects, this is handled by
Comment 2 Lou Dasaro 2013-09-16 22:24:18 UTC
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