Re: Using the correct cider connection
Paul Landes <[email protected]> Mon, 7 Dec 2015 09:07:05 -0600
| Newsgroups | gmane.emacs.jdee.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm not sure you can do this. The way I use cider (default) is start in a directory that has a project.clj file in the same directory or parent directory and then since it uses that to set up the classpath. Not sure of the details, but I think it would be the same situation where based on a different dependency set in the poms you'd have to restart. On Dec 6, 2015, at 7:36 PM, Troy Daniels <[email protected]> wrote: > 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 > > ------------------------------------------------------------------------------ > 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_______________________________________________ > jdee-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jdee-devel ------------------------------------------------------------------------------ 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