[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.equinox] Re: OSGi application with a workspace

Scott Cowan schrieb:
> [...] It also specifies the "-ws" program argument 

The "-ws" argument is used for setting the windowing system technology
(eg. win32/gtk,etc.). You probably mean the "-data" argument. Check the
Eclipse help. There is a page which explains all the possible options.

> When my bundle finally gets to access the workspace I find that,
> 
> ResourcesPlugin.getWorkspace().getRoot().getProjects() returns an empty 
> IProject[0] array.

It probably points to an empty folder. You might want to test a little
bit more, create projects and use #getLocation to unveil the real file
system location.

-Gunnar


-- 
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx
http://wagenknecht.org/