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

Bug 366065

Summary: Add a new filter rule to include/exclude based on a target runtime
Product: [WebTools] WTP Common Tools Reporter: Rosendo Martinez <rosendo>
Component: wst.validationAssignee: Rosendo Martinez <rosendo>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: ccc, diegosr, shr31223
Version: 3.2.5Flags: cbridgha: review+
Target Milestone: 3.2.5 P   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
R3_2_maintenance patch
none
R3_2_maintenance patch using wst.common classes shr31223: iplog+

Description Rosendo Martinez CLA 2011-12-08 12:01:30 EST
Build Identifier: 

Add a new filter rule to extension point org.eclipse.wst.validation.validatorV2

Currently the extension point handles the following rules: fileext*, file*, projectNature*, facet*, contentType*, pattern*

The idea is to add something like targetRuntime* with an id as attribute.

This change would affect not only the current extension point but also the Validation Filters dialog.

Reproducible: Always
Comment 1 Rosendo Martinez CLA 2011-12-13 15:03:11 EST
Created attachment 208334 [details]
R3_2_maintenance patch

R3.2.5P is not ready yet. I am starting with R3_2_maintenance.
Comment 2 Chuck Bridgham CLA 2011-12-13 15:20:42 EST
This patch seems ok, but I am worried about the new dependency on server tools.
I suppose this can't be avoided
Comment 3 Rosendo Martinez CLA 2011-12-16 15:45:17 EST
Created attachment 208506 [details]
R3_2_maintenance patch using wst.common classes

Seems like the use of the wst.server.core is causing build troubles. Attaching a new patch and using org.eclipse.wst.common.project.facet.core classes.
Comment 4 Chuck Bridgham CLA 2011-12-19 10:57:32 EST
Much better - thanks - approved
Comment 5 Roberto Sanchez Herrera CLA 2012-01-04 20:56:31 EST
This code was already committed. Resolving bug.