Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho seems to ignore our p2.inf file

BTW, I'm using the same instructions in my Tycho build product but I'm adding enabled=true:

instructions.configure=org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/eclipsec.exe); \
  org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//,type:0,name:Luna,enabled:true); \
  org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//,type:1,name:Luna,enabled:true); \
  org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//,type:0,name:The Eclipse Project Updates,enabled:true); \
  org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//,type:1,name:The Eclipse Project Updates,enabled:true); \
  org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//,type:0,name:Xtext,enabled:true); \
  org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//,type:1,name:Xtext,enabled:true); \

On Thu, Oct 29, 2015 at 6:10 PM, Jeff MAURY <jeffmaury@xxxxxxxxxxxxx> wrote:
Seems the problem I had was fixed in 0.19.0:


On Thu, Oct 29, 2015 at 4:45 PM, Julien DEHAUDT <julien.dehaudt@xxxxxx> wrote:
Sorry I forgot this main point..
This is the version 0.21.0


From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Jeff MAURY
Sent: jeudi 29 octobre 2015 16:32
To: Tycho user list
Subject: Re: [tycho-user] Tycho seems to ignore our p2.inf file

Which version of tycho ?
Le 29 oct. 2015 15:54, "Julien DEHAUDT" <julien.dehaudt@xxxxxx> a écrit :

We are facing an issue with our Tycho based build system since we try to enable the automatic update feature of our RCP product.
All works like a charm if exporting the product from the IDE; updates are successfully recognized and notified. Thing that not happen using Tycho.
I guess that the main issue comes from our p2.inf file (located close to the .product)  which seems not to be taken into account.
>From the IDE export the "Available Software Sites" page is populated with the p2.inf content, whereas it is empty using Tycho.

Note that I tried to prefix the p2.inf using the product name, as described into the Wiki page, but with no success too...

Is there any tips that are unknown from Google :) ?

Our p2.inf content:
  addRepository(name:<APP-NAME> update-site,type:0,location:file${#58}/some-local-uri);\
  addRepository(name:<APP-NAME> update-site,type:1,location:file${#58}/some-local-uri);\
  addRepository(name:<APP-NAME> update-site,type:0,location:http${#58}//some-intranet-url);\
  addRepository(name:<APP-NAME> update-site,type:1,location:http${#58}//some-intranet-url);

tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

Back to the top