Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Is order of validation builders important?
Is order of validation builders important? [message #485050] Thu, 10 September 2009 07:34 Go to next message
Bert  is currently offline Bert
Messages: 18
Registered: August 2009
Junior Member
I use WTP and PHP, and I have found that the order of the validation builders is important for javascript warnings and tags to show up.
The correct order must be:

Validator
Script builder
Javascript validator

Is this intended behaviour or is this a bug?
Re: Is order of validation builders important? [message #485202 is a reply to message #485050] Thu, 10 September 2009 15:13 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2237
Registered: July 2009
Senior Member
Bert wrote:
> I use WTP and PHP, and I have found that the order of the validation
> builders is important for javascript warnings and tags to show up.
> The correct order must be:
>
> Validator
> Script builder
> Javascript validator
>
> Is this intended behaviour or is this a bug?

I can't think of any reason that the order should matter. What kind
of project are you working in? Does disabling the "Script builder"
let you organize them in any way you want? Is this happening for
standalone .js files (they use the "Javascript validator" builder)
or within HTML pages (the "Validation" builder)?

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: Is order of validation builders important? [message #485211 is a reply to message #485202] Thu, 10 September 2009 15:42 Go to previous messageGo to next message
Bert  is currently offline Bert
Messages: 18
Registered: August 2009
Junior Member
All my projects are more or less the same; websites with mianly HTML and CSS files with some php and js. All my javascript is external.
I did some more testing and found that when the "javascript validator" comes first in the list, the errors, tasks and warnings do show up in the task-list, but only briefly. As if one of the other builders overwrites them?
If I make sure the javascript validator is last, they remain visible.
Re: Is order of validation builders important? [message #485221 is a reply to message #485211] Thu, 10 September 2009 16:13 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2237
Registered: July 2009
Senior Member
Bert wrote:
> All my projects are more or less the same; websites with mianly HTML and
> CSS files with some php and js. All my javascript is external.
> I did some more testing and found that when the "javascript validator"
> comes first in the list, the errors, tasks and warnings do show up in
> the task-list, but only briefly. As if one of the other builders
> overwrites them?
> If I make sure the javascript validator is last, they remain visible.

It sounds like one of the other builders is doing something that
removes the JavaScript problem markers. With the JavaScript
Validator builder enabled and in the front of the list, try
selectively disabling others and see if the markers are no longer
deleted.

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: Is order of validation builders important? [message #487881 is a reply to message #485221] Thu, 24 September 2009 12:38 Go to previous message
Bert  is currently offline Bert
Messages: 18
Registered: August 2009
Junior Member
Sorry for the late reaction, I was on holiday.

I tried all possible combinations and it happens (the disapearing errors etc.) when the validator comes after the js-builder.
Previous Topic:Show senders of methods / functions
Next Topic:J2EE module dependencies
Goto Forum:
  


Current Time: Wed Jul 30 17:27:37 EDT 2014

Powered by FUDForum. Page generated in 0.01597 seconds