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 108325 - JavaFX editor switches to file in build/classes dir unexpectedly
Summary: JavaFX editor switches to file in build/classes dir unexpectedly
Status: VERIFIED DUPLICATE of bug 111917
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-27 19:33 UTC by ekolis
Modified: 2007-09-27 11:07 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 ekolis 2007-06-27 19:33:32 UTC
Sometimes when I am editing a JavaFX script file, I will wind up editing the version that has been copied to the
build/classes folder, instead of the one that is in the src folder, causing the two files to get out of sync. This seems
to occur when there is an error in my code and I click on the link in the Output pane; then I get a duplicate editor window.
Comment 1 Jiri Prox 2007-06-28 10:45:25 UTC
Please provide some screenshots and/or exact steps to reproduce.  
Comment 2 ekolis 2007-06-28 16:52:03 UTC
1. Create a JavaFX project.
2. Add a new JavaFX file to the project.
3. Enter in a JavaFX program with some errors in it, such as the following:

import javafx.ui.*;

Frame {
    title: "Hello world"zomg // there is an error here
    width: 400
    height: 300
    visible: true
};

4. Click the run button.
5. In the output window, click the link that notifies you of the error. (Notice that it links to the file in the
build/classes folder rather than the src folder.) A duplicate editor window appears which edits the file in the
build/classes folder.
Comment 3 Alexei Mokeev 2007-07-18 15:40:09 UTC
Thanks! Reproduced the problem. It is pure JavaFX plug-in problem,
reassigning to myself. Will change component/subcomponent
a bit later.
Comment 4 Jan Lahoda 2007-07-30 15:20:04 UTC
Reassigning.
Comment 5 Alexei Mokeev 2007-08-29 11:50:51 UTC
Exactly the same problem as 111917.
Has to be fixed for Beta1 release.
Comment 6 Alexey Butenko 2007-08-30 08:27:06 UTC

*** This issue has been marked as a duplicate of 111917 ***
Comment 7 Alexandr Scherbatiy 2007-09-27 11:07:57 UTC
Verified in Netbeans 6.0 Beta1 with JavaFX plugin version 1.0.2