Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse configuration for external JS files (Eclipse configuration for external JS files )
Eclipse configuration for external JS files [message #1419088] Mon, 08 September 2014 04:40
SBlade Blade is currently offline SBlade BladeFriend
Messages: 1
Registered: September 2014
Junior Member
Dear All,

I want to configure Eclipse Kepler ide to run the WebGL program in the browser. At the bear minimum there are simply 2 files one for the HTML(test.htm) and another where the JavaScript is defined (FirstJS.js). Creating the program from Eclipse JavaScript templates and adding those files should be enough the script to run, but doesn't run and doesn't produce any error, so I have a no way of guessing what is wrong.

My best guess is: JS couldn't locate the declaration/definition of referenced classes OSG, viewer, etc.. which are refered at the main body of JS program normally those are defined as external resources to the javascript like shown below in test.HTM file.

But is it enough to define them that way or do I have to make more configuration to point out the Eclipse IDE where the external files rest? Such as defining the External library location in Project properties.

  • Attachment: FirstJS.js
    (Size: 2.34KB, Downloaded 179 times)
  • Attachment: test.htm
    (Size: 0.71KB, Downloaded 143 times)
Previous Topic:How to create custom template project in Eclipse
Next Topic:Package Explorer without icons
Goto Forum:
  


Current Time: Fri Nov 27 04:23:08 GMT 2020

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

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

Back to the top