[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] p2 and multi-platform installs of Eclipse

The short answer is the way you are doing it will cause you trouble and it is not the recommended way.
The recommended way of doing this is to have:
   one bundle pool/
   one install folder per OS/
which should only contains the exe and the configuration files
   one profile registry/
containing one profile per OS, each describing one instance.



> Hi all,
> Our Eclipse based products have historically always been multi-
> platform capable installs, that is: a single installation on disk
> could be run on either Windows, Linux or Solaris host. In the past,
> we did this by simply extracting the 3 ZIPs into the same location,
> and renaming the Launcher ("eclipse.exe", "eclipse.linux", "eclipse.solaris").

This was working because no particular configuration was needed on external pieces or they were made on startup of the product.

> When adopting p2, we found that we had to tweak a few more bits for
> making that happen - based on the eclipse-platform-* downloads:

> Create a "Multi-Platform" profile by editing the Platform profile
> for Linux and getting rid of the x86,linux,gtk spec

This will likely results in disasters the next time you install something since some of the filters will fail passing and thus causing the installation to not resolve.

> Create a "Multi-Platform" bundles.info by merging contents of
> Windows+Linux+Solaris bundles.info

> I'm wondering if there is any kind of documentation, known issues or
> other information about that multi-platform installation case.

> Anything you'd like to point us to?
> For instance, if we "check for updates" while running on Windows,
> would the Linux and Solaris bits also get updated?

> Would we risk getting an invalid installation?
> Or is this scenario just a no-no ?
> Any pointers appreciated,
> Thanks,
> --
> Martin Oberhuber, Senior Member of Technical Staff, Wind River
> Target Management Project Lead, DSDP PMC Member
> http://www.eclipse.org/dsdp/tm
>  _______________________________________________
> p2-dev mailing list
> p2-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/p2-dev