Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351764 - [explorer] Script explorer shows open projects twice with working sets as top level
Summary: [explorer] Script explorer shows open projects twice with working sets as top...
Status: NEW
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: Future   Edit
Assignee: Project Inbox CLA
QA Contact: Chris Jaun CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-11 18:06 EDT by Jason Craig CLA
Modified: 2013-07-18 14:07 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 Jason Craig CLA 2011-07-11 18:06:49 EDT
Build Identifier: 20110615-0604

When you have "Top Level Elements" -> "Working Sets" selected in the view menu of the JSDT script explorer, open projects are shown twice.  The first copy shown does not contain any files, only the "JavaScript Resources" element.  The second copy contains all the files of the project and appears to work function correctly.

It depends on the type of a particular project and working set if this behavior occurs.  It happens if there is a JS or PHP project in a working set that isn't of the JavaScript type (e.g. Resource, C/C++).  A JS or PHP project in a JS working set works normally.

There appears to be no loss of functionality here, you can either ignore the duplication or use a JS working set.

Reproducible: Always

Steps to Reproduce:
1. Select "Top Level Elements" -> "Working Sets" from the view menu of the JSDT "Script Explorer" (notice that DLTK has a view with the same name).
2. Open a non-JavaScript type working set. 
3. Open a JS or PHP project.
Comment 1 Nitin Dahyabhai CLA 2011-07-14 16:14:57 EDT
Both the IJavaScript and IProject objects for the same JavaScript project will appear in working set types other than JavaScript if they're included in that working set.