Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » adding custom tags to error libary
adding custom tags to error libary [message #229068] Tue, 17 March 2009 12:05 Go to next message
art vanderhoff is currently offline art vanderhoffFriend
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 18:10 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4425
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 Web Tools Platform
Previous Topic:Validating JavaScript using Rhino? (Java references within JavaScript)
Next Topic:Wrong link to user doc
Goto Forum:
  


Current Time: Tue Mar 19 02:02:27 GMT 2024

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

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

Back to the top