Re: Proposed New Structure (starter for 10)

Troy Daniels <[email protected]> Tue, 13 Oct 2015 23:25:39 -0400
Newsgroups gmane.emacs.jdee.devel
Message-ID <CALSS3zPJWp5NKjJscpVn-5qiytLns2Rqe3T5DKRKFzu3SNUNSw@mail.gmail.com>
--===============9218548476648339393==
Content-Type: multipart/alternative; boundary=001a11c3288209d8990522081ff6

--001a11c3288209d8990522081ff6
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

It seems there was a burst of design discussion and some prototyping a
month or two ago, which has died down to nothing recently.  I'm using this
at work, and having something that is able to figure out the project
structure from Maven would be really useful.  Useful enough that I would be
willing to put some time into helping develop the capability.  Do we have a
clear idea of what we want to do, what has already been done and what is
needed? If we do not have a clear roadmap on this, can someone give me a
statement of what the current state is, which will be faster than me
looking through the new code to understand what it does, and missing an
important part because I don't understand it?

Troy

On Fri, Sep 4, 2015 at 7:33 AM, Phillip Lord <[email protected]>
wrote:

> Przemys=C5=82aw Wojnowski <[email protected]> writes:
>
> > W dniu 27.08.2015 o 09:45, Phillip Lord pisze:
> >> BTW, I hooked up the classpath browser last night. The CIDER classpath
> >> browser isn't very good yet, but it works out-of-the-box.
> >>
> >> M-x jdee-live-jack-in (and wait!)
> >> M-x cider-classpath
> >>
> >> Which I guess is my proof-of-principle complete.
> >>
> >> Phil
> >
> > For me it's hard to tell whether nrepl is good or not, because I don't
> know it
> > well (I only use CIDER), but at least it works and has support, so seem=
s
> ok for
> > our purpose.
>
> You may have seen some of the recent chatter on github with Sam Halliday.
>
> https://github.com/jdee-emacs/jdee/issues/20
>
> Using an ensime client/server set up also seems an option. It's doing
> something similar, but sending JSON across the wire. In that case the
> "middleware" layer is in Scala, although, of course, all these JVM
> hosted languages can be made to work together.
>
> > JVM side will need to be improved, because now `cider-classpath' shows
> classpath
> > of Maven+CIDER+Project, but should be only Project.
>
> Yeah, I think that is true.
>
>
> >
> > Anyway, IMHO we can go in that direction.
> >
> > Regarding naming, as all "Clean code" books tell, it should be intent
> revealing
> > name, maybe something like jdee-jvm-connector, jdee-jvm-bridge, etc.
> > "live" (or even "jive" :-) ) doesn't tell much, hence hinders
> understanding.
>
> It's possible, I guess. I didn't want something as long as that, because
> it will hinder modularisation at the other end. I mean I want to avoid
> things like this.
>
> (provide 'jdee-jvm-connector-import)
>
> (defvar jdee-jvm-connector-import-is-this-long t
>   "Non-nil iff the variable name is long")
>
> CIDER has the same issue, I feel. So, open to suggestions. jdee-jvm is
> possible.
>
> > Sorry for late reply. :-|
>
> No worries. My plan would be to look at import functionality soon, as
> this will require new middleware which I haven't done so far. So, we
> would end up with new functions like.
>
> jdee-live-import
> jdee-live-import-all
>
> These would obviously duplicate what is already in jdee-import. That's
> kind of deliberate. It would give some idea of the code that is needed
> to achieve this.
>
> Phil
>
>
>
> -------------------------------------------------------------------------=
-----
> _______________________________________________
> jdee-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jdee-devel
>

--001a11c3288209d8990522081ff6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">It seems there was a burst of design discussion and some p=
rototyping a month or two ago, which has died down to nothing recently.=C2=
=A0 I&#39;m using this at work, and having something that is able to figure=
 out the project structure from Maven would be really useful.=C2=A0 Useful =
enough that I would be willing to put some time into helping develop the ca=
pability.=C2=A0 Do we have a clear idea of what we want to do, what has alr=
eady been done and what is needed? If we do not have a clear roadmap on thi=
s, can someone give me a statement of what the current state is, which will=
 be faster than me looking through the new code to understand what it does,=
 and missing an important part because I don&#39;t understand it?<div><br><=
/div><div>Troy</div></div><div class=3D"gmail_extra"><br><div class=3D"gmai=
l_quote">On Fri, Sep 4, 2015 at 7:33 AM, Phillip Lord <span dir=3D"ltr">&lt=
;<a href=3D"mailto:[email protected]" target=3D"_blank">phillip.lo=
[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><s=
pan class=3D"">Przemys=C5=82aw Wojnowski &lt;<a href=3D"mailto:esperanto@cu=
mego.com">[email protected]</a>&gt; writes:<br>
<br>
&gt; W dniu 27.08.2015 o 09:45, Phillip Lord pisze:<br>
&gt;&gt; BTW, I hooked up the classpath browser last night. The CIDER class=
path<br>
&gt;&gt; browser isn&#39;t very good yet, but it works out-of-the-box.<br>
&gt;&gt;<br>
&gt;&gt; M-x jdee-live-jack-in (and wait!)<br>
&gt;&gt; M-x cider-classpath<br>
&gt;&gt;<br>
&gt;&gt; Which I guess is my proof-of-principle complete.<br>
&gt;&gt;<br>
&gt;&gt; Phil<br>
&gt;<br>
&gt; For me it&#39;s hard to tell whether nrepl is good or not, because I d=
on&#39;t know it<br>
&gt; well (I only use CIDER), but at least it works and has support, so see=
ms ok for<br>
&gt; our purpose.<br>
<br>
</span>You may have seen some of the recent chatter on github with Sam Hall=
iday.<br>
<br>
<a href=3D"https://github.com/jdee-emacs/jdee/issues/20" rel=3D"noreferrer"=
 target=3D"_blank">https://github.com/jdee-emacs/jdee/issues/20</a><br>
<br>
Using an ensime client/server set up also seems an option. It&#39;s doing<b=
r>
something similar, but sending JSON across the wire. In that case the<br>
&quot;middleware&quot; layer is in Scala, although, of course, all these JV=
M<br>
hosted languages can be made to work together.<br>
<span class=3D""><br>
&gt; JVM side will need to be improved, because now `cider-classpath&#39; s=
hows classpath<br>
&gt; of Maven+CIDER+Project, but should be only Project.<br>
<br>
</span>Yeah, I think that is true.<br>
<span class=3D""><br>
<br>
&gt;<br>
&gt; Anyway, IMHO we can go in that direction.<br>
&gt;<br>
&gt; Regarding naming, as all &quot;Clean code&quot; books tell, it should =
be intent revealing<br>
&gt; name, maybe something like jdee-jvm-connector, jdee-jvm-bridge, etc.<b=
r>
&gt; &quot;live&quot; (or even &quot;jive&quot; :-) ) doesn&#39;t tell much=
, hence hinders understanding.<br>
<br>
</span>It&#39;s possible, I guess. I didn&#39;t want something as long as t=
hat, because<br>
it will hinder modularisation at the other end. I mean I want to avoid<br>
things like this.<br>
<br>
(provide &#39;jdee-jvm-connector-import)<br>
<br>
(defvar jdee-jvm-connector-import-is-this-long t<br>
=C2=A0 &quot;Non-nil iff the variable name is long&quot;)<br>
<br>
CIDER has the same issue, I feel. So, open to suggestions. jdee-jvm is poss=
ible.<br>
<span class=3D""><br>
&gt; Sorry for late reply. :-|<br>
<br>
</span>No worries. My plan would be to look at import functionality soon, a=
s<br>
this will require new middleware which I haven&#39;t done so far. So, we<br=
>
would end up with new functions like.<br>
<br>
jdee-live-import<br>
jdee-live-import-all<br>
<br>
These would obviously duplicate what is already in jdee-import. That&#39;s<=
br>
kind of deliberate. It would give some idea of the code that is needed<br>
to achieve this.<br>
<br>
Phil<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
---------------------------------------------------------------------------=
---<br>
_______________________________________________<br>
jdee-devel mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]=
forge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/jdee-devel" rel=3D"=
noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/=
jdee-devel</a><br>
</div></div></blockquote></div><br></div>

--001a11c3288209d8990522081ff6--


--===============9218548476648339393==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============9218548476648339393==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
jdee-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-devel

--===============9218548476648339393==--