[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: what happened to startup.jar?

Yes this is new, M5 is the first milestone build with this, although it went in the integration builds immediately after M4.

As you discovered, plugins\org.eclipse.equinox.launcher_1.0.0.v20070126.jar is the replacement for startup.jar. You'll notice it is now versioned and is updateable.

There are a few wiki pages on the topic:
http://wiki.eclipse.org/index.php/Equinox_Launcher
http://wiki.eclipse.org/index.php/Equinox_Launcher_Plan (details of actual implementation)


-Andrew

Tom Schindl wrote:
Hi,

That's only a shot in the dark but maybe this is because of new SWT-Splash-Screen support added in M5, so the starting process has changed because eclipse is launched JNI calls.

http://relengofthenerds.blogspot.com/2007/02/eclipse-33m5-now-available.html


At least it talks about a new launcher.

Tom

aeberbac@xxxxxxxxxx schrieb:
Hi,

I'm trying to do some automation, but I'm running into a problem with the 3.3 integration build.
java -cp plugins\org.eclipse.platform_3.2.100.v20070126\startup.jar org.eclipse.core.launcher.Main


doesn't do anything. It doesn't say anything. The only information I'm getting is an exit status of 13.
Everything in the documentation refers to startup.jar. Now I looked at the launcher sources and there's a bit in eclipse.c that says:


        jarFile = findStartupJar();

in which there's a section that looks to do a:

        file = findFile(pluginsPath, DEFAULT_EQUINOX_STARTUP);

Where DEFAULT_EQUINOX_STARTUP is defined as
#define DEFAULT_EQUINOX_STARTUP _T_ECLIPSE("org.eclipse.equinox.launcher")


So when I look at the running configuration when launching from the executable I see:

-startup
C:\mumble\eclipse3.3\plugins\org.eclipse.equinox.launcher_1.0.0.v20070126.jar



Now if I run the antRunner with this guy it works as expected (ie it works). Has this just not been updated in the docs? Is this the replacement for startup.jar?


Thanks,
Andrew