Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] [Tycho for Eclipse]How can I execute tasks conditionnaly ?

On 03/03/2016 09:57 AM, Christelle BURGUERA wrote:

Hi,

 

I use tycho to create my plugins, my eclipse product and after I install (by script called by a pom) my plugins  and other using “installIU”

As I have to install plugins … (using eclipse.exe – installIU), I have to execute eclipse. So I can’t generate the maven build for all the platforms …

I’ve add a parameter in : -DOS=win32 ou linux ou macosx :

It seems like what you want are root-level features besides of your product installable-unit. Instead of complex build set up, you can leverage the installMode="root" flag in your product definition as explained in http://codeandme.blogspot.fr/2014/06/tycho-11-install-root-level-features.html .
If it's another story that really requires installation after the build, you can also consider using the multiplatform tycho-eclipserun-plugin or use "java -jar plugins/org.eclipse.equinox.laucher_*.jar -application org.eclipse.equinox.p2.director" to perform installation instead of referencing the binary.

HTH
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

Back to the top