I changed my Tycho+Maven build (RCP application) to use Tycho 0.13 and eclipse-repository plus tycho-p2-director-plugin (instead of my old “eclipse-application” in Tycho 0.10).
I managed to get the build working (producing the ZIP files), but they are 2 times bigger than they used to be.
I see Tycho puts a lot of additional stuff my product does not need:
1) “p2” folder at the root level – 35 Mb.
2) a lot of useless plugins, like
plugins/org.eclipse.jdt.debug_3.6.1.v20100715_r361
plugins/org.eclipse.pde.build_3.6.2.R36x_20110203
plugins/org.junit_4.8.1.v4_8_1_v20100427-1100
......etc.........
how to configure “eclipse-repository” and “tycho-p2-director-plugin” to avoid this? At least to not put “p2” folder in the product. My software does not use “p2 update” mechanism for auto-updates.
I ended up removing “archive-products” completely – it’s not flexible and requires a lot of horrible hacking with unpacking/repacking/renaming. I’m packing the ZIP files myself now: