Start editing: First of all, I want my Clojure program to use the Java class.
I also got some tips on returning from the cake because they are merging.
If anyone reads this, he can recommend a book for setting up the Java / Clojure build environment than learning Java, I would appreciate it. End edit:
Although I can read Java code, I am not a Java programmer. I am building Clojure core programs that successfully use cake, and you need to create a Java class that will become part of my core Clojure. I cannot figure out how to include MyClass.class in the Clojure construct.
First up is my project.clj, followed by a few lines of the application's .clj file.
(defproject ba1-app "0.0.1-SNAPSHOT" :description "TODO: add summary of your project" :dependencies [[org.clojure/clojure "1.2.1"] [org.clojure/tools.cli "0.1.0"]] :main ba2-app) (ns ba2-app (:gen-class) (:use [clojure.string :only [split]] [clojure.string :only [join]])) (def^:dynamic avail-trans [\W \D]) (def^:dynamic acct-types [[\C 0.02][\S 0.04] [\M 0.06]]) . . .
1) If the .java file is in the same directory as the .clj application module?
2) What would be the assembly instructions?
Thanks.
octopusgrabbus
source share