Fork me on GitHub
#boot
<
2016-07-14
>
micha02:07:49

@mattly: does your project have an explicit clojrue dependency?

mattly04:07:24

@seancorfield there ^ and @micha yes

mattly04:07:48

I nuked ~/.boot/cache and it seemed to resolve itself

mattly05:07:30

oh i had a typo in VERSION

mattly05:07:16

perhaps it's finally time to write that "typo highlighter" emacs minor mode I've been thinking about

seancorfield05:07:08

Glad you figured it out!

anmonteiro13:07:18

if I want to add node_modules to the fileset, how would I go about doing that?

anmonteiro13:07:19

i.e. I can add the contents of the folder using add-asset

anmonteiro13:07:39

but I want the folder there, not its contents spliced

raywillig14:07:07

is it possible to combine repl task with checkout?

micha14:07:22

@raywillig: shoud be, does it not?

raywillig14:07:43

i might have the incantation wrong. but seems to not.

micha14:07:19

could be a bug?

raywillig14:07:09

i have boot watch checkout repl i had also tried with boot checkout repl wait

micha14:07:20

you only want wait when you're not blocking the pipeline anywhere

micha14:07:30

like if you have repl -s that just starts the repl server

micha14:07:00

the wait task prevents boot from just exiting

raywillig14:07:06

oh so to do checkout I’ll need a session for repl server with checkout and then another one for client?

raywillig14:07:31

or i can just do boot checkout repl

micha14:07:54

you should do the --checkouts option to boot, instead of the task, which is deprecated

phreed14:07:00

I am going to see about porting boot to ClojureCLR, wish me luck.

martinklepsch14:07:36

@phreed: does ClojureCLR have a thing like a classpath?

martinklepsch14:07:16

I think the basic idea around Filesets are reasonable to port but the pod/isolation features are hard if there's no such thing in your host lang

raywillig15:07:24

@micha thanks i will try

alandipert15:07:18

i imagine clr must have something like it, in order for clj to work. some means to load bytecode dynamically

alandipert15:07:16

i guess by itself dynamic loading doesn't a classpath make, to be useful it needs isolation of some kind too

phreed15:07:50

[re: port to .Net] What is the 'barbarywatchservice'? Is this a backport of the watch service in java 7?

flyboarder15:07:45

@phreed: I am available to help with this if needed, it’s been on my to-do list for a while now 😛

alandipert15:07:45

@phreed: i think even in java 8 the watch service polls by default, the barbary thing uses FS events when/where possible

flyboarder15:07:03

@alandipert: from my understanding the classpath on clr is based on an env var

raywillig15:07:23

@micha thanks for the tip. works like a charm

micha15:07:46

@raywillig: that option is new with 2.6.0 btw

raywillig15:07:04

i realized that when it didn’t work the first time lol

phreed15:07:46

@flyboarder: The fork is phreed/boot. I have started a list of issues (tasks) required. I added you as a collaborator.

mobileink17:07:12

EMERGENCY! I need to snatch victory from the jaws of defeat. I need to simulate a system of 3 or 4 server components. I have one day. Can I use pods to run multiple repls in one jvm? if so it would be a huge win and boot would get some good pub in the Intel Ultimate Coder Challenge.

micha17:07:01

@mobileink: also see boot.core/launch-nrepl which accepts a :pod option so you can fire up a repl in any pod

mobileink17:07:30

awesome! boot boggles. one question, though: is this going to play nice with JNI stuff? my libs are java wrappers on c libs.

micha17:07:32

also the repl task can take a pod option as well

micha17:07:59

as far as i know there is no way to use classloaders to isolate jni libraries

micha17:07:16

so you can't have different jni versions isolated to a specific pod

micha17:07:35

but you can load jni things that will be globally visible

mobileink17:07:00

yeah they would all use the Sam e jni libs

mobileink17:07:29

so that should work? pace threading issues.

micha17:07:48

is it noot working?

mobileink17:07:46

no, noot is taking a break.

mobileink17:07:37

I won't be able to get to it for a few hours.

anmonteiro17:07:43

nobody has any idea on how to copy a folder to the fileset?

anmonteiro17:07:35

add-asset adds all the folder’s contents, but I actually want the folder there

anmonteiro17:07:48

also tried to add it to :resource-paths but the result is the same

mobileink17:07:06

if you want to see what im up to go to http://ultimatecoder.intel.com. I'm team two. There's a bit of boot in there, but I'm going to highlight it in my next post.

micha18:07:09

@anmonteiro: the add-* functions accept :include and :exclude options, which you can use to filter the files

anmonteiro18:07:28

@micha: I don’t think it’s what I’m looking for

micha18:07:32

also :mergers which you can use to control how name conflicts are handled (default is last one wins)

anmonteiro18:07:52

I want a folder, say foo to be copied to the fileset

anmonteiro18:07:07

but foo has foo/bar and foo/baz

micha18:07:08

you can add foo/.. and filter out the foos?

anmonteiro18:07:20

I’m getting bar and baz in the fileset

anmonteiro18:07:26

not foo and the contents

micha18:07:30

i mean filter only the foos

anmonteiro18:07:30

it’s being spliced

micha18:07:14

(add-asset fileset (io/file ".") :include #{#"^foo/"}) perhaps

anmonteiro18:07:27

hrm, that might just work, yeah

anmonteiro18:07:32

let me try that

anmonteiro18:07:53

@micha: perfect, thanks a lot

micha18:07:05

👍 sweet!

anmonteiro21:07:53

Has anybody got a Boot project working with node_modules modules?

anmonteiro21:07:27

I’ve succeeded in adding them to the fileset as per the slack history above but I’m getting Error: Cannot find module

anmonteiro21:07:53

my objective is to use boot-cljs-test