Re: First test with JavaFx and blocked yet :(

2012-12-01 Thread Kevin Downey
if you read the docs on the java command -cp and -jar are mutually exclusive options On Sat, Dec 1, 2012 at 1:19 AM, Christian Sperandio < christian.speran...@gmail.com> wrote: > Thanks :) > I got my error. Because I declared my code as a class, my mind turned into > a object logic and I forget

Re: First test with JavaFx and blocked yet :(

2012-12-01 Thread Christian Sperandio
Thanks :) I got my error. Because I declared my code as a class, my mind turned into a object logic and I forget I was always in Clojure and in functional mind. I'd like understand an another point too. When I generate a jar with lein uberjar, the code works. But if I do only a lein jar, the ru

Re: First test with JavaFx and blocked yet :(

2012-11-30 Thread Kevin Downey
here is an example https://gist.github.com/4179694 On Fri, Nov 30, 2012 at 4:13 PM, Kevin Downey wrote: > javafx.application.Application/launch is looking at the class that the > method that calls it belongs to, in this case it belongs to the IFn class > generated for the -main function, there

Re: First test with JavaFx and blocked yet :(

2012-11-30 Thread Kevin Downey
javafx.application.Application/launch is looking at the class that the method that calls it belongs to, in this case it belongs to the IFn class generated for the -main function, there is an arity for launch that takes the class you want to use instead of the weird detection thing On Fri, Nov

First test with JavaFx and blocked yet :(

2012-11-30 Thread Christian Sperandio
Hi, I'm testing JavaFX with Clojure 1.4 and I've got some issues. I wrote this code: (ns test-javafx2-clj.core (:import javafx.application.Application javafx.stage.Stage (javafx.scene Parent Scene)) (:gen-class :extends javafx.application.Application)) (defn -main