This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-11
Channels
- # beginners (104)
- # boot (14)
- # cider (10)
- # clojure (38)
- # clojure-australia (3)
- # clojure-dev (11)
- # clojure-spec (8)
- # clojurebridge (2)
- # clojurescript (50)
- # core-async (118)
- # emacs (3)
- # expound (2)
- # fulcro (39)
- # jobs (3)
- # jobs-discuss (17)
- # kaocha (2)
- # lumo (1)
- # off-topic (16)
- # onyx (1)
- # re-frame (1)
- # reitit (24)
- # shadow-cljs (14)
- # sydney (1)
- # tools-deps (14)
- # yada (1)
I was playing around with https://clojure.org/reference/compilation#_gen_class_examples and I've noticed that with 1.10.0-beta5, I couldn't compile the example code until I'd created a classes directory. Is that expected behavior?
It is normal behaviour from my past testing on this. The output directory is supposed to already be in the classpath.
Joined to ask this exact question. I have one measly .java file that I want to (:import), and i really don't want to make a jar just for that one file.
I've done some work on this, but it would be the same level as clojure.core/compile I suspect. Riddler is a good option to look at I think
Apparently I got mixed up, I meant this: https://github.com/ztellman/virgil
Joined to ask this exact question. I have one measly .java file that I want to (:import), and i really don't want to make a jar just for that one file.
tools.deps
is about building classpath, clj
is about running Clojure. You can run javac
from one of clj
aliases if that's a single .java
file.
Apparently I got mixed up, I meant this: https://github.com/ztellman/virgil