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.
Configuration: I have UCMComponent.java defined in \school\soen343\, which is mounted I also have an old copy defined in \forte4j\development The version in \school\soen343\ compiles perfectly The version in \forte4j\development\ is full of syntax errors When I select the version in \school\soen343\ in explorer and press F9 to compile, I get syntax errors being reports. I select the first one, press ENTER, and the source-window of the file is opened. I notice that while I requested Forte compile the version in \forte4j\soen343\, it actually compiled the version in \forte4j\development\.
*** Bug 8807 has been marked as a duplicate of this bug. ***
Which operating system, JDK, and version (build number) of Forte are you using? E.g. add your ide.log as a Bugzilla attachment.
Possible explanation of thereinbefore behavior: Let's have e.g. first.java, which node is selected in Explorer and second.java, opened in Editor. Which one is compiled, if F9 is pressed? If Editor has focus, then second.java is compiled, but if Explorer has focus, then first.java is compiled, no matter which file is opened in Editor.
That's not at all what happenes.. I remember having my editor closed when pressing F9 in the Explorer.. This bug is due to something else...
Reassigning to Ales, maybe he can find out what is hapenning. However, I have some further questions to the original reporter: - \school\soen343 was mounted later, because \forte4j\development is mounted from the very beginning; right? - editor window was opened for wrong file (\forte4j\development\...); right?
- Yes, \forte4j\development is mounted before \school\soen343 - When I compile (\school\soen343\...), get a list of errors, click on the first one, editor window was opened for wrong file (\forte4j\development\...)
fixed in main trunk
Resolved for 3.4.x or earlier, no new info since then -> verified.
Resolved for 3.4.x or earlier, no new info since then -> closing.