Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Multi Platform Launchers?
Multi Platform Launchers? [message #117303] Thu, 11 September 2008 09:03 Go to next message
Hauke Fuhrmann is currently offline Hauke Fuhrmann
Messages: 319
Registered: July 2009
Senior Member
Hi there,

I would like to install eclipse in one directory but with binary
launchers for multiple platforms (i.e. Windows and Linux).

Hence I expect to have an "eclipse.exe" for Windows and an "eclipse"
binary for Linux.

Rationale is that Eclipse is installed on a network-drive which is
accessible for both Windows and Linux clients and hence it would be
easier to maintain only one installation than two.

I tried for Eclipse 3.3 once to simply copy a Linux and a Windows
Eclipse Distribution on top of each other. This worked fine. But with
version 3.4 starting Eclipse on either of the OS I get a lot of error
messages that the platform filter foes not match.

Any possibility to do that?

Cheers,
Hauke
Re: Multi Platform Launchers? [message #117328 is a reply to message #117303] Thu, 11 September 2008 13:39 Go to previous message
Andrew Niefer is currently offline Andrew Niefer
Messages: 990
Registered: July 2009
Senior Member
The key point here is that in 3.4 the bundles that are installed into
the framework are managed by p2 and listed out in the configuration.
(configuration/org.eclipse.equinox.simpleconfigurator/bundle s.info)

Running on different platforms is going to require a different set of
platform specific fragments, so you will need separate configuration
areas per platform.

In 3.4 you will likely need to manage the 2 platforms as 2 separate
installs, but you can have them share bundles with a bundle pool. So it
could look something like

install/win32/configuration
win32/eclipse.exe
linux/configration
linux/eclipse
plugins
features

The p2 agent
( http://download.eclipse.org/eclipse/equinox/drops/R-3.4-2008 06172000/index.php)
which will allow you to set up installs like this.


It may be possible to achieve your old setup by handcrafting a
configuration and using the dropins folder, but this would be hard to
maintain and upgrade.

-Andrew
Hauke Fuhrmann wrote:
> Hi there,
>
> I would like to install eclipse in one directory but with binary
> launchers for multiple platforms (i.e. Windows and Linux).
>
> Hence I expect to have an "eclipse.exe" for Windows and an "eclipse"
> binary for Linux.
>
> Rationale is that Eclipse is installed on a network-drive which is
> accessible for both Windows and Linux clients and hence it would be
> easier to maintain only one installation than two.
>
> I tried for Eclipse 3.3 once to simply copy a Linux and a Windows
> Eclipse Distribution on top of each other. This worked fine. But with
> version 3.4 starting Eclipse on either of the OS I get a lot of error
> messages that the platform filter foes not match.
>
> Any possibility to do that?
>
> Cheers,
> Hauke
Previous Topic:Implementing touchpoints and touchpoint instructions
Next Topic:Equinox/Jetty Works Out-of-the-Box? Not
Goto Forum:
  


Current Time: Wed May 22 06:10:27 EDT 2013

Powered by FUDForum. Page generated in 0.01478 seconds