Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [wtp-dev] Validation Framework Provisional Api changes

In case it will help avoid compile errors:
 
    org.eclispe.wst.validation.internal.core.IFileDelta.java
 
mentioned below has "eclipse" misspelled.  It is also misspelled in CVS at the moment.
 
Larry


From: wtp-dev-bounces@xxxxxxxxxxx [mailto:wtp-dev-bounces@xxxxxxxxxxx] On Behalf Of Vijay Bhadriraju
Sent: Tuesday, April 12, 2005 3:53 PM
To: wtp-dev@xxxxxxxxxxx
Subject: [wtp-dev] Validation Framework Provisional Api changes


The following changes were made to the validation framework provisional api and released to head. Changes are in org.eclipse.wst.validation plugin

org.eclipse.wst.validation.internal.provisional.core.IValidationContext

        public String[] getURIs(); - api added


org.eclipse.wst.validation.internal.provisional.core.IValidator

        public void validate(IValidationContext helper, IReporter reporter, IFileDelta[] fileDelta) throws ValidationException; -> public void validate(IValidationContext helper, IReporter reporter) throws ValidationException; - api changed

The IFileDelta[] that being passed into the validate method has been removed and instead the IValidationContext that is passed in holds the list of file URIs that need to be validated.

org.eclispe.wst.validation.internal.core.IFileDelta.java - moved to internal from internal.provisional and will not be exposed as an api.

The code in the  following packges and plugins is fixed to react to these changes as these changes were made a bit late after the IBuild warm up started for this week.

org.eclipse.jst.validation.test.fwk.validator - testFwk - org.eclipse.jst.validation.test
org.eclipse.wst.dtd.validation.internal.ui.eclipse - src - org.eclipse.wst.dtd.validation
org.eclipse.jst.validation.sample - propertiesValidator - org.eclipse.jst.validation.sample
org.eclipse.jst.j2ee.model.internal.validation - j2ee-validation - org.eclipse.jst.j2ee.core
org.eclipse.wst.xml.validation.internal.ui.eclipse - src - org.eclipse.wst.xml.validation
org.eclipse.wst.html.validation - src-html-validation - org.eclipse.wst.html.ui
org.eclipse.wst.xsd.validation.internal.ui.eclipse - src - org.eclipse.wst.xsd.validation
org.eclipse.wst.wsdl.validation.internal.ui.eclipse - src/wsdlvalidateui - org.eclipse.wst.wsdl.validation
org.eclipse.wst.xml.ui.reconcile - src - org.eclipse.wst.xml.ui

Component owners please reload  org.eclipse.wst.validation plugin and the plugins you own from the list above to make sure there are no compile errors and you validators are still working if they were working before this api change.

Please let me know if you notice any problems.

Thanks,

Regards, Vijay
-------------------------------------------------
Vijay Bhadriraju                                        
Rational Tools, J2EE Tooling              
Ph: (919) 486-1898, T/L: 526-1898    
Internet: vbhadrir@xxxxxxxxxx          
-------------------------------------------------

Back to the top