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 181653 - Don't finish a scan before you run the code!
Summary: Don't finish a scan before you run the code!
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-08 21:05 UTC by Torbjorn Norbye
Modified: 2010-03-12 14:53 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 Torbjorn Norbye 2010-03-08 21:05:19 UTC
With our JavaFX projects, the IDE spends a lot of time updating its index. Unfortunately, when it's doing that, it refuses to run the project! So I spend a lot of time looking at the dialog which says "Run Project: Please wait, scanning...".

It shouldn't need to finish the index before running the code.

I've filed issue 181652 to track this for Java projects - but I want to make sure it's also addressed for JavaFX projects in case you have your own launch code / project support.

(There are more details in issue 181652)
Comment 1 Adam Sotona 2010-03-12 09:53:11 UTC
Reassigning to editor component.

However some more info would be valuable, I see issue 181652 closed as invalid and no hint about any change nor link to the changeset for Java.
Comment 2 Anton Chechel 2010-03-12 10:04:44 UTC
Jardo is it indexing issue?
Comment 3 J Bachorik 2010-03-12 10:28:52 UTC
I don't think this is an indexing issue. The main problem is that javafx project system mimics the java project system even though it doesn't use CoS and when running a javafx application an external launcher is invoked, thus waiting for scanning to finish for no reason.
I will take a look at it - the code is there from the early days of NB javafx support and mostly copied over from the java support (being a work-in-progress at that time ...)
Comment 4 J Bachorik 2010-03-12 10:47:55 UTC
Probably fixed by http://hg.netbeans.org/javafx/rev/539823d5fd19
Running a project now doesn't wait for scanning to finish. Debugging will still wait as the debugger might need the up-to-date information from parsing&indexing.
Comment 5 Torbjorn Norbye 2010-03-12 14:53:06 UTC
Yes!!!! Fixed by 539823d5fd19. It works beautifully! I'm kicking myself for not filing this months ago :)  

I'm very very happy! Thank you!