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

Bug 251947

Summary: User library provider should support custom validation
Product: [WebTools] WTP Common Tools Reporter: Konstantin Komissarchik <konstantin>
Component: Faceted Project FrameworkAssignee: Konstantin Komissarchik <konstantin>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: gerry.kessler, paul.fullbright
Version: 3.1Keywords: plan
Target Milestone: 3.1 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Konstantin Komissarchik CLA 2008-10-23 18:14:24 EDT
It should be possible to configure the generic JDT user library provider that plugs into the Library Provider Framework to perform validation on libraries that are selected. Most common form of validation would probably be to look for a marker class among library contents, but for generality adding a validator class should be supported as well.
Comment 1 Konstantin Komissarchik CLA 2008-11-13 15:51:17 EST
Added this facility. See javadoc on these two classes for usage information:

org.eclipse.jst.common.project.facet.core.libprov.user.UserLibraryValidator
org.eclipse.jst.common.project.facet.core.libprov.user.KeyClassesValidator