Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 212021 - When moving main class update project properties
When moving main class update project properties
Status: NEW
Product: javafx
Classification: Unclassified
Component: Project
PC Windows 7
: P4 (vote)
: 8.0
Assigned To: Roman Svitanic
Depends on: 205086
  Show dependency treegraph
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


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

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo