[forge-issues] [JBoss JIRA] (FORGE-2285) Allow commands to be deprecated
George Gastaldi (JIRA)
issues at jboss.org
Fri Sep 25 15:06:00 EDT 2015
[ https://issues.jboss.org/browse/FORGE-2285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Gastaldi reopened FORGE-2285:
------------------------------------
> Allow commands to be deprecated
> -------------------------------
>
> Key: FORGE-2285
> URL: https://issues.jboss.org/browse/FORGE-2285
> Project: Forge
> Issue Type: Feature Request
> Components: Brainstorming, UI - API
> Affects Versions: 2.15.1.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Labels: new_and_noteworthy
> Fix For: 2.x Future
>
>
> Right now there are situations where we want to rename a command but we don't want to break scripts, same goes for the option names.
> There should be a way to preserve the behavior, but in a deprecated way. Eg: suppose we rename {{java-new-method}} to {{java-add-method}}:
> Scripts that still use {{java-new-method}} should display a warning saying that the command is deprecated and now you should use {{java-add-method}}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the forge-issues
mailing list