Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] Antwort: Re: Standalone plugin update via p2

Thanks for the director hint. When I try to list/install/uninstall IUs, for example like this

eclipsec.exe -nosplash -application org.eclipse.equinox.p2.director -listInstalledRoots

I get every time

!SESSION 2013-08-21 08:33:07.929 -----------------------------------------------
eclipse.buildId=4.3.0.I20130605-2000
java.version=1.7.0
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.jee.product org.eclipse.platform -application org.eclipse.equinox.p2.director -listInstalledRoots
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product org.eclipse.platform -application org.eclipse.equinox.p2.director -listInstalledRoots

!ENTRY org.eclipse.equinox.p2.core 4 0 2013-08-21 08:33:08.678
!MESSAGE Unknown option org.eclipse.platform. Use -help for a list of known options.

Am I missing something?

Regards

Frank


p2-dev-bounces@xxxxxxxxxxx schrieb am 21.08.2013 08:05:26:

> Von:

>
> Mikhail Kalkov <mikhail.kalkov@xxxxxxxxxxxxxx>

>
> An:

>
> P2 developer discussions <p2-dev@xxxxxxxxxxx>

>
> Datum:

>
> 21.08.2013 08:06

>
> Betreff:

>
> Re: [p2-dev] Standalone plugin update via p2

>
> Gesendet von:

>
> p2-dev-bounces@xxxxxxxxxxx

>
> Hi,
>
> I think the following two commands should be sufficient. To start
> with, obtain the list of all features explicitly installed into
> Eclipse (aka roots):
> > /path/to/eclipse -nosplash -application
> org.eclipse.equinox.p2.director -listInstalledRoots
> Then, perform an update operation for the desired roots against
> desired p2 repos:
> > /path/to/eclipse -nosplash -application
> org.eclipse.equinox.p2.director -repository http://
> download.eclipse.org/releases/kepler -uninstallIU root1,root2,etc -
> installIU root1,root2,root3

> Kind regards,
> Mikhail Kalkov

>

> Från: "frank jakop" <frank.jakop@xxxxxxxxx>
> Till: p2-dev@xxxxxxxxxxx
> Skickat: onsdag, 21 aug 2013 7:10:27
> Ämne: [p2-dev] Standalone plugin update via p2
>
> Good morning,
>
> up to Indigo there was a nice possibility to update my eclipse
> installation's plugins headless via org.eclipse.update.standalone application.
>
> This has been replaced with the p2 API since Juno, relating to
>
https://bugs.eclipse.org/bugs/show_bug.cgi?id=311590
>
> Is there any documentation how to achieve a headless update for an
> eclipse installation with the p2 API?
>
> Best Regards
>
> Frank
> _______________________________________________
> 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