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 186163 - Fix imports does not work for the classes from the depended JavaFX project
Summary: Fix imports does not work for the classes from the depended JavaFX project
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 normal (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-14 13:04 UTC by Alexandr Scherbatiy
Modified: 2010-05-27 10:29 UTC (History)
1 user (show)

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 Alexandr Scherbatiy 2010-05-14 13:04:12 UTC
Steps to reproduce:

- Create JavaFXApplication12 project
- Create MyClass JavaFX class
------------  MyClass.fx ------------
package javafxapplication12;

public class MyClass {
}
-------------------------------------

- Create Test JavaFX project
- Right-clik on the Libraries node in the project and select Add Project
- Choose the JavaFXApplication12 project

- Create Main fx file in the Test  project
-------------  Main.fx ------------
package test;

MyClass{}
-----------------------------------

- Fix imports
The 'import javafxapplication12.*;' import is not added.
Comment 1 Alexandr Scherbatiy 2010-05-14 13:04:53 UTC
netbeans-trunk-nightly-201005132200-javafx-full-windows.exe 

  Product Version         = NetBeans IDE Dev (Build 201005132200) (#fd91a0b3b548)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc.
Comment 2 J Bachorik 2010-05-17 09:24:27 UTC
Too bad I didn't get to this one before code freeze :(
Comment 3 J Bachorik 2010-05-18 09:04:44 UTC
Ok, it seems that my previous comment was swallowed by a black hole except of the last sentence :(
I would like to increase the priority to P1 so I can proceed with fixing it. The fix is pretty safe and straightforward and it would be good to have this fixed for FCS.
Comment 4 J Bachorik 2010-05-18 09:09:25 UTC
Fixed in http://hg.netbeans.org/javafx/rev/980e03b7278f

Please, verify, so we are ready for HR process.
Comment 5 Alexandr Scherbatiy 2010-05-19 11:51:13 UTC
verified in netbeans-trunk-nightly-201005182201-javafx-windows.exe
Comment 6 Marian Mirilovic 2010-05-27 07:51:35 UTC
What is the status of this issue ? 
Is it already fixed in release69 clone ? 

If so please replace 69_HR_FIX_CANDIDATE keyword by 69_HR_FIX keyword. Thanks in advance.
Comment 7 J Bachorik 2010-05-27 09:59:24 UTC
It is part of the release69 branch of javafx repository.
Comment 8 Alexandr Scherbatiy 2010-05-27 10:29:32 UTC
Verified in NB 6.9 RC1