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.
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
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