[JBoss JIRA] (FORGE-2088) addon-remove doesn't work (or counter-intuitive)
by Ondrej Zizka (JIRA)
[ https://issues.jboss.org/browse/FORGE-2088?page=com.atlassian.jira.plugin... ]
Ondrej Zizka commented on FORGE-2088:
-------------------------------------
I would change the name of this issue, but this project disallows that.
> addon-remove doesn't work (or counter-intuitive)
> ------------------------------------------------
>
> Key: FORGE-2088
> URL: https://issues.jboss.org/browse/FORGE-2088
> Project: Forge
> Issue Type: Bug
> Affects Versions: 2.12.1.Final
> Reporter: Ondrej Zizka
> Assignee: Lincoln Baxter III
>
> Not sure if bug or feature, either way - I'd expect that feeding addon-remove an item from addon-list would remove it. Not the case:
> $ addon-list
> Currently installed addons:
> ...
> org.jboss.windup.qs:WindupQuickstart,2.0.0.Beta2
> ...
> [javaee-WLServlet]$ addon-remove org.jboss.windup.qs:WindupQuickstart,2.0.0.Beta2
> ***ERROR*** Installed addons must be specified
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 5 months
[JBoss JIRA] (FORGE-2088) addon-remove doesn't work (or counter-intuitive)
by Ondrej Zizka (JIRA)
[ https://issues.jboss.org/browse/FORGE-2088?page=com.atlassian.jira.plugin... ]
Ondrej Zizka commented on FORGE-2088:
-------------------------------------
Figured out: It needs the --addons part. However, in man addon-remove, it shows [--addons], which, by convention, means optional. Which it should be, in this case.
> addon-remove doesn't work (or counter-intuitive)
> ------------------------------------------------
>
> Key: FORGE-2088
> URL: https://issues.jboss.org/browse/FORGE-2088
> Project: Forge
> Issue Type: Bug
> Affects Versions: 2.12.1.Final
> Reporter: Ondrej Zizka
> Assignee: Lincoln Baxter III
>
> Not sure if bug or feature, either way - I'd expect that feeding addon-remove an item from addon-list would remove it. Not the case:
> $ addon-list
> Currently installed addons:
> ...
> org.jboss.windup.qs:WindupQuickstart,2.0.0.Beta2
> ...
> [javaee-WLServlet]$ addon-remove org.jboss.windup.qs:WindupQuickstart,2.0.0.Beta2
> ***ERROR*** Installed addons must be specified
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 5 months
[JBoss JIRA] (FORGE-2088) addon-remove doesn't work (or counter-intuitive)
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-2088?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III closed FORGE-2088.
-------------------------------------
Assignee: Lincoln Baxter III
Resolution: Rejected
the correct command is:
{code}NAME
addon-remove -- Forge/Manage
SYNOPSIS
addon-remove [-] [--addons] AddonId
DESCRIPTION
Command to remove a Furnace 2 addon.
--addons
Installed addons - The installed addons in mutable addon repositories that may be removed [AddonId] (required) Valid choices: []
RESOURCES
forge: <http://forge.jboss.org/>
COPYING
Copyright 2014 Red Hat, Inc. and/or its affiliates.
Licensed under the Eclipse Public License version 1.0, available at http://www.eclipse.org/legal/epl-v10.html {code}
> addon-remove doesn't work (or counter-intuitive)
> ------------------------------------------------
>
> Key: FORGE-2088
> URL: https://issues.jboss.org/browse/FORGE-2088
> Project: Forge
> Issue Type: Bug
> Affects Versions: 2.12.1.Final
> Reporter: Ondrej Zizka
> Assignee: Lincoln Baxter III
>
> Not sure if bug or feature, either way - I'd expect that feeding addon-remove an item from addon-list would remove it. Not the case:
> $ addon-list
> Currently installed addons:
> ...
> org.jboss.windup.qs:WindupQuickstart,2.0.0.Beta2
> ...
> [javaee-WLServlet]$ addon-remove org.jboss.windup.qs:WindupQuickstart,2.0.0.Beta2
> ***ERROR*** Installed addons must be specified
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 5 months
[JBoss JIRA] (FORGE-2088) addon-remove doesn't work (or counter-intuitive)
by Ondrej Zizka (JIRA)
Ondrej Zizka created FORGE-2088:
-----------------------------------
Summary: addon-remove doesn't work (or counter-intuitive)
Key: FORGE-2088
URL: https://issues.jboss.org/browse/FORGE-2088
Project: Forge
Issue Type: Bug
Affects Versions: 2.12.1.Final
Reporter: Ondrej Zizka
Not sure if bug or feature, either way - I'd expect that feeding addon-remove an item from addon-list would remove it. Not the case:
$ addon-list
Currently installed addons:
...
org.jboss.windup.qs:WindupQuickstart,2.0.0.Beta2
...
[javaee-WLServlet]$ addon-remove org.jboss.windup.qs:WindupQuickstart,2.0.0.Beta2
***ERROR*** Installed addons must be specified
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 5 months