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

Bug 96441

Summary: [validation] Validator issues
Product: [WebTools] WTP Common Tools Reporter: Yen Lu <yenlu>
Component: wst.validationAssignee: Gary Karasiuk <karasiuk>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P4 CC: karasiuk
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Yen Lu CLA 2005-05-24 11:14:18 EDT
I have two issues with the validation framework:

1) org.eclipse.wst.validation.internal.operations.WorkbenchContext appears to 
be what I need but it is marked internal meaning I would have to clone the 
class to minimize the chance of future breakage. I took a look at the WSDL 
validator in WTP and they too are subclassing WorkbenchContext.

2) When an artifact (file) to be validated is marked dirty, the getFiles() 
method on WorkbenchContext returns two files: a) the one actually modified and 
b) the carry over into .deployables. Is there any way to filter out 
the .deployables entries so they are not validated without any hardcoding of 
the path?
Comment 1 Yen Lu CLA 2005-05-24 11:20:42 EDT
Another issue: the getURIs() method on WorkbenchContext always returns null.
Comment 2 Phillip Avery CLA 2005-05-24 11:39:47 EDT
There's a bug open for ignoring the .deployables folder.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=93448
Comment 3 Vijay Bhadriraju CLA 2005-05-31 18:05:06 EDT
Yen, issue 2 will be fixed as soon as defect 97756 is fixed.
Comment 4 Vijay Bhadriraju CLA 2005-06-08 00:29:05 EDT
Yen, For WTP 0.7 we do not plan to make WorkbenchComponent an api as all
validation api are defined as provisional. We will look into this for 1.0
timeframe and regarding the issue 2 in this defect as i have mentioned will be
fixed with server publishing feature.
Comment 5 David Williams CLA 2005-09-22 14:42:56 EDT
Changed to P2 due to status call on 9/21. 
Comment 6 Gary Karasiuk CLA 2008-04-29 16:33:52 EDT
Is this still needed?
Comment 7 Gary Karasiuk CLA 2008-05-05 12:19:31 EDT
I'm doing a clean up of the old validation framework bugs. Please reopen if you feel that this is still a valid bug. Thanks. 
Comment 8 Gary Karasiuk CLA 2009-01-14 05:25:42 EST
closing