Fork me on GitHub
#boot
<
2017-05-03
>
flyboarder00:05:16

does anyone know if there is a way to get add-resources to follow symlinks?

micha00:05:35

@flyboarder i mean the pom task creates a pom.xml file every time it runs, right?

micha00:05:23

and it creates that pom.xml file with a version

micha00:05:55

you can make a pom task that does the same thing, but gets the version to write to the pom.xml file from an atom or wherever you want to store the vversion

flyboarder01:05:33

@micha I follow what you are saying, seems unnecessary to rewrite the pom task just to control the version option tho

flyboarder01:05:57

makes sense tho based on how the pipeline works

micha01:05:53

it's about 20 lies of code, most of which you probably dont even need

micha01:05:15

all the work is done in library functions elsewhere

micha01:05:23

the task itself is just a think wrapper around that

flyboarder01:05:50

right but then the task no longer fits in with the rest of the existing ecosystem

flyboarder01:05:12

like using bootlaces

micha01:05:53

you can do (alter-var-root #'boot.task.built-in/pom ...)

micha01:05:40

but that's really why bootlaces was never meant to be part of the ecosystem

micha01:05:09

referring to tasks by name really should be reserved for the user to do in their build.boot

micha01:05:22

or in their own version of bootlaces

micha01:05:03

i like that i can just make my own tasks that do something the way i want to do it and use those in place of the built-in ones

micha01:05:35

rather than try to have the built-in ones support every possible option

micha01:05:17

seems easier to just program the task than to research super complex options and whatnot

micha01:05:28

like as a user i mean

flyboarder01:05:40

yeah I guess monkey patching the built-in ones would also work

micha01:05:31

nobody will judge ๐Ÿ™‚

flyboarder01:05:50

@micha on a side note, add-resource doesnโ€™t follow symlinks

micha01:05:11

strange, i thought that was fixed?

flyboarder01:05:25

only for fileset project dirs

micha01:05:35

what is the use case?

bocaj18:05:38

Looks like boot can't find javac on my machine (

boot javac
fails with
java.lang.Exception: The java compiler is not working. Please make sure you use a JDK!
)

bocaj18:05:23

(get-sys-env "JAVA_HOME")
#> "C:\\Program Files\\Java\\jdk1.8.0_112"

bocaj18:05:56

(get-sys-env "BOOT_JVM_COMMAND")
#> nil

bocaj18:05:38

boot.user=> (get-sys-env "java.home")
"C:\\Program Files\\Java\\jre1.8.0_74"

souenzzo20:05:39

There is some how to use boot+node only to compile clojurescript?

souenzzo20:05:51

Oh, google closure needs JVM. ๐Ÿ˜•

flyboarder21:05:58

I think you can now do it with clojurescript-node

flyboarder21:05:00

But Boot is jvm dependent, you might want to look into lumo

flyboarder21:05:20

Would be sweet to get cross platform boot tho