Yes, please upload it :) You don&#39;t need to worry, we aren&#39;t mean, and you write really nice code.<br>Also... it won&#39;t be in the repository until we add it there, but more people will see it and be able to review.<br>
<br>I&#39;m not exactly sure what the problem is, so I&#39;d like to try it myself!<br><br>Thanks!<br>~Lincoln<br><br><div class="gmail_quote">On Thu, Jun 28, 2012 at 2:18 PM, Jevgeni Zelenkov <span dir="ltr">&lt;<a href="mailto:jevgeni.zelenkov@gmail.com" target="_blank">jevgeni.zelenkov@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ryan and Lincoln,<br>
<br>
Thanks for your feedback. I tried a number of different package<br>
combinations, including &#39;org.jboss.undo.forge.UndoFacet&#39; but I still<br>
get the same error.<br>
<br>
Lincoln, the plugin is pretty much untested so I don&#39;t feel<br>
comfortable uploading potentially broken plugin (even as an<br>
intermediate commit). If you really think it&#39;s OK, I&#39;ll do it. Also, I<br>
will have to upload my changes to forge-git-tools.<br>
<br>
Cheers,<br>
Jevgeni<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Thu, Jun 28, 2012 at 6:22 PM, Ryan Bradley &lt;<a href="mailto:rbradley@redhat.com">rbradley@redhat.com</a>&gt; wrote:<br>
&gt; Jevgeni,<br>
&gt;<br>
&gt; I&#39;m not sure if this is the same problem that you have, but a while ago<br>
&gt; I had some problems regarding facets being loaded.<br>
&gt;<br>
&gt; I assume that your UndoFacet (interface and implementation) are in the<br>
&gt; same project that you are executing &#39;forge source plugin&#39; on, if they<br>
&gt; aren&#39;t, then they should be (or you will need to run &#39;mvn clean install&#39;<br>
&gt; to add those JARs to your local Maven repo).<br>
&gt;<br>
&gt; As well, I had problems using the group ID &#39;org.jboss.forge&#39;.  Any<br>
&gt; dependencies in my plugin with this group ID were assumed to be part of<br>
&gt; the core, and Forge would mark these as scope provided and cause some<br>
&gt; problems.<br>
&gt;<br>
&gt; Once again, I don&#39;t think these problems should occur if UndoFacet and<br>
&gt; its implementation are in the same project as UndoPlugin, but just an<br>
&gt; idea of something to look for.<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Ryan<br>
&gt;<br>
&gt; On 06/28/2012 12:01 PM, Jevgeni Zelenkov wrote:<br>
&gt;&gt; Hi guys,<br>
&gt;&gt;<br>
&gt;&gt; I am trying to test the undo plugin on a working forge instance but I<br>
&gt;&gt; am getting a strange error.<br>
&gt;&gt;<br>
&gt;&gt; As described here:<br>
&gt;&gt; <a href="https://docs.jboss.org/author/display/FORGE/Make+your+Plugin+available+to+Forge" target="_blank">https://docs.jboss.org/author/display/FORGE/Make+your+Plugin+available+to+Forge</a><br>
&gt;&gt; I have added the undo-plugin using &#39;forge source-plugin&#39; command. It<br>
&gt;&gt; was added successfully, I can even see undo-plugin commands when I<br>
&gt;&gt; call &#39;list-commands&#39;.<br>
&gt;&gt;<br>
&gt;&gt; But when I execute &#39;undo setup&#39; command (should simply install the<br>
&gt;&gt; plugin), I get the following exception:<br>
&gt;&gt;<br>
&gt;&gt; The requested Facet of type [org.jboss.forge.undo.UndoFacet] could not<br>
&gt;&gt; be loaded.<br>
&gt;&gt;<br>
&gt;&gt; UndoFacet class is located in the same package as the UndoPlugin class<br>
&gt;&gt; (org.jboss.forge.undo). I also tried moving both classes into<br>
&gt;&gt; &quot;org.jboss.forge&quot; but that didn&#39;t help either.<br>
&gt;&gt;<br>
&gt;&gt; Does anybody have any ideas what could it be?<br>
&gt;&gt;<br>
&gt;&gt; Best Regards,<br>
&gt;&gt; Jevgeni<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; forge-dev mailing list<br>
&gt;&gt; <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
&gt; _______________________________________________<br>
&gt; forge-dev mailing list<br>
&gt; <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br>
<br>
</div></div><div class="im HOEnZb">On Thu, Jun 28, 2012 at 6:08 PM, Lincoln Baxter, III<br>
&lt;<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>&gt; wrote:<br>
&gt; Hey Jevgeni,<br>
&gt;<br>
&gt; I&#39;m not sure how you have your plugin project set up (I can&#39;t find your<br>
&gt; repository, could you move it to here?<br>
&gt; <a href="https://github.com/forge/plugin-undo" target="_blank">https://github.com/forge/plugin-undo</a>), but you can&#39;t use &quot;org.jboss.forge&quot;<br>
&gt; as a package name.<br>
&gt;<br>
&gt; You should use something like, &quot;org.jboss.undo.forge&quot; (I think that should<br>
&gt; work.) We can work out a better package name later, but for right now, it<br>
&gt; doesn&#39;t really matter.<br>
&gt;<br>
&gt; That might resolve your problem :) Let me know!<br>
&gt; ~Lincoln<br>
&gt;<br>
</div><div class="im HOEnZb">&gt; On Thu, Jun 28, 2012 at 12:01 PM, Jevgeni Zelenkov<br>
&gt; &lt;<a href="mailto:jevgeni.zelenkov@gmail.com">jevgeni.zelenkov@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi guys,<br>
&gt;&gt;<br>
&gt;&gt; I am trying to test the undo plugin on a working forge instance but I<br>
&gt;&gt; am getting a strange error.<br>
&gt;&gt;<br>
&gt;&gt; As described here:<br>
&gt;&gt;<br>
&gt;&gt; <a href="https://docs.jboss.org/author/display/FORGE/Make+your+Plugin+available+to+Forge" target="_blank">https://docs.jboss.org/author/display/FORGE/Make+your+Plugin+available+to+Forge</a><br>
&gt;&gt; I have added the undo-plugin using &#39;forge source-plugin&#39; command. It<br>
&gt;&gt; was added successfully, I can even see undo-plugin commands when I<br>
&gt;&gt; call &#39;list-commands&#39;.<br>
&gt;&gt;<br>
&gt;&gt; But when I execute &#39;undo setup&#39; command (should simply install the<br>
&gt;&gt; plugin), I get the following exception:<br>
&gt;&gt;<br>
&gt;&gt; The requested Facet of type [org.jboss.forge.undo.UndoFacet] could not<br>
&gt;&gt; be loaded.<br>
&gt;&gt;<br>
&gt;&gt; UndoFacet class is located in the same package as the UndoPlugin class<br>
&gt;&gt; (org.jboss.forge.undo). I also tried moving both classes into<br>
&gt;&gt; &quot;org.jboss.forge&quot; but that didn&#39;t help either.<br>
&gt;&gt;<br>
&gt;&gt; Does anybody have any ideas what could it be?<br>
&gt;&gt;<br>
&gt;&gt; Best Regards,<br>
&gt;&gt; Jevgeni<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; forge-dev mailing list<br>
&gt;&gt; <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div><div class="im HOEnZb">&gt; --<br>
&gt; Lincoln Baxter, III<br>
&gt; <a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>
&gt; &quot;Simpler is better.&quot;<br>
&gt;<br>
</div><div class="HOEnZb"><div class="h5">&gt; _______________________________________________<br>
&gt; forge-dev mailing list<br>
&gt; <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
&gt;<br>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>&quot;Simpler is better.&quot;<br>