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.
Here is the story. I have a project based on a custom makefile. It has several target binaries (well, originally there was the only one, but then I added some tests) When I double-clicked one of these binaries (I wanted to run a test), "Run" dialog appeared with fields: - Executable - Working dir - Arguments - Envorinments (quite reasonable fields for "Run" dialog!) - Some more fields I wasn't attentive enough to read all fields, filled in the above ones and pressed ENTER (Do *you* always read every word in every dialog? I can't believe you do!) How surprised I was when I saw that now I have two projects with the same name in Projects pane! That's absolutely inappropriate IDE behavior. "Run" must run, not create a project. Expected behavior: - Run just runs the binary and *never* creates a project. Please note that there is an item "Create a Project..." on a binary.
What drives me crazy is the fact that the binary I tried to launch alreary belongs to the open project. And after IDE creates a new project, it adds this binary to the "Important files"folder. And if I select it in the "Important files", and double-click and press enter - it creates one more new project and adds the binary to its "Important files", and so on. But whoever will try fixing this: please don't fix this particular effects. The proper fix should be: "Run" action never creates a new project. It just runs.
The fix is in internal repository: changeset: 272375:e5f1b350e8b3
Integrated into 'releases/release74', will be available in build *201311111738* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/52df43a90e66 User: igor_nikiforov <igor_nikiforov@netbeans.org> Log: Bug 237143 - "Run" dialog gets user crazy - fix. (transplanted from e5f1b350e8b3047225bc3af9196147886a44eaf6)
verified in NetBeans IDE 7.4 (Build 201311111738) No "Run" dialog if executable file was placed into "Important files" logical folder