Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Problem about installMode="root"

@Jeff
Thanks for your tips. I will try it. 
Could you give me some advices to my 2. Question? Is it possible?


From: jeffmaury@xxxxxxxxxxxxx
Date: Thu, 20 Nov 2014 14:14:20 +0000
To: tycho-user@xxxxxxxxxxx
Subject: Re: [tycho-user] Problem about installMode="root"

You need to use the tycho-eclipserun-plugin in order to run the org.eclipse.equinox.p2.director application.
Here is my arguments:

<appArgLine>-consoleLog -application org.eclipse.equinox.p2.director -nosplash -repository "${project.baseUri}/target/repository" -destination "${project.build.directory}/products/my.product/win32/win32/x86" -installIUs ${features}</appArgLine>

The ${features} is a comma separate list of features to install. You must repeat this step for each platform you product is generated for.

Regards
Jeff

Le Thu Nov 20 2014 at 15:08:47, lijiang <river607@xxxxxxxxxxx> a écrit :
Cool idea. Emoji Could you tell me how to add this step? 



From: jeffmaury@xxxxxxxxxxxxx
Date: Thu, 20 Nov 2014 13:50:02 +0000
To: tycho-user@xxxxxxxxxxx
Subject: Re: [tycho-user] Problem about installMode="root"


In order to be independant from the Eclipse version (as my product should be compatible with versions from 3.5), I added a new step after the product repository has been produced: this step will install the features as root features in the just produced repository


Jeff

Le Thu Nov 20 2014 at 14:42:04, lijiang <river607@xxxxxxxxxxx> a écrit :
hello eveyone,

we have built our Product with Tycho 0.20.0 , but met a problem by updating the sub features. There are many issues about it in internet.  We have also resolved this problem by manually inserting ' installMode="root" ' into the product definition. But I have still two questions:

Question 1:
Which eclipse version supports the 'installMode' directly in product definition editor? We won't edit the file manually everytimes.
Google says from Luna M7. But we use the newest Luna SR1 (Build id: 20140925-1800) and it seems not to be supported. Do you know any solutions?

Question 2:
We have released some old version products. They were built without ' installMode="root" '. How can they support the updating of sub features? Can we configure the 'installMode' anywhere within the product? Or any other solutions?


best regards

Jiang
_______________________________________________
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
_______________________________________________
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

Back to the top