On Fri, Nov 7, 2008 at 1:02 PM, Graham Fawcett <[EMAIL PROTECTED]> wrote:
>
> If Rich would be willing to add this to boot.clj,
[snip]
>
> ...then (clojure-svn-revision) ought to return the revision number as
> a string.

I'd really like to see something like this too, but unfortunately I
don't think it's this simple.

Please correct me if I'm wrong, but any changes to the Clojure sources
that don't include a change to boot.clj will fail to update this
revision number.  If that's the case, the number reported could be
misleading, and I'd argue would be worse than no number at all.

I think the "right" way to do this would be for the Clojure compile
process to include a call out to "svn info" to get the revision number
of the whole tree, and then somehow include the results of that back
in the .jar file for some Clojure function to read. ...but I don't
really know enough about ant (or svn either, for that matter) to do
this myself.

--Chouser

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