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

Sorry I wasn't clear.  Yes, the CVS typo was in the package name that was committed.  The already refactored classes have the "correct" misspelling in their imports.  If it helps, the only class I found still needing changes at HEAD related this API change was org.eclipse.wst.wsi.ui.internal.WSIMessageValidator, excluding test projects.

From: wtp-dev-bounces@xxxxxxxxxxx [mailto:wtp-dev-bounces@xxxxxxxxxxx] On Behalf Of David Lauzon
Sent: Wednesday, April 13, 2005 10:02 AM
To: General discussion of project-wide or architectural issues.
Cc: General discussion of project-wide or architectural issues.; wtp-dev-bounces@xxxxxxxxxxx
Subject: RE: [wtp-dev] Validation Framework Provisional Api changes

Actually looking in the common.jar file in org.eclipse.wst.validation there are a number of paths that have the misspelled "eclipse"

  -rw-r--r--      1074  13-Apr-2005  03:33:26  org/eclispe/wst/validation/internal/core/FileDelta.class
  -rw-r--r--       327  13-Apr-2005  03:33:26  org/eclispe/wst/validation/internal/core/IFileDelta.class
  -rw-r--r--       372  13-Apr-2005  03:33:26  org/eclispe/wst/validation/internal/core/IMessageAccess.class
  -rw-r--r--      6047  13-Apr-2005  03:33:26  org/eclispe/wst/validation/internal/core/Message.class
  -rw-r--r--      1602  13-Apr-2005  03:33:26  org/eclispe/wst/validation/internal/core/MessageFilter.class
  -rw-r--r--      2619  13-Apr-2005  03:33:26  org/eclispe/wst/validation/internal/core/ValidationException.class
  -rw-r--r--      1990  13-Apr-2005  03:33:26  org/eclispe/wst/validation/internnal/core/ValidatorLauncher.class

David M. Lauzon
XML Tooling,  ADTC Architecture
Internal Mail: D3/EAB/8200/MKM
Phone: (905) 413 - 2180  TL: 8/969 - 2180  FAX: (905) 413 - 4920
Internet: lauzond@xxxxxxxxxx     Notes: David Lauzon/Toronto/IBM@IBMCA

"Larry Isaacs" <Larry.Isaacs@xxxxxxx>
Sent by: wtp-dev-bounces@xxxxxxxxxxx

04/13/2005 09:41 AM

Please respond to
"General discussion of project-wide or architectural issues."

"General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx>
RE: [wtp-dev] Validation Framework Provisional Api changes

In case it will help avoid compile errors:
mentioned below has "eclipse" misspelled.  It is also misspelled in CVS at the moment.

From: wtp-dev-bounces@xxxxxxxxxxx [mailto:wtp-dev-bounces@xxxxxxxxxxx] On Behalf Of Vijay Bhadriraju
Tuesday, April 12, 2005 3:53 PM
[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


       public String[] getURIs(); - api added


       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. - 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.


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

Back to the top