Skip to main content



      Home
Home » Language IDEs » ServerTools (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
Eclipse UserFriend
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
Eclipse UserFriend
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
Previous Topic:Validating JavaScript using Rhino? (Java references within JavaScript)
Next Topic:Wrong link to user doc
Goto Forum:
  


Current Time: Thu Jul 10 04:18:02 EDT 2025

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

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

Back to the top