Fork me on GitHub
#boot
<
2017-06-21
>
richiardiandrea00:06:32

@micha is boot install able to install all the jars in the fileset...let's say I have a -sources and -javadoc along with the main one...am I supposed to see the all three in .m2? If yes, then there is a possible bug there 😄

richiardiandrea01:06:47

I need classifier, cool stuff no bug 😄

richiardiandrea01:06:23

PR-ed doc and some debug logging

donyorm13:06:12

@hiredman after deleting my maven repository and re-installing I got the falling errors in lein deps :tree:

[org.webjars/webjars-locator-jboss-vfs "0.1.0"] -> [org.webjars/webjars-locator-core "0.30"] -> [org.apache.commons/commons-lang3 "3.1"]
 overrides
[ring-webjars "0.2.0"] -> [org.webjars/webjars-locator "0.27"] -> [org.apache.commons/commons-lang3 "3.4"]

donyorm13:06:36

Still doesn't really explain the issue

dominicm14:06:54

@donyorm those two packages (left-most) are both bringing in (transitively) the right-most dependency, & they are different versions.

donyorm15:06:17

@dominicm right. I probably should have noticed that. How do I exclude a specific version in boot? And which Ken should I exclude?

dominicm15:06:25

I usually try the newest first

dominicm15:06:27

You're looking for

dominicm15:06:47

[org.webjars/webjars-locator-jboss-vfs "0.1.0" :exclusions [org.apache.commons/commons-lang3]]

donyorm15:06:18

@dominicm Just tried exluding from both one at a time. Unfortunately it didn't fix the issue. It's still not finding the org/jboss/vfs/VirtualFileFilter class under boot

dominicm15:06:42

is that the only conflict you had?

dominicm15:06:17

ah, if you ran that on lein, it might not have shown all the relevant ones.

donyorm16:06:01

Only lein deps:tree showed any conflicts. boot show -d just showed me the tree with now warnings. And yes that was the only conflict I had according to lein.

mynomoto16:06:50

@donyorm boot show -p is the one to show conflicts

donyorm16:06:36

I got this output from boot show -p, but I'm not entirely sure how to read it. Are the headers dependencies?

ag19:06:34

My colleague is asking "`boot -d boot/new new -t app -n` weird... why didn't they make the UX for this as convenient as lein"

alandipert19:06:24

@ag it’s not builtin because we wanted to reserve the new task for user apps

alandipert19:06:31

the new task name, that is

ag19:06:07

okay. thanks @alandipert

alandipert19:06:49

the -d mechanism might be worth explaining also

alandipert19:06:58

novel, in contrast to lein

donyorm19:06:11

how do I tell what collisions are important, with boot show -p?

donyorm19:06:35

it seems to show a lot of possible issues

alandipert19:06:33

@donyorm you can’t really know if there’s a problem until you have one, unfortunately

alandipert19:06:56

that’s why many users choose to sort out the conflicts even if there are no problems, so that if one arises, and there’s a conflict, it’s probably related

donyorm19:06:14

I'm having trouble understanding the output of boot show -p, is there any part of the documentation that explains it?

zilti20:06:18

I have :source-paths #{"src/clj" "src/cljs" "src/cljc"} and :resource-paths #{"resources"} in my build.boot, and apparently that's not okay - I get java.lang.AssertionError: Assert failed: The :source-paths, :resource-paths, and :asset-paths must not overlap. (empty? (set/intersection paths parents)). What's the recommended solution for this?

richiardiandrea21:06:19

I made boot push and deploy more robust and actually now we are Maven Central compatible partywombat party-corgi boot-clj -> https://github.com/boot-clj/boot/pull/625