Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] How to build a product that uses simpleconfigurator with Tycho?

and these EPP builds have the SimpleConfigurator used in the config.ini?
The only option I found is to add the Simpleconfigurator plugin to the .product configuration tab and set the start level. This works also with tycho.

 


On Wed, Aug 6, 2014 at 12:46 PM, Matthieu Wipliez <matthieu.wipliez@xxxxxxxxxxx> wrote:
Thank you for your help Christophe. You're right, I phrased my question badly, I wanted to say "I don't seem to be able to build a product *that runs successfully* without specifying <configurations> [...]" ^^

According to your link this is entirely normal because e4 RCP requires bundles and start levels to be specified in the product. Good, this corresponds to what I was seeing :-)
But this is not how EPP products are set up, see for example this product has no <configurations>: https://git.eclipse.org/c/epp/org.eclipse.epp.packages.git/tree/packages/org.eclipse.epp.package.dsl.product/epp.product

Yet they manage to build products (with Tycho) that run like a charm, how do they do that? Is there a pre-processing step involved?


Matthieu

Le 06/08/2014 12:06, Christophe Bouhier a écrit :



On Wed, Jul 23, 2014 at 4:31 PM, Matthieu Wipliez <matthieu.wipliez@xxxxxxxxxxx> wrote:
Hi there,

I does not seem to be able to build my product without specifying the <configurations> in my product file with start levels of common plugins including the simpleconfigurator.
You mean run your product? I don't see how start levels relate to tycho producing the output. What I Do know, is that Eclipse e4 RCP needs some plugins to be started in a product:
http://wiki.eclipse.org/Eclipse4/RCP/FAQ#Problems_on_Configuration.2C_Start-Up.2C_and_Shutdown

I'm using Tycho 0.20.0, my parent POM has a proper <environments>, my product includes a single feature that imports required features. For some strange reason, I need to <include> org.eclipse.platform too, otherwise the product won't start.
So is this post about starting or building? (Or both :-)

From what I understand, Tycho should generate a config.ini that is properly configured and uses the simpleconfigurator, but this is not what I'm seeing. Is there a reason why not?

I don't see options for the config.ini setup. In my tycho builds, SimpleConfigurator is not materialized.

 
Cheers,
Matthieu
--
Matthieu Wipliez
@matt2xu
Write code. Design hardware. Learn how at https://www.synflow.com

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
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
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user

--
Matthieu Wipliez
@matt2xu
Write code. Design hardware. Learn how at https://www.synflow.com

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top