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

Bug 368900

Summary: Need way to tell the JSDT that certain directories are off limits for processing
Product: [WebTools] JSDT Reporter: Adib Saikali <adib>
Component: GeneralAssignee: Project Inbox <jsdt.javascript-inbox>
Status: CLOSED DUPLICATE QA Contact: Nitin Dahyabhai <thatnitind>
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Adib Saikali CLA 2012-01-17 19:26:32 EST
Build Identifier:  Version: 3.7.1.r37x_v20110729-9gF7UHOxFtniV7mI3T556iZN9AU8bEZ1lHMcVK Build id: M20110909-1335

I am using dojo toolkit 1.7.1 and i have a dynamic web project called dojo where I have placed all the dev and source files for dojo, many of those files have java script validation which I can't fix since I am using what comes out the Project. There seems to be no way to execlude certain folders from the JSDT validation and problem reporting infrastructure. I am highly experienced eclipse user 10+ years I tried the following to fix this issue.

1. Excluding the dojo directories from project specific validation settings, errors seem to be comming from the JS complier so the validation settings don't do anything
2. Project Properties > JavaScript > Include Paths > Execlude file I used wildcards to try and have files eliminated from the JSDT but that does not work either 
3. I removed the JS project nature from the project all that did was remove the JavaScript settings on project properties dialog without getting rid of these errors. 
4. I suspend all builders on the project still no luck for getting rid of these errors. 
5. I googled for a while trying to get instructions followed what I could find but still no luck. 

I think is is a very serious problem for web developers, we try to have no errors and warning in our projects, and with third party code we need a way to turn off errors and warnings. 


Reproducible: Always

Steps to Reproduce:
1. create a dynamic web project called dojo 
2. copy the dojo toolkit source code into WebContent notice the slew of errors 
3. Try getting the JSDT not to validate the JS directories you will not be able to.
Comment 1 Nitin Dahyabhai CLA 2012-01-18 08:28:31 EST

*** This bug has been marked as a duplicate of bug 362250 ***