> I am running the following command line: > > c:\apps\jdk1.6.0\bin\java.exe -server -cp "C:\apps\clojure-1.2.0\\lib > \clojure-1.2.0-master-SNAPSHOT.jar;C:\apps\clojure-1.2.0\\lib\clojure- > contrib-1.2.0-SNAPSHOT.jar" clojure.main Blah.clj > > If Blah.clj does not exist, I get a FileNotFoundException. However, > if Blah.clj exists, I get nothing. It can contain valid Clojure code, > invalid text, whatever. I've tried using various combinations of > flags too.
I have been starring at the command line and I can't spot what's wrong. When you specify the invalid file, do you get the error in the form of a clojure strack trace, or something else? With 1.1 at least you should be seeing something similar to the below. Just trying to establish whether strack traces are successfully printing at all. You should definitely be seeing one if you try to run a clojure script that doesn't compile. Exception in thread "main" java.io.FileNotFoundException: nonexistent.clj (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at clojure.lang.Compiler.loadFile(Compiler.java:4936) at clojure.main$load_script__7405.invoke(main.clj:213) at clojure.main$script_opt__7442.invoke(main.clj:265) at clojure.main$main__7466.doInvoke(main.clj:346) at clojure.lang.RestFn.invoke(RestFn.java:413) at clojure.lang.Var.invoke(Var.java:359) at clojure.lang.AFn.applyToHelper(AFn.java:173) at clojure.lang.Var.applyTo(Var.java:476) at clojure.main.main(main.java:37) -- / Peter Schuller -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en