<div dir="ltr">You can find in maven under:<div><br></div><div>org.jboss.aesh:aesh:0.46-SNAPSHOT</div><div><br></div><div>The github repo/org is here: <a href="https://github.com/aeshell/aesh">https://github.com/aeshell/aesh</a></div>
<div><br></div><div>~Lincoln</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jan 11, 2014 at 3:58 PM, Ståle W Pedersen <span dir="ltr">&lt;<a href="mailto:spederse@redhat.com" target="_blank">spederse@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi, ivan it is most likely an æsh bug (which forge uses for shell<br>
interaction). to quickly debug æsh you could just start a simple example<br>
program like: java -cp aesh-0.46-SNAPSHOT.jar AeshExample<br>
- you should have the aesh jar in your local mvn cache.<br>
<br>
AeshExample should log to TMP/aesh.log and there is a log line starting<br>
with &quot;GOT:&quot; for each input. that input should match whatever is<br>
specified in Key.java (in æsh).<br>
from what you&#39;ve described above it seems that ive introduced a bug in a<br>
later release with this or it might also be the parsing. whatever you<br>
find out will no matter help.<br>
<br>
regards, ståle<br>
<div><div class="h5"><br>
On 11.01.14 21:18, Ivan St. Ivanov wrote:<br>
&gt;Hi folks,<br>
&gt;<br>
&gt;I just created this JIRA: <a href="https://issues.jboss.org/browse/FORGE-1425" target="_blank">https://issues.jboss.org/browse/FORGE-1425</a><br>
&gt;<br>
&gt;As I wrote in the first email, I would like to help resolving it. I just<br>
&gt;need some guidance on where to look. George asked me to run the unit tests<br>
&gt;and I tried. However, the addon-manager tests failed and I couldn&#39;t find<br>
&gt;the reason. :(<br>
&gt;<br>
&gt;Cheers,<br>
&gt;Ivan<br>
&gt;<br>
&gt;<br>
&gt;On Sat, Jan 11, 2014 at 7:54 PM, Lincoln Baxter, III &lt;<br>
&gt;<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Yes, thank you for finding these issues! Looks like we know what we will<br>
&gt;&gt; be working on next few days :)<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Sat, Jan 11, 2014 at 12:40 PM, George Gastaldi &lt;<a href="mailto:ggastald@redhat.com">ggastald@redhat.com</a>&gt;wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Ivan,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Could you open a JIRA with these issues and mark it as Blocker? We can&#39;t<br>
&gt;&gt;&gt; release 2.0.0.Final unless this is fixed.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Em 08/01/2014, às 11:18, &quot;Ivan St. Ivanov&quot; &lt;<a href="mailto:ivan.st.ivanov@gmail.com">ivan.st.ivanov@gmail.com</a>&gt;<br>
&gt;&gt;&gt; escreveu:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Sorry, forgot to mention that this is with snapshot from December, 29th.<br>
&gt;&gt;&gt; The situation was the same with all the previous betas and alphas.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, Jan 8, 2014 at 3:13 PM, George Gastaldi &lt;<a href="mailto:ggastald@redhat.com">ggastald@redhat.com</a>&gt;wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Thanks for the feedback ivan.<br>
&gt;&gt;&gt;&gt; Are you testing against the latest snapshot?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Best Regards,<br>
&gt;&gt;&gt;&gt; George<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Em 08/01/2014, às 11:10, &quot;Ivan St. Ivanov&quot; &lt;<a href="mailto:ivan.st.ivanov@gmail.com">ivan.st.ivanov@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt; escreveu:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hi folks,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; As I promised, here is a [intended-to-be] short feedback about the new<br>
&gt;&gt;&gt;&gt; Forge 2 shell. As some of you know, I use Windows (Really? OK...). So I<br>
&gt;&gt;&gt;&gt; will be very happy to help you solve the issues besides merely reporting<br>
&gt;&gt;&gt;&gt; them:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; * The history doesn&#39;t work. That is, when you press up and down arrows<br>
&gt;&gt;&gt;&gt; instead of the previous commands, you get this: αH<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; * Backspace doesn&#39;t work. When I press it, the cursor just comes back to<br>
&gt;&gt;&gt;&gt; the previous position without deleting the character there. If I just write<br>
&gt;&gt;&gt;&gt; something there, the old symbol is overwritten by the new one, but at the<br>
&gt;&gt;&gt;&gt; end after pressing enter it looks like you never entered anything after<br>
&gt;&gt;&gt;&gt; pressing backspace. For example:<br>
</div></div>&gt;&gt;&gt;&gt;   1) I write *new-project --namek*<br>
<div class="im">&gt;&gt;&gt;&gt;   2) I notice the typo and press backspace<br>
&gt;&gt;&gt;&gt;   3) k doesn&#39;t get deleted, but I overwrite it with d<br>
</div>&gt;&gt;&gt;&gt;   4) Then I complete my command to look like this: *new-project --named<br>
&gt;&gt;&gt;&gt; test*<br>
&gt;&gt;&gt;&gt;   5) Forge&#39;s output is: *Project name must be specified.*<br>
<div class="im">&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; * As you know on windows the full path to a file or directory is<br>
&gt;&gt;&gt;&gt; &lt;drive-letter&gt;:\&lt;dir1&gt;\&lt;dir2&gt;<br>
</div>&gt;&gt;&gt;&gt;   1) If I try to do *cd c:\temp\forge*, Forge blows with exception:<br>
<div class="im">&gt;&gt;&gt;&gt; org.jboss.forge.addon.resource.ResourceException: [FileResourceImpl] can<br>
&gt;&gt;&gt;&gt; have no<br>
&gt;&gt;&gt;&gt;  children<br>
&gt;&gt;&gt;&gt;         at<br>
&gt;&gt;&gt;&gt; org.jboss.forge.addon.resource.AbstractFileResource.getChild(Abstract<br>
&gt;&gt;&gt;&gt; FileResource.java:78)<br>
&gt;&gt;&gt;&gt;         at<br>
&gt;&gt;&gt;&gt; org.jboss.forge.addon.shell.util.PathspecParser.resolve(PathspecParse<br>
&gt;&gt;&gt;&gt; r.java:232)<br>
&gt;&gt;&gt;&gt;         at<br>
&gt;&gt;&gt;&gt; org.jboss.forge.addon.shell.commands.CdCommand.execute(CdCommand.java<br>
&gt;&gt;&gt;&gt; :71)<br>
&gt;&gt;&gt;&gt;         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
&gt;&gt;&gt;&gt;         at<br>
&gt;&gt;&gt;&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.<br>
&gt;&gt;&gt;&gt; java:57)<br>
&gt;&gt;&gt;&gt;         at<br>
&gt;&gt;&gt;&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces<br>
&gt;&gt;&gt;&gt; sorImpl.java:43)<br>
&gt;&gt;&gt;&gt;         at java.lang.reflect.Method.invoke(Method.java:606)<br>
&gt;&gt;&gt;&gt;   2) Somehow I noticed that I may use the paths without the drive<br>
&gt;&gt;&gt;&gt; letter, e.g. just \&lt;dir1&gt;\&lt;dir2&gt;. It is legal to do it in Windows, but thus<br>
&gt;&gt;&gt;&gt; you can&#39;t change to a directory located on a different drive. For example<br>
&gt;&gt;&gt;&gt; cd \temp\forge will change to c:\temp\forge if you are currently in c:. So<br>
</div>&gt;&gt;&gt;&gt; I tried *cd \temp\forge*, but the result was the same [exception].<br>
&gt;&gt;&gt;&gt;   3) If I am in the root directory (c:\) and I run *cd temp\forge*, I<br>
&gt;&gt;&gt;&gt; don&#39;t get exception, but ****ERROR*** tempforge\: No such file or<br>
&gt;&gt;&gt;&gt; directory*. The interesting thing is that I ran that command by<br>
<div class="im">&gt;&gt;&gt;&gt; pressing tab, i.e. counting on the command completion of the shell, which<br>
&gt;&gt;&gt;&gt; obviously works fine.<br>
&gt;&gt;&gt;&gt;<br>
</div>&gt;&gt;&gt;&gt;   I made the cd command work by just running *cd /temp/forge* (notice<br>
<div class="HOEnZb"><div class="h5">&gt;&gt;&gt;&gt; the forward slashes)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; If you wish, I may add these observations as JIRA items, probably as<br>
&gt;&gt;&gt;&gt; children to this one: <a href="https://issues.jboss.org/browse/FORGE-1387" target="_blank">https://issues.jboss.org/browse/FORGE-1387</a>. Bear<br>
&gt;&gt;&gt;&gt; in mind that all the reported features work in Forge 1 even on Windows ;)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; We can discuss these in today&#39;s meeting.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Cheers,<br>
&gt;&gt;&gt;&gt; Ivan<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; forge-dev mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt;&gt;&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;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; forge-dev mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt;&gt;&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;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; forge-dev mailing list<br>
&gt;&gt;&gt; <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt;&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;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; forge-dev mailing list<br>
&gt;&gt;&gt; <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt;&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;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Lincoln Baxter, III<br>
&gt;&gt; <a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>
&gt;&gt; &quot;Simpler is better.&quot;<br>
&gt;&gt;<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;&gt;<br>
<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>
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></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Lincoln Baxter, III<br>
<a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>&quot;Simpler is better.&quot;
</div>