On Dec 3, 2008, at 10:14 AM, Craig McDaniel wrote:

> Hmm... I must have missed that. The comment in build.xml regarding how
> to start Clojure should probably be changed to use clojure.main
> instead of "-jar clojure.jar".

Yes it should be changed. This command:

        java -cp clojure.jar clojure.main

will give the same result as

        java -jar clojure.jar

but supports including more items in classpath--somethat that Rich  
correctly pointed out is essential for most uses of Clojure.

We should also consider forcing the issue by removing the "Main-Class"  
attribute from the jar's manifest. I was a proponent of including it  
early on for ease of typing, but "java -jar" is almost never the right  
way to launch Clojure.

--Steve


--~--~---------~--~----~------------~-------~--~----~
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
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to