In the clojure branch, there is a test java project which had the right
structure.  I'm not sure if I saw the behavior there.

However, I did see that for the method I was calling, I can pass in the
correct cider buffer, and I had that available.  So at least for the
moment, I have solved the problem as it applies to me.

Troy
On Dec 11, 2015 8:16 AM, "Phillip Lord" <phillip.l...@russet.org.uk> wrote:

>
>
>
>
> Troy Daniels <udalrich.scher...@gmail.com> writes:
>
> > 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?
>
>
> It's been a while since I did this, but nrepl.el used to use a
> buffer-local to store the current project directory. And this was used
> to return the correct connection.
>
> I think all of the names have changed now (to cider), and cider has a
> somewhat more advanced system for cycling through different connections.
>
> I'm a bit work spammed at the moment, and don't really have the
> bandwidth to look, in detail. Do you have a test case set up?
>
------------------------------------------------------------------------------
_______________________________________________
jdee-devel mailing list
jdee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jdee-devel

Reply via email to