Discussion:
[tycho-user] RCP product multi-platform build relying on Tycho ?
cartu38 opendev
2017-10-27 07:04:02 UTC
Permalink
Hello,

I'm building a RCP product. I've a build environment relying on Tycho which
is running fine. At that time build is producing as result one deliverable
per platform.

Looking in details to such deliverable I'm able to see lot of common
material between each deliverable. OS dependent contribution is ~1Mo.

So I was thinking to build a single deliverable but a multi platform one.
Sounds to me old fashion PDE plus delta pack was allowing to support this
kind of packaging.

What about Oxygen platform & Tycho build ? Please advice how to migrate my
current successful build setup to a multi platform one.

Thanks for help !
Br,
Johan Compagner
2017-10-27 09:26:58 UTC
Permalink
Hi,

we use an installer and we just extract a generic part from all the
platforms (simple java program that extracts all the platform zips and
compares what they have in common and what not)
and then we only have a "generic.zip" and a few "platform-x" zips and that
is packed in the installer
and then when the installer is executed it extracts the generic part and
then looks at the platform and extracts also the platform specific part
over it again

johan
Post by cartu38 opendev
Hello,
I'm building a RCP product. I've a build environment relying on Tycho
which is running fine. At that time build is producing as result one
deliverable per platform.
Looking in details to such deliverable I'm able to see lot of common
material between each deliverable. OS dependent contribution is ~1Mo.
So I was thinking to build a single deliverable but a multi platform one.
Sounds to me old fashion PDE plus delta pack was allowing to support this
kind of packaging.
What about Oxygen platform & Tycho build ? Please advice how to migrate my
current successful build setup to a multi platform one.
Thanks for help !
Br,
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
Johan Compagner
Servoy
cartu38 opendev
2017-10-30 13:28:36 UTC
Permalink
Hello,

Thanks for sharing such pragmatic working trick.

But first guess sounds to me like a trick not THE solution. THE solution
sounds to me like any other build step driven thru some common pom.xml
plugin / configuration / ... usage

Any idea about ?

Eclipse PDE (even Oxygen one Thanks target components usage) is allowing
such. What's tycho way ?

Any help would be more than appreciated

Br.
Post by Johan Compagner
Hi,
we use an installer and we just extract a generic part from all the
platforms (simple java program that extracts all the platform zips and
compares what they have in common and what not)
and then we only have a "generic.zip" and a few "platform-x" zips and that
is packed in the installer
and then when the installer is executed it extracts the generic part and
then looks at the platform and extracts also the platform specific part
over it again
johan
Post by cartu38 opendev
Hello,
I'm building a RCP product. I've a build environment relying on Tycho
which is running fine. At that time build is producing as result one
deliverable per platform.
Looking in details to such deliverable I'm able to see lot of common
material between each deliverable. OS dependent contribution is ~1Mo.
So I was thinking to build a single deliverable but a multi platform one.
Sounds to me old fashion PDE plus delta pack was allowing to support this
kind of packaging.
What about Oxygen platform & Tycho build ? Please advice how to migrate
my current successful build setup to a multi platform one.
Thanks for help !
Br,
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
Johan Compagner
Servoy
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
Nick Boldt
2017-10-30 15:00:48 UTC
Permalink
We build an izpack installer for the Red Hat JBoss Developer Studio
(devstudio) product. It's a small GUI installer that performs a p2
installation to the user's disk, into a folder the specify (with default =
~/devstudio) and uses the default JDK or the one the user specifies to
update the .ini file.

https://github.com/jbdevstudio/jbdevstudio-product

The product definition (not lightweight RCP but a full productized
Eclipse-based IDE) is in the site/ folder; the features are all in the
features/ folder. It relies on an upstream build of most of the other
plugins/features/target platform, but you could avoid that by having all
your dependencies in the same reactor instead.

This is currently based on Oxygen.1a but will be updated to Oxygen.2, .3,
and then Photon as they are released.

Hope that helps,

Nick
Post by cartu38 opendev
Hello,
Thanks for sharing such pragmatic working trick.
But first guess sounds to me like a trick not THE solution. THE solution
sounds to me like any other build step driven thru some common pom.xml
plugin / configuration / ... usage
Any idea about ?
Eclipse PDE (even Oxygen one Thanks target components usage) is allowing
such. What's tycho way ?
Any help would be more than appreciated
Br.
Post by Johan Compagner
Hi,
we use an installer and we just extract a generic part from all the
platforms (simple java program that extracts all the platform zips and
compares what they have in common and what not)
and then we only have a "generic.zip" and a few "platform-x" zips and
that is packed in the installer
and then when the installer is executed it extracts the generic part and
then looks at the platform and extracts also the platform specific part
over it again
johan
Post by cartu38 opendev
Hello,
I'm building a RCP product. I've a build environment relying on Tycho
which is running fine. At that time build is producing as result one
deliverable per platform.
Looking in details to such deliverable I'm able to see lot of common
material between each deliverable. OS dependent contribution is ~1Mo.
So I was thinking to build a single deliverable but a multi platform one.
Sounds to me old fashion PDE plus delta pack was allowing to support
this kind of packaging.
What about Oxygen platform & Tycho build ? Please advice how to migrate
my current successful build setup to a multi platform one.
Thanks for help !
Br,
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
Johan Compagner
Servoy
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
Nick Boldt :: http://nick.divbyzero.com
FB, IG, Twitter, G+, LinkedIn, Freenode: @nickboldt
WhatsApp: +57 311 530 2074 or +1 647 899 9879
Loading...