Fork me on GitHub
#hoplon
<
2016-08-13
>
eric.shao02:08:53

what is the usually problem? when report : "java.lang.AssertionError: Assert failed: Can't find javelin/core.cljc in classpath"

micha03:08:58

@eric.shao: can you try again with boot-hoplon 0.2.4?

eric.shao06:08:48

@micha sorry I just walked out. I replace 0.2.2->0.2.4. And got these:

eric.shao06:08:45

I am a beginner.and haven’t really deploy any project on a centos. I am trying the boot dev way.hehe .

thedavidmeister09:08:59

i randomly started getting a cryptic error from boot

thedavidmeister09:08:08

clojure.lang.Compiler$CompilerException: java.lang.SecurityException: class "org.bouncycastle.crypto.digests.SHA3Digest"'s signer information does not match signer information of other classes in the same package

thedavidmeister09:08:17

it started when i added a new dependency to the project

thedavidmeister09:08:33

but all the info i can find about it is only for Java

thedavidmeister09:08:40

anyone seen this before?

thedavidmeister10:08:59

nm, figured it out

thedavidmeister10:08:07

was some weird dependency resolution

eric.shao15:08:55

@micha I figured out ,the reason is clj-version are different between build.boot and boot.property. But I still do not know how to deploy war in jetty,I’ll learn jetty.

eric.shao15:08:24

I put war in jetty/webapps,But it just don’t show.

micha15:08:38

@eric.shao remember that files in :source-paths don't end up in the war file

micha15:08:29

you can do jar tf target/project.war to see what's in there

micha15:08:00

so check that to make sure the war file contains the correct contents

micha15:08:39

also log messages from jetty might tell you something

micha15:08:29

and finally there is the boot-jetty task that is a development jetty setup

micha15:08:19

if it works in boot-jetty it will work in tomcat etc

eric.shao15:08:58

@micha Thank you for answer my stupid questions.But I have to sleep now.I’ll try them tommorow.

micha15:08:35

I'll try to fix the demo so it works out of the box

eric.shao15:08:39

@micha the “boot dev” is ok. I check the log of jetty ,maybe it is my jetty’s problem?I’ll try tomcat tomorrow.Thank you 88.

chromalchemy23:08:37

@flyboarder I am trying out your firebase lib, and trying to set up a demo. Might you be able to post a snippet showing how to initialize the connection within hoplon and basic usage of a firbase cell? Thanks!! Also, what is your opinion on using Firebase in cljs vs a more native Clj stack? (I'm not a backend guy :)

flyboarder23:08:21

@chromalchemy: hoplon.firebase? There are a few ways you can init the library now, automatically using env vars or via firebase-cljs api

flyboarder23:08:15

I really like using it on the frontend, I think it has more place in client side apps

flyboarder23:08:18

If you want to init hoplon.firebase with env vars set the following to your firebase config values:

flyboarder23:08:42

FIREBASE_API_KEY FIREBASE_AUTH_DOMAIN FIREBASE_DATABASE_URL FIREBASE_STORAGE_BUCKET

flyboarder23:08:27

or call something like this prior to using any of the api:

flyboarder23:08:59

fb-cell can be used like so:

flyboarder23:08:32

that example has more going on than you need, like things dont need to be dynamic and you can create the refs just by defing them, im returning them via a function for my use

flyboarder23:08:01

@chromalchemy: you can also follow my new project blaze, which i will be talking about online in the next coming weeks, it has a bunch of example uses of firebase