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.
In 3.4 projects it is possible to set the project main class which is a starting point for execution and debugging. Something similar should be possible in 4.0. It should not be called "class" in non-java projects. There could be different entry points for debugger and executor.
I think we should implement entry-points separately in each project type, there is no need to think about generic UI provided by infrastruture. Java-project would have Main class, C++project would have Executable, both can provide ExecCookie with proper implementation and the same Execute Project Action can be used in UI.
True. Actually some projects do not need to be executable at all. The only reason why I was thinking about something general was that some of the UI should look same in Java and C++, e.g. if you do not select any executable and try to execute the project the same dialog asking you to select the executable could popup in C++ and Java.
Set target milestone to TBD
reassigning to Tor for implementation
A couple of questions are not clear to me after reading the UI spec (http://projects.netbeans.org/proposals/executeui/Execute.html) 1. We're using the same UI for debugging as for execution, right? In other words, if you set the "Execution Startup" property to "Foo.class", this is also the class which will be used in the debugger. That's because debugging is a type of execution. 2. The execution property will be added by the projects infastructure, right? Meaning that execution is as important to projects as building - this wasn't the implication of some of the opinions regarding execution configurations late last week. If not - who adds this property? (Hint: it should not be java -- cpp needs the same property.)
Must-have features for milestone3, have impact on APIs (at least potential).
I'm working on this, I had forgotten to mark it started.
adding the API keyword
Implemented. See issue 26540 for corresponding changes to be made in the Java module.
done, closing