Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Newbie Q: JS - Unresolved types
Newbie Q: JS - Unresolved types [message #232257] Tue, 09 June 2009 03:02 Go to next message
Sheshadri Mantha is currently offline Sheshadri Mantha
Messages: 8
Registered: July 2009
Junior Member
hello;
i've got JSDT core and UI of 1.0.105 & JSDT manipulation 1.0.1...

i'm getting unresolved types when i do the following:

a) create a JS project
b) add simple js file one.js whose contents are:
SArray = new Array(5);

function b() {
SArray[0] = "bob";
}
c) add another js file two.js whose contents are:
SArray[1] = "two";

function a() {
b();
}

The function call to b() is resolved ok (or at least there are no errors),
but SArray slot 1 assignment to "two" indicates an error in that SArray
cannot be resolved.

How can i make one js file be "visible" to another w/in a project ??

Project and workspace settings are standard on a clean/new install
(meaning i did not change the libraries, include path or anything)

any help is deeply appreciated.

Kindest regards,
S-
Re: Newbie Q: JS - Unresolved types [message #232564 is a reply to message #232257] Tue, 16 June 2009 00:24 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2310
Registered: July 2009
Senior Member
Sounds like bug 210482,
https://bugs.eclipse.org/bugs/show_bug.cgi?id=210482 .

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:Publishing failed/Resource is out of sync
Next Topic:Setting up JavaScript development environment
Goto Forum:
  


Current Time: Thu Oct 23 18:49:42 GMT 2014

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

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