[forge-issues] [JBoss JIRA] (FORGE-2285) Allow commands to be deprecated

George Gastaldi (JIRA) issues at jboss.org
Mon Mar 16 16:20:18 EDT 2015


George Gastaldi created FORGE-2285:
--------------------------------------

             Summary: 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
             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.3.11#6341)


More information about the forge-issues mailing list