Fork me on GitHub
#perun
<
2017-12-19
>
felipebarros22:12:38

I'm trying to follow the Getting Started Guide but after creating boot.properties, build.boot and the content folder with the index.markdown file inside, boot -h at the root of the project gives me an error:

Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
                                                  Boot.main                    Boot.java:  257
                                                        ...                                   
                                              boot.App.main                     App.java:  491
                                           boot.App.runBoot                     App.java:  399
org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke  ClojureRuntimeShimImpl.java:  150
org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke  ClojureRuntimeShimImpl.java:  159
                                                        ...                                   
                                            boot.main/-main                     main.clj:  216
                                         boot.main/-main/fn                     main.clj:  216
                                   clojure.core/load-string                     core.clj: 3959
                                   clojure.core/load-reader                     core.clj: 3957
                                                        ...                                   
                                    boot.user$eval34.invoke                             :    8
                              boot.user$eval34.invokeStatic                             :    8
                                                        ...                                   
                                       clojure.core/require                     core.clj: 5796 (repeats 2 times)
                                         clojure.core/apply                     core.clj:  648
                                                        ...                                   
                                     clojure.core/load-libs                     core.clj: 5758
                                     clojure.core/load-libs                     core.clj: 5774
                                         clojure.core/apply                     core.clj:  648
                                                        ...                                   
                                      clojure.core/load-lib                     core.clj: 5717
                                      clojure.core/load-lib                     core.clj: 5755
                                         clojure.core/apply                     core.clj:  648
                                                        ...                                   
                                         clojure.core/refer                     core.clj: 4087
                                         clojure.core/refer                     core.clj: 4122
                                                        ...                                   
java.lang.IllegalStateException: trace already refers to: #'boot.util/trace in namespace: boot.user
     clojure.lang.ExceptionInfo: trace already refers to: #'boot.util/trace in namespace: boot.user
    line: 8

felipebarros22:12:46

I retyped everything 3 times to make sure everything is correct.

felipebarros22:12:17

Outside of this project though, boot -h works as expected.

felipebarros22:12:43

Ok, for some reason the instructions on the Getting Started Guide instruct us to install perun 0.4.2-SNAPSHOT while on the README it says in #install to use [perun "0.3.0"] and just below on #usage it uses [perun "0.2.0-SNAPSHOT"] . Setting the Getting Started example to [perun "0.3.0"] solved it.