Skip to main content

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


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


Back to the top