Thanks for untangling the Ant black magic, Stefan. Forking a separate
VM seems the simplest way to go.

With that in mind, here ( http://bit.ly/17N0M ) is a patch (against
r1125) that includes all of Stephen & Stuart's additions for the
clojure.main function, plus the modifications to clojure.lang.Compile
for checking if the clojure.compile.path sytem property is on the
classpath. My modifications are

1) Adding the check in clojure.lang.Compile to see if the path defined
in the clojure.compile.path (or "classes," if none's defined) is on
the classpath, & exiting with an error message if not.

2) Adding @fork="true" to the <java> task in build.xml, so that the
classpath is available to clojure.lang.Compile when run w/in Ant.

Not sure how robust a solution this is & or how satisfactory it will
be, but here it is in case it helps finish the work you started,
Stephen & Stuart. Pending Rich's approval, I'm anxious to see it
included!

Best,
Perry
--~--~---------~--~----~------------~-------~--~----~
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