Fork me on GitHub
#leiningen
<
2016-05-03
>
dharrigan09:05:25

I'm not having much success with lein and mirroring (to a local artifactory instance). I can't see (on artifactory) it being hit when resolving on clojars. Here's my ~/.lein/profiles.clj. I wonder if anyone can spot if I'm doing anything wrong? https://pastebin.com/1Fz0eWmh.

dharrigan09:05:48

Apologies for pastebin double spacing stuff, no idea why (looks okay in my editor)

bostonaholic14:05:10

@dharrigan: move :mirrors into the map above, don’t create two of them. {:user {:plugins […] :mirrors {…}}}

dharrigan14:05:06

cool, will try that.

vipaca16:05:05

I'm having an issues with leiningen eager (down)loading dependencies not defined in current project directory. Does anyone know what this might be happening?

vipaca16:05:54

I think it might be a setting in ~/.lein as when I move the dir this stops happening.

mikepjb16:05:42

I've tried asking this on beginners, hopefully someone can help

mikepjb16:05:57

it's about starting a headless repl in the background

mikepjb16:05:05

and then connecting to it in the same shell

mikepjb16:05:50

@kimsnj: helped before, he gets a different result when using ubuntu

vipaca16:05:05

Can you telnet 127.0.0.1 50000?

mikepjb16:05:38

connection refused

mikepjb16:05:45

my hosts file is wrong somehow?

vipaca16:05:03

what about telnet localhost 50000?

mikepjb16:05:18

that doesn't work either

mikepjb16:05:00

I am using OSX, will try the same thing in an arch linux vbox too

vipaca16:05:20

so it doesn't seem to be listening on loopback at all.

mikepjb16:05:46

I get the same response on an arch linux virtualbox

vipaca16:05:47

your command seems to be failing hence the stop

mikepjb16:05:15

I get a feeling that it's something to do with my hosts file?

mikepjb16:05:23

but really I am pretty lost at this point

vipaca16:05:14

mikepjb: nohup lein repl :headless :port 9999 & fails for me too, where nohup lein repl :headless :port 9999 succeeds.

mikepjb16:05:31

it works for me too

mikepjb16:05:44

but only when it's in the foreground

vipaca16:05:03

killing the terminal has desired effect

mikepjb16:05:49

you're right

mikepjb16:05:05

janky but workable simple_smile

mikepjb16:05:11

thanks very much @vipaca

vipaca17:05:23

no problem

mikepjb17:05:16

$(nohup lein repl :headless :port 9999) &

mikepjb17:05:42

for me I can use that followed up by lein repl :connect 9999

mikepjb17:05:46

or :Connect in vim