<div dir="ltr">Yeah, just looks like some of the default output from our default plugin quickstarter.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 28, 2013 at 4:08 PM, <span dir="ltr"><<a href="mailto:ggastald@redhat.com" target="_blank">ggastald@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
That last line seems the output of the "example-plugin oldcommand"
execution.<div><div class="h5"><br>
<br>
On 03/28/2013 03:13 PM, Max Rydahl Andersen wrote:
<blockquote type="cite">
<pre>On Mon, Mar 25, 2013 at 07:55:56AM -0400, Vineet Reynolds Pereira wrote:
</pre>
<blockquote type="cite">
<pre>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>What does that last line mean ? Seems like a confusing thing ?
btw. nice to have deprecation ability.
/max
</pre>
<blockquote type="cite">
<pre>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>From: "Vineet Reynolds Pereira" <a href="mailto:vpereira@redhat.com" target="_blank"><vpereira@redhat.com></a>
To: "forge-dev List" <a href="mailto:forge-dev@lists.jboss.org" target="_blank"><forge-dev@lists.jboss.org></a>
Sent: Monday, March 25, 2013 5:06:53 PM
Subject: Re: [forge-dev] Plugin Backwards Compatibility
Yes, George worked on this feature:
<a href="https://issues.jboss.org/browse/FORGE-826" target="_blank">https://issues.jboss.org/browse/FORGE-826</a> . I just tested it, and it
works:
----- Original Message -----
</pre>
<blockquote type="cite">
<pre>From: "Pete Muir" <a href="mailto:pmuir@redhat.com" target="_blank"><pmuir@redhat.com></a>
To: "forge-dev List" <a href="mailto:forge-dev@lists.jboss.org" target="_blank"><forge-dev@lists.jboss.org></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 href="mailto:vpereira@redhat.com" target="_blank"><vpereira@redhat.com></a> wrote:
</pre>
<blockquote type="cite">
<pre>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>From: "Max Rydahl Andersen" <a href="mailto:max.andersen@redhat.com" target="_blank"><max.andersen@redhat.com></a>
To: "forge-dev List" <a href="mailto:forge-dev@lists.jboss.org" target="_blank"><forge-dev@lists.jboss.org></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>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>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>--
James R. Perkins
JBoss by Red Hat
_______________________________________________
forge-dev mailing list
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a>
</pre>
</blockquote>
<pre>_______________________________________________
forge-dev mailing list
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a>
</pre>
</blockquote>
<pre>_______________________________________________
forge-dev mailing list
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a>
</pre>
</blockquote>
<pre>
_______________________________________________
forge-dev mailing list
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a>
</pre>
</blockquote>
<pre>_______________________________________________
forge-dev mailing list
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a>
</pre>
</blockquote>
<pre>_______________________________________________
forge-dev mailing list
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a>
</pre>
</blockquote>
<pre>_______________________________________________
forge-dev mailing list
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a>
</pre>
</blockquote>
<br>
</div></div><span class="HOEnZb"><font color="#888888"><div>-- <br>
<b>George Gastaldi</b> | <i>Senior Software Engineer</i> <br>
JBoss Forge Team<br>
Red Hat<br>
</div>
</font></span></div>
<br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>
"Simpler is better."
</div>