<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    That last line seems the output of the "example-plugin oldcommand"
    execution.<br>
    <br>
    On 03/28/2013 03:13 PM, Max Rydahl Andersen wrote:
    <blockquote cite="mid:20130328181332.GE22127@slowbeard.local"
      type="cite">
      <pre wrap="">On Mon, Mar 25, 2013 at 07:55:56AM -0400, Vineet Reynolds Pereira wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">My bad. Zimbra swallowed a portion of the previous response when I hit 'send'. Forge would display something like this in 1.2.3:

[example-project] example-project $ example-plugin oldcommand
***WARNING*** The command (oldcommand) is deprecated and may be removed in future versions
Executed named command without args.
</pre>
      </blockquote>
      <pre wrap="">
What does that last line mean ? Seems like a confusing thing ?

btw. nice to have deprecation ability.

/max

</pre>
      <blockquote type="cite">
        <pre wrap="">There is also a related item in JIRA: FORGE-828, but from what I've noticed, this is not wired up to display deprecated options/commands as striked out text.


----- Original Message -----
</pre>
        <blockquote type="cite">
          <pre wrap="">From: "Vineet Reynolds Pereira" <a class="moz-txt-link-rfc2396E" href="mailto:vpereira@redhat.com">&lt;vpereira@redhat.com&gt;</a>
To: "forge-dev List" <a class="moz-txt-link-rfc2396E" href="mailto:forge-dev@lists.jboss.org">&lt;forge-dev@lists.jboss.org&gt;</a>
Sent: Monday, March 25, 2013 5:06:53 PM
Subject: Re: [forge-dev] Plugin Backwards Compatibility

Yes, George worked on this feature:
<a class="moz-txt-link-freetext" href="https://issues.jboss.org/browse/FORGE-826">https://issues.jboss.org/browse/FORGE-826</a> . I just tested it, and it
works:




----- Original Message -----
</pre>
          <blockquote type="cite">
            <pre wrap="">From: "Pete Muir" <a class="moz-txt-link-rfc2396E" href="mailto:pmuir@redhat.com">&lt;pmuir@redhat.com&gt;</a>
To: "forge-dev List" <a class="moz-txt-link-rfc2396E" href="mailto:forge-dev@lists.jboss.org">&lt;forge-dev@lists.jboss.org&gt;</a>
Sent: Monday, March 25, 2013 3:21:54 PM
Subject: Re: [forge-dev] Plugin Backwards Compatibility

Is there a way to automatically indicate that a command or option
is
deprecated e.g. you annotate the method or parameter with
@Deprecated and Forge automatically prints out a warning message?

On 25 Mar 2013, at 09:03, Vineet Reynolds Pereira
<a class="moz-txt-link-rfc2396E" href="mailto:vpereira@redhat.com">&lt;vpereira@redhat.com&gt;</a> wrote:

</pre>
            <blockquote type="cite">
              <pre wrap="">We ran into the same problem with the scaffold plugin. I wanted
some @Option-annotated method parameters and @Command-annotated
methods to be removed or deprecated, but didn't so, due to the
reasons Max and Lincoln have outlined. I would suggest retaining
the existing options and commands for backward compatibility, and
introduce new ones if you can make them work with the existing
ones.

----- Original Message -----
</pre>
              <blockquote type="cite">
                <pre wrap="">From: "Max Rydahl Andersen" <a class="moz-txt-link-rfc2396E" href="mailto:max.andersen@redhat.com">&lt;max.andersen@redhat.com&gt;</a>
To: "forge-dev List" <a class="moz-txt-link-rfc2396E" href="mailto:forge-dev@lists.jboss.org">&lt;forge-dev@lists.jboss.org&gt;</a>
Sent: Monday, March 25, 2013 10:33:56 AM
Subject: Re: [forge-dev] Plugin Backwards Compatibility

On Fri, Mar 22, 2013 at 06:09:56PM -0700, James R. Perkins
wrote:
</pre>
                <blockquote type="cite">
                  <pre wrap="">What are the rules for plugin backward compatibility? I've done
quite a
bit of work cleaning up the JBoss AS 7 plugin, but I changed
some
prompts and some behavior. I haven't completely finished
testing
yet,
but since Forge allows scripts I was wondering if backwards
compatibility is important.
</pre>
                </blockquote>
                <pre wrap="">
Yes, it is important since tutorials and eclipse plugins calling
these commands
will have to be updated.

Especially if your plugin is used in ticketmonster :)

/max

</pre>
                <blockquote type="cite">
                  <pre wrap="">--
James R. Perkins
JBoss by Red Hat

_______________________________________________
forge-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/forge-dev">https://lists.jboss.org/mailman/listinfo/forge-dev</a>
</pre>
                </blockquote>
                <pre wrap="">_______________________________________________
forge-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/forge-dev">https://lists.jboss.org/mailman/listinfo/forge-dev</a>

</pre>
              </blockquote>
              <pre wrap="">_______________________________________________
forge-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/forge-dev">https://lists.jboss.org/mailman/listinfo/forge-dev</a>
</pre>
            </blockquote>
            <pre wrap="">

_______________________________________________
forge-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/forge-dev">https://lists.jboss.org/mailman/listinfo/forge-dev</a>

</pre>
          </blockquote>
          <pre wrap="">_______________________________________________
forge-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/forge-dev">https://lists.jboss.org/mailman/listinfo/forge-dev</a>

</pre>
        </blockquote>
        <pre wrap="">_______________________________________________
forge-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/forge-dev">https://lists.jboss.org/mailman/listinfo/forge-dev</a>
</pre>
      </blockquote>
      <pre wrap="">_______________________________________________
forge-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/forge-dev">https://lists.jboss.org/mailman/listinfo/forge-dev</a>
</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <b>George Gastaldi</b> | <i>Senior Software Engineer</i> <br>
      JBoss Forge Team<br>
      Red Hat<br>
    </div>
  </body>
</html>