Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324749

Summary: Converting to JS project adds broken entry to include path
Product: [WebTools] JSDT Reporter: Michael Rennie <Michael_Rennie>
Component: GeneralAssignee: Nitin Dahyabhai <thatnitind>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.3 M3   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Michael Rennie CLA 2010-09-08 10:29:56 EDT
build id: 20100813105432

Steps

1. new workspace
2. create a normal project
3. invoke the Configure > Enable JavaScript... action on the project
4. open the properties for the project and navigate to the include path page

Expected

Everything would be fine

Happens

You immediately see the following warning:

Build path entry is missing: org.eclipse.wst.jsdt.launching.WebProject

There is also no way to remove the offending entry as the 'Remove' button does not enable when it is selected.

Workaround

Open /.settings/.jsdtscope file and remove the following entry:

<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
Comment 1 Nitin Dahyabhai CLA 2010-09-27 22:01:20 EDT
Contribution to include path moved into org.eclipse.wst.jsdt.web.core with its definition and initializer.