[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[equinox-dev] Re: How to use launcher.jar in 3.3.0-M7?
- From: "Steven E. Harris" <seh@xxxxxxxxx>
- Date: Tue, 08 May 2007 19:23:28 -0700
- Cancel-lock: sha1:n1lRc7Jx5xj0TYOg+rPHP/8U200=
- Delivered-to: email@example.com
- Organization: SEH Labs
- User-agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.13 (cygwin32)
"Steven E. Harris" <seh@xxxxxxxxx> writes:
> I noticed that if I just call
> java -jar org.eclipse.equinox.launcher_1.0.0.v20070502.jar
> or try to start it up in the debugger using
> org.eclipse.osgi.framework.launcher as the main class, initialization
> fails because none of the locations get initialized properly:
Well, I figured out that if I rearranged my files with the following
layout, things sort of work as expected:
But that differs from the layout that EclipseStarter seems to expect
when I start it embedded-style from my own launcher program:
That is, in "embedded mode", as I'll call it, all that matters is that
the "configuration" directory sits below the directory where the
org.eclipse.osgi bundle sits.
With the launcher JAR, the Equinox bundles must be in a directory
called "plugins" with the "configuration" directory as a sibling
rather than a child.
Why the difference?
Steven E. Harris