This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-01
Channels
- # adventofcode (1)
- # bangalore-clj (1)
- # beginners (8)
- # boot (47)
- # cider (6)
- # cljsrn (3)
- # clojure (155)
- # clojure-brasil (2)
- # clojure-china (3)
- # clojure-conj (1)
- # clojure-hk (4)
- # clojure-korea (36)
- # clojure-russia (38)
- # clojure-spec (53)
- # clojure-taiwan (1)
- # clojure-uk (14)
- # clojurescript (70)
- # clojurex (9)
- # component (2)
- # cursive (20)
- # datascript (19)
- # datomic (39)
- # defnpodcast (1)
- # events (5)
- # figwheel (2)
- # hoplon (81)
- # incanter (2)
- # jobs (7)
- # juxt (3)
- # klipse (1)
- # leiningen (1)
- # luminus (15)
- # mount (1)
- # off-topic (21)
- # om (5)
- # om-next (2)
- # onyx (19)
- # pedestal (2)
- # proto-repl (1)
- # proton (5)
- # re-frame (19)
- # reagent (4)
- # rethinkdb (2)
- # ring-swagger (6)
- # rum (13)
- # specter (6)
- # untangled (4)
- # yada (1)
@jumblerg I was on the current master at the time, think it is now one commit behind. Specifically, I was using a jar built with boot build-jar
from commit 288b8bddda5541a28fe719ed014c66c7825985a6. And Chrome version 54.0.2840.98 (64-bit), on a mac.
i was doing some work on the borders that i patched on the last commit. my git hygiene has been pretty sloppy thus far (since ui is still experimental and whatnot), but i think i need to start treating it as a production repo moving forward since others are starting to use it.
@jumblerg as much as you warn people, it's too awesome they want it!
@jumblerg yeah, don't have to apologize about git hygiene.
i think everyone who uses hoplon/ui
for real does understand its experimental nature.
i personally favor dirty, but early commits, even if they break functionality, over slow releases because of risk averseness.
that's why we forked hoplon/ui and run that in prod.
@dnlr: welcome!
hello @flyboarder too 🙂
Haha hi @micha
Hello! I am trying to use boot -d seancorfield/boot-new new -t hoplon -n hoplon-tmpl-test1
but when I run it I am getting an error:
clojure.lang.ExceptionInfo: src
data: {:file
"/var/folders/48/k5llf0tx577g90rvf4d61hh80000gn/T/boot.user5524206315011002769.clj",
:line 19}
java.nio.file.NoSuchFileException: src
file: "src"
sun.nio.fs.UnixException.translateToIOException UnixException.java: 86
sun.nio.fs.UnixException.rethrowAsIOException UnixException.java: 102
sun.nio.fs.UnixException.rethrowAsIOException UnixException.java: 107
sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes UnixFileAttributeViews.java: 55
sun.nio.fs.UnixFileSystemProvider.readAttributes UnixFileSystemProvider.java: 144
...
boot.filesystem/mktree filesystem.clj: 100
Any hints what can be wrong? Or any workarounds?on the other hand that’s a bummer that I cannot even run boot -h
(as I tried to find out what those -P
and -B
flags mean) when there is a build.boot with some invalid setup (e.g. src dir missing)
but one more question: does it have to fail just because a src dir is missing even if I just run help task?
Something like this might help in a situation where there are multiple error-handling strategies for different contexts: https://github.com/knusbaum/cl-restart
It's one of the "killer features" of Common Lisp 🙂
According to https://github.com/hoplon/hoplon/wiki/How-is-a-hl-file-different%3F I could use cljs files but I would also need to create html file too
Do you have any examples how that html file would need to look like? And I guess I would just need cljs plugin (as there would be no *.hl files for boot hoplon task to process)
@piotrek i know @onetom has ditched .hl in favore of .cljs for cursive, loves it
That’s my plan @alandipert. Lack of support for :refer :all
for macros in cljs is PITA but lack of autocomplete in IDEA is even worse 😉
(ns demo.index
{:hoplon/page "demo.html"}
(:require
[hoplon.core :as h]
[javelin.core :as j]
[hoplon.jquery]))
(h/html
(h/body
(h/h1 "hello world")))
IDEA doesn't let you define extension->plugin mappings?
that's odd.
@fiddlerwoaroof It does but the issue is it tries to parse ns
in the file but there is only page
So it doesn’t know what namespaces have been required and what is available in the current ns
Makes sense, I don't actually use Intellij very much.