This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-16
Channels
- # bangalore-clj (8)
- # beginners (78)
- # boot (68)
- # cljs-dev (32)
- # cljsrn (43)
- # clojars (2)
- # clojure (147)
- # clojure-italy (4)
- # clojure-nl (2)
- # clojure-quebec (1)
- # clojure-russia (19)
- # clojure-spec (17)
- # clojure-uk (25)
- # clojurescript (98)
- # clr (2)
- # core-async (14)
- # cursive (5)
- # datascript (1)
- # datomic (23)
- # emacs (4)
- # hoplon (8)
- # jobs (4)
- # kekkonen (1)
- # lein-figwheel (9)
- # off-topic (2)
- # om (2)
- # om-next (9)
- # onyx (4)
- # planck (2)
- # re-frame (14)
- # ring-swagger (3)
- # untangled (18)
@bhagany I think it's just a dynamic var boot.util/*verbosity*
or similar so you could use plain binding
@alandipert I actually tested boot master on a windows machine now and verified that 2.7.0 did not work and now it does
For future reference, I actually started with installing build-tools in a VM but ended up only installing Java and copying m2 repo to the VM ๐
@erwin great to hear! thanks for testing
2.7.1 is ready, just need to find time to push the button
hello wonderful people
I am trying to fetch some dependencies from a local nexus
I tried (set-env! :repositories #(conj % ["myserver" {:url "
and it looks like it is reading the metadata
but it then fails with org.sonatype.aether.resolution.ArtifactResolutionException: Could not find artifact artifact.name in in clojars (
uhm, no but I have an entry in .m2/settings.xml
which is correct because mvn
works fine...it adds mirrorOf
in it
lemme check
#NOTE: This is an internal implementation file, its format can be changed without prior notice.
#Mon Dec 12 23:23:11 EST 2016
reply-0.3.7.pom>clojars=
reply-0.3.7.jar>clojars=
I have a bunch of _remote.repositories
and in maven.repositories
I see that it is pinning, but to the correct internal repo
which then means it shouldn't try in theory to read this one from clojars
right?
same syntax but it contains the mapping from SHAPSHOT versions to the internal nexus
it looks right to me ๐
the aether verbose log shows that it is trying to fetch a :file
called rest-resources-api-0-SNAPSHOT.jar
which does not exists because of the substitution necessary for SNAPSHOT
move yeah, same issue...I am going to try a release version
and with a release version this does not work either
this time though, I see:
Aether: {:type :succeeded,
:method :get,
:transferred 180767,
:error nil,
:data-buffer nil,
:data-length 0,
:resource
...
for my dependency
uhm...I weird I don't understand what is going on I see the repo using (util/warn "Repos %s\n" (util/pp-str (:repositories (boot.core/get-env))))
but it looks like it is not trying to fetch from there
the -vv
log is very good
@micha sorry to bother, a question, if I have:
{:url "",
:snapshots false,
:checksum :fail,
:update :never,
:releases {:update :never}}
with no snapshots, but I install the artifact locally, does boot/aether try to resolve it in .m2
?or should I use offline
for that?
uhm it still cannot find it...weird
ok anyways, probably boot is ok here, just wanted to be sure ๐
@esanmiguelc Can you add the event listener in your HTML and call a function in your cljs?
iโm not sure what you mean by the event listener
Iโm just trying to get a proof of concept working, and it seems like the init-fns
are not ending up being called in the final .js
output
I was expecting the main.js file to execute it as it was loaded on the page, and not require me to manually have to execute it after the fact
yeah, exactly
Yeah, and all of the compiled cljs is loading just fine
from the console I can run project.profile.main()
profile.cljs.edn
yeah, we did that too. Itโs okay, we found a workaround for now thats acceptable
basically call the function after itโs defined in the main file
There are lots of different ways to get an init call into your cljs app. That is one way. You can also use the init-fns approach. Or you can have something like this in your HTML file:
<script type="text/javascript">
addEventListener("load", project.profile.main, false);
</script>
In order for the last one to work in :advanced
compilation, you would need to ^:export
your main
function
Anyway, I didn't want to hijack the conv but I have a different question ๐ Does anyone have any experience connecting to a remote boot REPL that is running in AWS? I am running the REPL on a static port that is enabled on inbound connections. I am able to telnet
to the server on that port but I get a Connection refused message from the REPL server. I'm guessing there is some additional option I need specify when starting the REPL.