Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [p2-dev] Configure default update sites for RCP apps

I have seen in the 3.4.1 touchpoint sources that addRepository is not supported.

For 3.4.1, would be the best practice to implement something like addRepositoryAction in the RCP app itself or is there a better way to deploy default update repository locations with the RCP app?

 

How is the Eclipse SDK adding the Ganymede repositories? (sorry for being lazy, I did not examine all the eclipse and releng sources yet)

 

Thanx

 

Kai

 

From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Toedter, Kai
Sent: Donnerstag, 8. Januar 2009 10:57
To: P2 developer discussions
Subject: Re: [p2-dev] Configure default update sites for RCP apps

 

Hi Pascal,

thanx for the link. I followed the instructions: I created a p2.inf in the meta-inf directory of my bundle. The p2.inf file looks like:

instructions.configure = \

    addRepository(location:http://max-server.myftp.org/mp3m/repository,type:0,enabled:true);\

    addRepository(location:http://max-server.myftp.org/mp3m/repository,type:1,enabled:true);


I also tried instructions.install but in both cases I get an error during the director (3.4.1) run:

 

!ENTRY org.eclipse.equinox.p2.engine 4 4 2009-01-08 10:49:15.523

!MESSAGE An error occurred while installing the items

!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2009-01-08 10:49:15.523

!MESSAGE No action found for: addRepository.

!STACK 0

java.lang.IllegalArgumentException: No action found for: addRepository.

                at org.eclipse.equinox.internal.p2.engine.InstructionParser.lookupAction(InstructionParser.java:66)

 

Regarding to

http://wiki.eclipse.org/Equinox/p2/Engine/Touchpoint_Instructions

addRepository is supposed to be an action for an Eclipse touchpoint.

 

Is addRepository supported in 3.4.1?

If not, what would be a good practice to add repositories?

Thanx again

Kai

-----------------------
Pascal Rapicault wrote:

In 3.5 M4 you can use the addRepository action. Also note that now the p2.inf file can be found next to the product file.
See
http://wiki.eclipse.org/Equinox/p2/Engine/Touchpoint_Instructions for more details

PaScaL

Inactive hide details for "Toedter, Kai" ---12/16/2008 05:07:48 AM---Hi All, What is the best practice for configuring a defaul"Toedter, Kai" ---12/16/2008 05:07:48 AM---Hi All, What is the best practice for configuring a default update site (p2

cid:part2.02060903.08020902@siemens.com
From:

cid:part2.02060903.08020902@siemens.com
"Toedter, Kai" <kai.toedter@xxxxxxxxxxx>

cid:part2.02060903.08020902@siemens.com
To:

cid:part2.02060903.08020902@siemens.com
"P2 developer discussions" <p2-dev@xxxxxxxxxxx>

cid:part2.02060903.08020902@siemens.com
Date:

cid:part2.02060903.08020902@siemens.com
12/16/2008 05:07 AM

cid:part2.02060903.08020902@siemens.com
Subject:

cid:part2.02060903.08020902@siemens.com
[p2-dev] Configure default update sites for RCP apps





Hi All,

What is the best practice for configuring a default update site (p2
repository) for a p2-ed RCP app before deploying it? Is there any
tooling available?

Thanx

Kai
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev


 
 
 
 
 


 
 
 
 
 
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev
  

 


Back to the top