You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Adrian Trenaman (JIRA)" <ji...@apache.org> on 2010/08/20 17:15:19 UTC

[jira] Created: (KARAF-149) Add a features:removeRepository command

Add a features:removeRepository command
---------------------------------------

                 Key: KARAF-149
                 URL: https://issues.apache.org/jira/browse/KARAF-149
             Project: Karaf
          Issue Type: New Feature
            Reporter: Adrian Trenaman


We should add a features:removeRepository command that allows you to remove a repository by name, rather than by URL. typing those URLs by hand, or having to cut and paste them, is a real pain. 

The features:removeRepository command should support tab completion of repository name.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (KARAF-149) Add a features:removeRepository command

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901662#action_12901662 ] 

Jamie goodyear commented on KARAF-149:
--------------------------------------

I'm seeing the below class not found exception since the introduction of this patch (rev 988118). All the features command are no longer listed.


Caused by: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to load class org.apache.karaf.features.command.completers.FeatureRepositoryNameCompleter from recipe BeanRecipe[name='featureRepositoryNameCompleter']
        at org.apache.aries.blueprint.di.AbstractRecipe.loadType(AbstractRecipe.java:112)
        at org.apache.aries.blueprint.container.BeanRecipe.loadClass(BeanRecipe.java:184)
        at org.apache.aries.blueprint.container.BeanRecipe.getType(BeanRecipe.java:781)
        at org.apache.aries.blueprint.container.BeanRecipe.getInstance(BeanRecipe.java:256)
        at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:726)
        at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)
        at org.apache.aries.blueprint.di.RefRecipe.internalCreate(RefRecipe.java:60)
        at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)
        at org.apache.aries.blueprint.di.CollectionRecipe.internalCreate(CollectionRecipe.java:80)
        ... 53 more
Caused by: java.lang.ClassNotFoundException: org.apache.karaf.features.command.completers.FeatureRepositoryNameCompleter


> Add a features:removeRepository command
> ---------------------------------------
>
>                 Key: KARAF-149
>                 URL: https://issues.apache.org/jira/browse/KARAF-149
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Adrian Trenaman
>            Assignee: Charles Moulliard
>             Fix For: 2.2.0
>
>         Attachments: KARAF-149.patch
>
>
> We should add a features:removeRepository command that allows you to remove a repository by name, rather than by URL. typing those URLs by hand, or having to cut and paste them, is a real pain. 
> The features:removeRepository command should support tab completion of repository name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (KARAF-149) Add a features:removeRepository command

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Moulliard reassigned KARAF-149:
---------------------------------------

    Assignee: Charles Moulliard

> Add a features:removeRepository command
> ---------------------------------------
>
>                 Key: KARAF-149
>                 URL: https://issues.apache.org/jira/browse/KARAF-149
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Adrian Trenaman
>            Assignee: Charles Moulliard
>         Attachments: KARAF-149.patch
>
>
> We should add a features:removeRepository command that allows you to remove a repository by name, rather than by URL. typing those URLs by hand, or having to cut and paste them, is a real pain. 
> The features:removeRepository command should support tab completion of repository name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (KARAF-149) Add a features:removeRepository command

Posted by "Adrian Trenaman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901771#action_12901771 ] 

Adrian Trenaman commented on KARAF-149:
---------------------------------------

Hmmm. I have a feeling that perhaps this file was not added in the patch... looking into it now. 

> Add a features:removeRepository command
> ---------------------------------------
>
>                 Key: KARAF-149
>                 URL: https://issues.apache.org/jira/browse/KARAF-149
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Adrian Trenaman
>            Assignee: Charles Moulliard
>             Fix For: 2.2.0
>
>         Attachments: KARAF-149.patch
>
>
> We should add a features:removeRepository command that allows you to remove a repository by name, rather than by URL. typing those URLs by hand, or having to cut and paste them, is a real pain. 
> The features:removeRepository command should support tab completion of repository name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (KARAF-149) Add a features:removeRepository command

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved KARAF-149.
-----------------------------------

    Resolution: Fixed

Add missing class.

Committing to https://svn.apache.org/repos/asf/karaf/trunk ...
	A	features/command/src/main/java/org/apache/karaf/features/command/completers/FeatureRepositoryNameCompleter.java
Committed r988446


> Add a features:removeRepository command
> ---------------------------------------
>
>                 Key: KARAF-149
>                 URL: https://issues.apache.org/jira/browse/KARAF-149
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Adrian Trenaman
>            Assignee: Charles Moulliard
>             Fix For: 2.2.0
>
>         Attachments: KARAF-149-1.patch, KARAF-149.patch
>
>
> We should add a features:removeRepository command that allows you to remove a repository by name, rather than by URL. typing those URLs by hand, or having to cut and paste them, is a real pain. 
> The features:removeRepository command should support tab completion of repository name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (KARAF-149) Add a features:removeRepository command

Posted by "Adrian Trenaman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Trenaman updated KARAF-149:
----------------------------------

    Attachment: KARAF-149-2.patch

Now I'm *really* embarassed. File ./features/command/src/main/java/org/apache/karaf/features/command/RemoveRepositoryCommand.java is now the patch KARAF-149-2.patch. 



> Add a features:removeRepository command
> ---------------------------------------
>
>                 Key: KARAF-149
>                 URL: https://issues.apache.org/jira/browse/KARAF-149
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Adrian Trenaman
>            Assignee: Guillaume Nodet
>             Fix For: 2.2.0
>
>         Attachments: KARAF-149-1.patch, KARAF-149-2.patch, KARAF-149.patch
>
>
> We should add a features:removeRepository command that allows you to remove a repository by name, rather than by URL. typing those URLs by hand, or having to cut and paste them, is a real pain. 
> The features:removeRepository command should support tab completion of repository name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (KARAF-149) Add a features:removeRepository command

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved KARAF-149.
-----------------------------------

    Resolution: Fixed

Committing to https://svn.apache.org/repos/asf/karaf/trunk ...
	A	features/command/src/main/java/org/apache/karaf/features/command/RemoveRepositoryCommand.java
Committed r992444


> Add a features:removeRepository command
> ---------------------------------------
>
>                 Key: KARAF-149
>                 URL: https://issues.apache.org/jira/browse/KARAF-149
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Adrian Trenaman
>            Assignee: Guillaume Nodet
>             Fix For: 2.2.0
>
>         Attachments: KARAF-149-1.patch, KARAF-149-2.patch, KARAF-149.patch
>
>
> We should add a features:removeRepository command that allows you to remove a repository by name, rather than by URL. typing those URLs by hand, or having to cut and paste them, is a real pain. 
> The features:removeRepository command should support tab completion of repository name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (KARAF-149) Add a features:removeRepository command

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear reopened KARAF-149:
----------------------------------


Class Not Found Exception introduced, preventing loading of features commands.

> Add a features:removeRepository command
> ---------------------------------------
>
>                 Key: KARAF-149
>                 URL: https://issues.apache.org/jira/browse/KARAF-149
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Adrian Trenaman
>            Assignee: Charles Moulliard
>             Fix For: 2.2.0
>
>         Attachments: KARAF-149.patch
>
>
> We should add a features:removeRepository command that allows you to remove a repository by name, rather than by URL. typing those URLs by hand, or having to cut and paste them, is a real pain. 
> The features:removeRepository command should support tab completion of repository name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (KARAF-149) Add a features:removeRepository command

Posted by "Adrian Trenaman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Trenaman updated KARAF-149:
----------------------------------

    Attachment: KARAF-149-1.patch

Huge apologies - original patch didn't include the FeatureRepositoryNameCompleter as I had neglected to do an 'svn add'. My bad. New patch attached to this issue as file KARAF-149-1.patch.

> Add a features:removeRepository command
> ---------------------------------------
>
>                 Key: KARAF-149
>                 URL: https://issues.apache.org/jira/browse/KARAF-149
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Adrian Trenaman
>            Assignee: Charles Moulliard
>             Fix For: 2.2.0
>
>         Attachments: KARAF-149-1.patch, KARAF-149.patch
>
>
> We should add a features:removeRepository command that allows you to remove a repository by name, rather than by URL. typing those URLs by hand, or having to cut and paste them, is a real pain. 
> The features:removeRepository command should support tab completion of repository name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (KARAF-149) Add a features:removeRepository command

Posted by "Adrian Trenaman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Trenaman updated KARAF-149:
----------------------------------

    Attachment: KARAF-149.patch

Fix attached

> Add a features:removeRepository command
> ---------------------------------------
>
>                 Key: KARAF-149
>                 URL: https://issues.apache.org/jira/browse/KARAF-149
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Adrian Trenaman
>         Attachments: KARAF-149.patch
>
>
> We should add a features:removeRepository command that allows you to remove a repository by name, rather than by URL. typing those URLs by hand, or having to cut and paste them, is a real pain. 
> The features:removeRepository command should support tab completion of repository name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (KARAF-149) Add a features:removeRepository command

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Moulliard resolved KARAF-149.
-------------------------------------

    Fix Version/s: 2.2.0
       Resolution: Fixed

code committed

> Add a features:removeRepository command
> ---------------------------------------
>
>                 Key: KARAF-149
>                 URL: https://issues.apache.org/jira/browse/KARAF-149
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Adrian Trenaman
>            Assignee: Charles Moulliard
>             Fix For: 2.2.0
>
>         Attachments: KARAF-149.patch
>
>
> We should add a features:removeRepository command that allows you to remove a repository by name, rather than by URL. typing those URLs by hand, or having to cut and paste them, is a real pain. 
> The features:removeRepository command should support tab completion of repository name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (KARAF-149) Add a features:removeRepository command

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet reopened KARAF-149:
-----------------------------------

      Assignee: Guillaume Nodet  (was: Charles Moulliard)

Btw, it seems there 's still a problem as the RemoveRepositoryCommand has not been included in the patch afaik.

> Add a features:removeRepository command
> ---------------------------------------
>
>                 Key: KARAF-149
>                 URL: https://issues.apache.org/jira/browse/KARAF-149
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Adrian Trenaman
>            Assignee: Guillaume Nodet
>             Fix For: 2.2.0
>
>         Attachments: KARAF-149-1.patch, KARAF-149.patch
>
>
> We should add a features:removeRepository command that allows you to remove a repository by name, rather than by URL. typing those URLs by hand, or having to cut and paste them, is a real pain. 
> The features:removeRepository command should support tab completion of repository name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.