Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse with Javascript - projects with existing code(How to set up projects with existing code)
Eclipse with Javascript - projects with existing code [message #1111699] Wed, 18 September 2013 15:47
Jon Fabris is currently offline Jon FabrisFriend
Messages: 1
Registered: September 2013
Junior Member
I am a newbie to javascript and eclipse.
I downloaded this version of eclipse:
http://www.eclipse.org/downloads/packages/eclipse-ide-javascript-web-developers/heliossr1

When I try to create a project from existing source, I get many of the following errors:

Description Resource Path Location Type
Syntax error on token ",", . expected onDomReady.js /rchi/lib line 2 JavaScript Problem

Description Resource Path Location Type
Syntax error on token ")", ; expected reqwest.js /rchi/lib line 7 JavaScript Problem

Description Resource Path Location Type
Syntax error, insert ")" to complete Expression reqwest.js /rchi/lib line 7 JavaScript Problem


These errors are all in the libraries I am using, not in my personal code.
This project works fine outside of eclipse.


If I go into the Validator preferences and select Enable Javascript semantic validation, those errors go away and I get a set of new ones:

Description Resource Path Location Type
cannot be resolved to a type AlphaMapFilter.js /rchi/lib line 51 JavaScript Problem

Description Resource Path Location Type
cannot be resolved to a type ColorFilter.js /rchi/lib line 53 JavaScript Problem

Description Resource Path Location Type
Cannot make a static reference to the non-static field createjs AlphaMapFilter.js /rchi/lib line 139 JavaScript Problem


I am sure the solution is some setting I need to fix, but no idea what to do.

I am attaching the project code.



Previous Topic:Debuger, cannot connect to VM
Next Topic:mqtt java broker issue
Goto Forum:
  


Current Time: Thu Apr 18 09:50:24 GMT 2024

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

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

Back to the top