Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » adding custom tags to error libary
adding custom tags to error libary [message #229068] Tue, 17 March 2009 08:05 Go to next message
art vanderhoff is currently offline art vanderhoff
Messages: 2
Registered: July 2009
Junior Member
Hello,

eclipse v 3.4.2

New to eclipse and half way up the learning curve.
i have a question about validation and error/warning messages. ie the
following line in a js file validates via firefox but throws an error in
eclipse

xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
-> ActiveXObject cannot be resolved to a type

can i add this to a list so it is ignored or can I flag it via the
PROBLEMS view to ignore from now on.

Thanks
Art
Re: adding custom tags to error libary [message #229626 is a reply to message #229068] Wed, 25 March 2009 14:10 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2132
Registered: July 2009
Senior Member
art vanderhoff wrote:
> Hello,
>
> eclipse v 3.4.2
>
> New to eclipse and half way up the learning curve. i have a question
> about validation and error/warning messages. ie the following line in a
> js file validates via firefox but throws an error in eclipse
>
> xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
> -> ActiveXObject cannot be resolved to a type
>
> can i add this to a list so it is ignored or can I flag it via the
> PROBLEMS view to ignore from now on.

Right now you can only add a file into the Include Path declaring
the ActiveXObject class and methods. Our Firefox library doesn't
mention that class, nor does an unofficial run of the library
generator under Firefox 3.0.7. It will need to be properly updated
by hand, it seems.

--
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:Validating JavaScript using Rhino? (Java references within JavaScript)
Next Topic:Wrong link to user doc
Goto Forum:
  


Current Time: Thu Apr 17 03:46:24 EDT 2014

Powered by FUDForum. Page generated in 0.01525 seconds