[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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@xxxxxxxxxxx
From:

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

cid:part2.02060903.08020902@xxxxxxxxxxx
To:

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

cid:part2.02060903.08020902@xxxxxxxxxxx
Date:

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

cid:part2.02060903.08020902@xxxxxxxxxxx
Subject:

cid:part2.02060903.08020902@xxxxxxxxxxx
[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
  

 

PNG image

PNG image

GIF image