Using the correct cider connection

Troy Daniels <[email protected]> Sun, 6 Dec 2015 20:36:51 -0500
Newsgroups gmane.emacs.jdee.devel
Message-ID <CALSS3zN7WMavnLee=gKLDApn=XuSm4h5iFQJ5Yw01pvAFn6RsQ@mail.gmail.com>
--===============7698758969616004680==
Content-Type: multipart/alternative; boundary=001a113d59b051b654052644e537

--001a113d59b051b654052644e537
Content-Type: text/plain; charset=UTF-8

I have made some progress on using cider to get values for JDEE.  At the
moment, I am running into a problem when I have a directory structures like
this

root/
-pom.xml
-prj1/
--src/main/java/...
--pom.xml
-prj2/
--pom.xml
--src/main/java/...

If I have an nrepl running for all three pom.xml, then cider-connections
lists the last one that I started first.  So if I start the nrepl for prj1,
then root, then prj2 and call cider from prj1, I get a timeout because it
uses the nrepl for prj2, even though I am in prj1.

Probably, I just need to call some cider function to say "use the nrepl
associated with this directory", but I am not sure what that function is.
Does anybody know that?

Thanks,
Troy

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

<div dir=3D"ltr">I have made some progress on using cider to get values for=
 JDEE.=C2=A0 At the moment, I am running into a problem when I have a direc=
tory structures like this<div><br></div><div>root/</div><div>-pom.xml</div>=
<div><div>-prj1/</div><div>--src/main/java/...</div><div>--pom.xml</div><di=
v>-prj2/</div><div>--pom.xml</div></div><div><div>--src/main/java/...</div>=
</div><div><br></div><div>If I have an nrepl running for all three pom.xml,=
 then cider-connections lists the last one that I started first.=C2=A0 So i=
f I start the nrepl for prj1, then root, then prj2 and call cider from prj1=
, I get a timeout because it uses the nrepl for prj2, even though I am in p=
rj1.</div><div><br></div><div>Probably, I just need to call some cider func=
tion to say &quot;use the nrepl associated with this directory&quot;, but I=
 am not sure what that function is.=C2=A0 Does anybody know that?</div><div=
><br></div><div>Thanks,</div><div>Troy</div><div><br></div></div>

--001a113d59b051b654052644e537--


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

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
--===============7698758969616004680==
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

--===============7698758969616004680==--