Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359871 - Test Server prompts user before starting if there are Java errors in the project
Summary: Test Server prompts user before starting if there are Java errors in the project
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Justin Spadea CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 12:32 EDT by Brian Svihovec CLA
Modified: 2017-02-23 14:16 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Svihovec CLA 2011-10-04 12:32:53 EDT
Import the attached project.  NOTE: This project requires the EGL and Dojo widgets projects.

Open 'client.ServiceDemo', enter a name, and press 'Say Hello'

When the test server is starting, you will get a dialog stating that there are errors in the project, and asking if the launch should proceed.  

To force this dialog to appear, I have created a .java file in the project with an obvious compile error.  When I first saw the issue, it was due to invalid Java code being generated from EGL source.

Due to the fact that this only occurs when there is invalid Java code in the project (I believe), and since we should never be generating invalid Java code, I have marked this defect as Minor.
Comment 1 Justin Spadea CLA 2011-10-13 15:29:52 EDT
Got bored at the airport - enjoy your prompt-free debugging!

Added our own launch config type & delegate to ide.rui. The launch delegate is just a subclass of the Java delegate, with prompting disabled. The launch type was made private so that it does not show up in the Launch Configurations dialogs.
Comment 2 Brian Svihovec CLA 2012-01-16 21:49:34 EST
Verified in build 0.8.0.v201201120902-1CT-Fiv5_M5_LM5fUa4