I also would love to know the answer to that question
I am not sure, but I think the wtp tools (among others: the js editor in
eclipse) has no way of understanding complex class definitions, for example
(function() {
window.OpenLayers = {bla}
})();
or
var OpenLayers = {...}
OpenLayers.Util = {...}
On the other hand something like the following is read by the editor
function myclass() {
myfunction() {...}
}
myclass.myfunction();
regards
On 01/11/2011 08:59 AM, Yvo Weidmann wrote:
Dear list
For the reason of several useful features I am developing OpenLayers
project with Eclipse using the "JavaScript Developer Tools" and
"Aptana" PlugIns.
But till now I didn't found a good way to include the OpenLayers
library into the project. Currently I am including the library as
"User Library" in the JavaScript-Environment with the following steps:
1. Eclipse -> Window -> Preferences -> JavaScript -> Include Path ->
User Libraries
2. New ... -> Setting the name of the library (e.g. OpenLayers) -> OK
3. Select the new library -> Add folder ... -> Choosing the folder
with the OpenLayers lib (e.g. OpenLayers/lib/OpenLayers).
4. OK -> Now the OpenSource library is ready to use.
Problem:
It seems, that the path of the library is not search recursively. Only
the classes in the folder defined in step 3 are visible and used by
the Intelisens of Eclipse.
Questions:
- How to get the "User Library" looking recursively through the
OpenLayers-lib?
- Is there a better way / Best Practice to use OpenLayers with the
Eclipse IDE?
Thank you for any hint,
Yvo
---------------------------------------------------------
Yvo Weidmann
734003, 4 Farkhad Str.
Dushanbe
Republic of Tajikistan
Mobile +992 98 53 11 090
Skype yvo.weidmann
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users