On Wed, Dec 3, 2008 at 5:27 PM, Stephen C. Gilardi <[EMAIL PROTECTED]> wrote:
Buildfile: build.xml
>
> init:
> [mkdir] Created dir: /ext/clojure-contrib/classes
>
> compile_clojure:
> [java] Compiling clojure.contrib.command-line to /ext/clojure-
> contrib/classes
> [java] Compiling clojure.contrib.cond to /ext/clojure-contrib/
> classes
> [java] Compiling clojure.contrib.def to /ext/clojure-contrib/
> classes
> [java] Compiling clojure.contrib.duck-streams to /ext/clojure-
> contrib/classes
...
Seeing this output brings up a question for me: why doesn't
clojure.lang.Compile behave like javac in that it will recursively compile
all source files in a directory structure. It seems like it would be much
nicer to say:
java -cp /path/to/clojure.jar clojure.lang.compile clojure.contrib
and have all sub-namespaces (not sure this is a word?) compile. Maybe it
should take a directory rather than a namespace:
java -cp /path/to/clojure.jar clojure.lang.compile src
Also, is their a reason why the compile destination can not be passed as a
command line argument?
- Drew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---