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

I had the problem with a specific version of tycho because my product id ends with .product but I think this has been fixed.

Regards
Jeff

On Thu, Oct 29, 2015 at 4:55 PM, Julien DEHAUDT <julien.dehaudt@xxxxxx> wrote:
Yes I saw this Wiki page, but it does not work even if I prefix the p2.inf like this:
com.st.appname.rcp.product
com.st.appname.rcp.p2.inf

Julien

-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Sievers, Jan
Sent: jeudi 29 octobre 2015 16:47
To: Tycho user list
Subject: Re: [tycho-user] Tycho seems to ignore our p2.inf file

as per [1] the problem is probably the filename of the p2.inf file (needs to be prefixed with product id as there can be several products)

see working example

http://git.eclipse.org/c/tycho/org.eclipse.tycho-demo.git/tree/itp04-rcp/eclipse-repository


Jan

[1] https://wiki.eclipse.org/Tycho/eclipse-repository





On 29/10/15 15:53, "tycho-user-bounces@xxxxxxxxxxx on behalf of Julien DEHAUDT" <tycho-user-bounces@xxxxxxxxxxx on behalf of julien.dehaudt@xxxxxx> wrote:

>Hi,
>
>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 https://wiki.eclipse.org/Tycho/eclipse-repository, but with no success too...
>
>Is there any tips that are unknown from Google :) ?
>
>Our p2.inf content:
>instructions.configure=\
>  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);
>
>Thanks,
>Julien
>_______________________________________________
>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



--
Jeff MAURY


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

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Back to the top