Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Programatically turning off some validation?
Programatically turning off some validation? [message #193337] Sun, 27 May 2007 21:31 Go to next message
Eclipse UserFriend
Originally posted by: nadeem.aboobaker.bea.com

Hello all,

I am trying to figure out if there's a programatic way to turn off certain
validators. The manual way to do what I want is to right click Project ->
Properites->Validation, click "Override validation preferences" and uncheck
the Manual and Build checkboxes for the Validator I want to disable (for
example, WSDL or XML Schema).

I am using Eclipse 3.2.2 and WTP 1.5.3. I've done some searches in this
newsgroup, as well as some Google searches. I've been able to find out to
create custom validators, but nothing on how to modify existing validators.
Any help?

Thanks,
Nadeem
Re: Programatically turning off some validation? [message #193748 is a reply to message #193337] Fri, 01 June 2007 05:42 Go to previous message
Eclipse UserFriend
Originally posted by: nadeem.aboobaker.bea.com

Just to answer my own question:

I was able to get the object used for the validation property page settings
by doing this:

ProjectConfiguration projectConfig =
ConfigurationManager.getManager().getProjectConfiguration(pr oject);

Then I changed the desired settings on the ProjectConfiguration object and
then called the store() method.



- Nadeem

"Nadeem Aboobaker" <nadeem.aboobaker@bea.com> wrote in message
news:f3ctbf$jvo$1@build.eclipse.org...
> Hello all,
>
> I am trying to figure out if there's a programatic way to turn off
> certain validators. The manual way to do what I want is to right click
> Project -> Properites->Validation, click "Override validation preferences"
> and uncheck the Manual and Build checkboxes for the Validator I want to
> disable (for example, WSDL or XML Schema).
>
> I am using Eclipse 3.2.2 and WTP 1.5.3. I've done some searches in this
> newsgroup, as well as some Google searches. I've been able to find out to
> create custom validators, but nothing on how to modify existing
> validators. Any help?
>
> Thanks,
> Nadeem
>
Previous Topic:gtk eclipse 3.2 crash opening web.xml under webtools 1.5.4
Next Topic:Can not open help in WTP 1.5.4
Goto Forum:
  


Current Time: Thu Apr 25 03:52:19 GMT 2024

Powered by FUDForum. Page generated in 0.03132 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top