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 212473 - In FX Projects it should not be possible to Run File, Debug File, Profile File
Summary: In FX Projects it should not be possible to Run File, Debug File, Profile File
Status: RESOLVED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Somol
URL:
Keywords:
Depends on:
Blocks: 215993
  Show dependency tree
 
Reported: 2012-05-14 12:46 UTC by Petr Somol
Modified: 2012-07-26 11:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Somol 2012-05-14 12:46:28 UTC
JavaFX 2 deployment model assumes that each Run is preceeded by deployment which creates JAR, JNLP and HTML artifacts. A JavaFX 2 specific launcher is embedded into the deployed JAR, taking into account properties of the project as a whole. Running a single java file in JavaFX 2 Project thus does not make sense, but the Run File, Debug File and Profile File actions are enabled and expose meaningless behavior - a dialog prompting for selection of main class is shown (this is not possible as the class is inserted by the FX deployment task during deployment process). Therefore it is desirable to disable single file run actions in JavaFX 2 projects.
Comment 1 Petr Somol 2012-05-15 12:46:19 UTC
fixed in jetmain
http://hg.netbeans.org/jet-main/rev/8239083b98ef
Comment 2 Quality Engineering 2012-05-16 11:16:54 UTC
Integrated into 'main-golden', will be available in build *201205160400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8239083b98ef
User: Petr Somol <psomol@netbeans.org>
Log: #212473 - In FX Projects it should not be possible to Run File, Debug File, Profile File