Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Uninstall command


As I mentioned, this application is new and there isn't any formal documentation yet. You can find out how it works by typing this on the command line (using 3.5 RC1 or greater):

eclipsec.exe -application org.eclipse.equinox.p2.director -help


John



Afkham Azeez <afkham@xxxxxxxxx>
Sent by: p2-dev-bounces@xxxxxxxxxxx

05/25/2009 03:27 PM

Please respond to
P2 developer discussions <p2-dev@xxxxxxxxxxx>

To
P2 developer discussions <p2-dev@xxxxxxxxxxx>
cc
Subject
Re: [p2-dev] Uninstall command





I checked the Director App documentation
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_director.html
but I cannot see a way to provide the option for uninstalling. Could
someone please shed some light as to how bundles can be unistalled &
updated using the director app?

Thanks
Azeez

On Mon, May 25, 2009 at 10:51 PM, John Arthorne
<John_Arthorne@xxxxxxxxxx> wrote:
>
> The console commands are really only intended as a simple debugging tool.
> You should instead use the director application or ant task, which supports
> uninstall. This application is new and there isn't any formal documentation
> yet, but you can find out how it works by typing this on the command line
> (using 3.5 RC1 or greater):
>
> eclipsec.exe -application org.eclipse.equinox.p2.director -help
>
> John
>
>
>
>
> Sameera Jayasoma <sameera.madushan@xxxxxxxxx>
> Sent by: p2-dev-bounces@xxxxxxxxxxx
>
> 05/25/2009 08:04 AM
>
> Please respond to
> P2 developer discussions <p2-dev@xxxxxxxxxxx>
> To
> P2 developer discussions <p2-dev@xxxxxxxxxxx>
> cc
> Subject
> [p2-dev] Uninstall command
>
>
>
>
> Hi,
>
> We are planning to use p2 as the provisioning platform in WSO2 Carbon. At
> poc level integration of p2 into WSO2 Carbon, I found out the following
> commands which can be used in the OSGi Console. Here "provinstall" command
> is used to install an InstallableUnit to a given profile. But how to
> uninstall it? Is there another command to uninstall?
>
>     provlr [<repository URL> <iu id | *> <version range | *>]   - Lists all
> metadata repositories, or the contents of a given metadata repository
>     provlar [<repository URL>] - Lists all artifact repositories, or the
> contents of a given artifact repository
>     provliu [<repository URL | *> <iu id | *> <version range | *>] - Lists
> the IUs that match the pattern in the given repo.  * matches all
>     provlp [<profile id | *> - Lists all profiles, or the contents of the
> profile at the given profile
>     provlg [<repository URL> <iu id | *> <version range | *>] - Lists all
> IUs with group capabilities in the given repo or in all repos if the URL is
> omitted
>     provinstall <InstallableUnit> <version> <profileId> - Provisions an IU
> to the profile with the give id
>     provaddrepo <repository URL> - Adds a metadata repository
>     provaddartifactrepo <repository URL> - Adds an artifact repository
>     provaddprofile <profileId> <location> <flavor> - Adds a profile with the
> given id, location and flavor
>
>
> --
> Sameera Jayasoma
> Software Engineer
> WSO2 Inc.
> Oxygenating the Web Service Platform.
> http://wso2.org/
>
> blog:
> http://tech.jayasoma.org_______________________________________________
> 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
>
>



--
Thanks
Afkham Azeez

Blog: http://afkham.org
Developer Portal: http://www.wso2.org
WSAS Blog: http://wso2wsas.blogspot.com
Company: http://wso2.com
GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev


Back to the top