-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nREPL support, possibly via sockets #7
Comments
Great I'll take a look when I get the chance. |
We have a fork at work that uses lein for building. I'm planning on polishing that up and pushing it to a public place. What I'm thinking at this point is that there would be a total of three artifacts: The client/main jar (complete with options parsing), the agent jar, the server jar, and a tarball. The script would be eliminated, but a sample one would be provided that would pass the right options to the client jar for development mode. I think people's needs vary quite a bit in terms of deployment; at work it's much easier to pull jar files from a Maven repository and have our own variant on the shell script anyhow. One change we made was the addition of a |
I'll push my v1.2 branch soonish, that sounds vaguely similar - it moves to having a lein plugin, and separate dependencies on the client, server, and agent. In the meantime it is here: https://bitbucket.org/djpowell/liverepl/src/37778f65282e00436c1ff38ef199fd23c432b47d?at=1.2-alpha |
Btw, for tracking classloader leaks, jvisualvm has a button called Heap Dump on the Monitor tab. |
I don't think I have access to the bitbucket link. I just pushed our changes to a public repo: https://github.com/brightcove/liverepl -- this incorporates the changes I was making on timmc/liverepl as well as some internal changes. The group and artifact change to Here's the big change I pushed today: brightcove@c32d56e -- obviously, feel free to grab anything useful. ETA: Oh, and my big plan: Add GNU getopt to the client so that it can take multiple paths to extra jars, incorporate nREPL client, etc. |
Ah whoops, I had missed the bitbucket invite link. I'll take a look today. |
Would you be able to go ahead and push the v1.2 branch to a public place? I may be able to work on my fork of liverepl some this week, and it would be nice to refer to those commits publicly. |
Hi, Thanks for looking at this - sounds great - I'll try to push them across to github as-is, so you can reference them from there... |
Does this help: |
lein sub install - to deploy the artifacts locally; |
Thanks! I ended up not getting a chance to work on liverepl this week, but this will be good for the next time. |
On top of #6 I'm also considering adding nREPL support so that I can get a couple of benefits:
If I make a persistent session there's some trickiness; opening a port is dangerous since it allows users other than root and the one who launched the JVM to send commands to it, so I'll probably be using domain sockets or fifos or similar instead.
Would this be a feature you'd consider accepting a PR for?
The text was updated successfully, but these errors were encountered: