This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 223413 - Run on Server action from the Servlet definition in the DD doesn't work
Summary: Run on Server action from the Servlet definition in the DD doesn't work
Status: CLOSED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M7   Edit
Assignee: Dimitar Giormov CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
: 223821 (view as bug list)
Depends on: 225350 225948
Blocks:
  Show dependency tree
 
Reported: 2008-03-20 16:39 EDT by Angel Vera CLA
Modified: 2008-05-19 07:38 EDT (History)
3 users (show)

See Also:


Attachments
NPE Fixed (1.55 KB, patch)
2008-04-07 06:53 EDT, Dimitar Giormov CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Angel Vera CLA 2008-03-20 16:39:14 EDT
WTP: wtp-I-I20080320095049-20080320095049

1. Create a new Server (Tomcat 6)
2. Create a new DynaWeb 2.5 (the project didn't show on my workspace so I had to restart, I think this is a known bugs from what I have heard, if not I can open a second bug for this mysterious disappearing DynaWeb project)
3. Create a new Servlet 
4. Expand the DD descriptor from the navigator, and drill all the way down to the Servlet definition
5. right click and select Run on Server. An error dialog shows no Launch Config found (THE BUG)

6. If you try this from the java file in the source folder it works fine.
Comment 1 Kaloyan Raev CLA 2008-03-21 02:52:09 EDT
Thanks for the hint, Angel. We plan more work on the Web 2.5 DD tree next week and this will be taken in mind. 
Comment 2 Kaloyan Raev CLA 2008-03-25 09:47:18 EDT
*** Bug 223821 has been marked as a duplicate of this bug. ***
Comment 3 Dimitar Giormov CLA 2008-04-07 06:53:18 EDT
Created attachment 95041 [details]
NPE Fixed

NPE due to null eResource.
Still the URL is not correct. New bug created.
Comment 4 Kaloyan Raev CLA 2008-04-08 07:40:46 EDT
dropped to HEAD
Comment 5 Kaloyan Raev CLA 2008-04-18 04:28:16 EDT
Verified with the I20080417213732 build. 
Comment 6 Kaloyan Raev CLA 2008-05-19 07:38:13 EDT
Closing