Community
Participate
Working Groups
Using master as of today. 1. Create a new Hello world project 2. Press the Debug or Run button 3. "Launch failed. Binary not found" I think it should either try to build the project or prompt the user to ask if the project should be built.
I've prototyped something for this: https://git.eclipse.org/r/15489 It does not show a dialog but simply automatically builds the project. Maybe a dialog would be better?
*** Bug 335102 has been marked as a duplicate of this bug. ***
*** Bug 479586 has been marked as a duplicate of this bug. ***
(In reply to Jonah Graham from comment #3) > *** Bug 479586 has been marked as a duplicate of this bug. *** This issue is definitely having an effect on new user adoption. Here is a case in point from SO: http://stackoverflow.com/questions/33071907/a-program-file-was-not-specified-in-the-launch-configuration-on-eclipse-luna-c/
Hi Jonah, thanks for pointing this out again. I wrote another patch somewhere (a year ago!) that builds before launch but instead in the launch delegate code, where it can reuse the launch config settings. I'll resurrect that tonight (hopefully I don't forget this time!).
What works for us is to have a code in launch delegate that accepts lc with empty binary. It will be build before launch as usually but before actually launching it will run Auto-Pick-Binary code where binary is picked based on build config (for example) or user is asked to pick one