Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Portable p2 director package?
Portable p2 director package? [message #1624675] Thu, 19 February 2015 23:43 Go to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
Is it possible to create a portable p2 director package (or does one exist already), without eclipse.exe binary, etc.

I have an installer script that needs p2 director to drive the installation. Right now, the script is downloading Eclipse platform zip for the current platform just to run the p2 director. Ideally, I'd like to have a smaller p2 director zip that is cross-platform.
Re: Portable p2 director package? [message #1625379 is a reply to message #1624675] Fri, 20 February 2015 10:37 Go to previous messageGo to next message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 441
Registered: July 2009
Senior Member
Le 20/02/2015 00:43, Konstantin Komissarchik a écrit :
> Is it possible to create a portable p2 director package (or does one
> exist already), without eclipse.exe binary, etc.
> I have an installer script that needs p2 director to drive the
> installation. Right now, the script is downloading Eclipse platform zip
> for the current platform just to run the p2 director. Ideally, I'd like
> to have a smaller p2 director zip that is cross-platform.

https://github.com/mbarbero/p2-admin provides a small (10Mb), standalone
product with "14 tools to manage your p2 repositories", including the p2
director app.

It comes with platform-specific binary launchers, but those can be
simply ignored and bypassed by calling Equinox's launcher directly. From
the installation folder of the product:

% java -jar plugins/org.eclipse.equinox.launcher_*.jar -application
org.eclipse.equinox.p2.director
The argument specifying what to install or uninstall is missing.
-help | -h | -?
Prints this command line help information.
-list | -l [ <comma separated list> ]
[...]

--
Pierre-Charles David - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius


Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Portable p2 director package? [message #1630491 is a reply to message #1624675] Mon, 23 February 2015 08:09 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1751
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 20/02/2015 00:43, Konstantin Komissarchik wrote:
> Is it possible to create a portable p2 director package (or does one
> exist already), without eclipse.exe binary, etc.
> I have an installer script that needs p2 director to drive the
> installation. Right now, the script is downloading Eclipse platform zip
> for the current platform just to run the p2 director. Ideally, I'd like
> to have a smaller p2 director zip that is cross-platform.

http://www.eclipse.org/downloads/download.php?file=/tools/buckminster/products/director_latest.zip

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
Previous Topic:bundle pooling and p2 director
Next Topic:Publishing a folder in P2 installation ?
Goto Forum:
  


Current Time: Wed Sep 26 04:25:44 GMT 2018

Powered by FUDForum. Page generated in 0.02195 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top