Is there a way to build a single zip (tar) file with multiple products (configurations) in it? #3076
Replies: 2 comments
-
I don't think it's a Tycho-specific issue, but more a p2 one. |
Beta Was this translation helpful? Give feedback.
-
Isn't that something a custom perspective can be used for? But there is one thing I don't understand you wrote
So does the standalone needs additional bundles? Beside that, I think Oomph might be able to build a derived product from a running eclipse (@merks ?) so you could add a button to CDT that performs this inside Eclipse and just ask the user where to place the standalone debugger (assuming you don't want to consider to distribute two products in the first place). |
Beta Was this translation helpful? Give feedback.
-
Question: Is there a way to build a single zip of an Eclipse install that can be launched in two different ways, i.e. have two different configurations (driven by two different product files)?
Background
The Eclipse CDT project has a feature called the Standalone Debugger that allows users to launch their Eclipse install in a very UI limited way. This is achieved by having a product file that we can build that contains the limited set of bundles (features) that we want. It is basically a RCP product (e.g. no perspectives, as few UI elements as possible that are not debug flow related).
Eclipse CDT is also delivered through the EPP CPP package, which is the "full fat" version for developing and debugging.
For a long time we have delivered a config.ini that lists just the bundles we want when users want to launch the Standalone Debugger (we start eclipse with
-config
pointing at theconfig.ini
in a shell script).Managing this has become increasingly difficult and is prone to errors as the contents of the config.ini are not expressed in any of the p2 metadata and therefore when EPP CPP is built, there is no way to guarantee that all the bundles that existed when CDT was built will be installed. This has become substantially more error prone with the modernization of third-party code (mostly due to churn).
Some solution is needed to resolve eclipse-cdt/cdt#591 to keep having the standalone debugger.
Beta Was this translation helpful? Give feedback.
All reactions