Bug 344162 - [Tooling] Validate Jetty bundles selected
Summary: [Tooling] Validate Jetty bundles selected
Status: ASSIGNED
Alias: None
Product: RAP
Classification: RT
Component: Tools (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-28 12:23 EDT by Beyhan Veliev CLA
Modified: 2014-08-21 08:12 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Beyhan Veliev CLA 2011-04-28 12:23:59 EDT
It happens often that users forget to select the required Jetty bundles when they create an RAP Launch configuration. The button "Add Required Plug-ins"  doesn't help also. May be we can add a validation which shows an warning in case the required Jetty bundles are'n selected.
Comment 1 Ralf Sternberg CLA 2011-04-29 10:59:54 EDT
We should remember to include Jetty 7 in the validated bundle id pattern, as the 1.4 Tooling might also be used with later target platforms.
Comment 2 Beyhan Veliev CLA 2011-05-01 06:33:15 EDT
Another possible solution here beside bundle id pattern validation could be to ping the server on "locahost:port". Currently, we are doing it when a launch configuration is started and we open the browser when the server is there. We have also an timeout for the server. When the timeout is exceeded and there is no server listening on "locahost:port" we just open the browser. What about to show an warning dialog in this case which says e.g. "Hey something is wrong with your server. May be you forgot to select the Jetty bundles". IMO this is a better solution because we aren't bound with some Jetty bundle ids and can react generally to server problems.