boot

:boot-clj: https://boot-clj.github.io/ — build tooling for Clojure. Dev chat in #boot-dev
arlicle 2018-04-16T08:01:10.000013Z

excuse me, my project use clojure1.90+boot2.7.2,I have build it to jar files, I can run java -jar /target/project.jar。but how can run some task in build.boot file by jar? some watch task, compile task 。

arlicle 2018-04-16T08:03:09.000286Z

when I require boot.core :as core I will get this error

java.io.FileNotFoundException: Could not locate boot/core__init.class or boot/core.clj on classpath.
clojure.lang.Compiler$CompilerException: java.io.FileNotFoundException: Could not locate boot/core__init.class or boot/core.clj on classpath., compiling:(core.clj:1:1)
             clojure.lang.ExceptionInfo: java.io.FileNotFoundException: Could not locate boot/core__init.class or boot/core.clj on classpath., compiling:(core.clj:1:1)
    line: 88

arlicle 2018-04-16T08:29:15.000464Z

I add [boot/core "2.7.2" :scope "provided"] to dependencies get a new error,

Exception in thread "main" java.lang.NoClassDefFoundError: boot/App
	at boot.file__init.load(Unknown Source)
	at boot.file__init.<clinit>(Unknown Source)
....
	at main.entrypoint.<clinit>(Unknown Source)
Caused by: java.lang.ClassNotFoundException: boot.App
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 128 more

seancorfield 2018-04-16T16:41:39.000451Z

@arlicle You cannot use Boot as a library at this point.