On Oct 6, 2008, at 5:13 AM, ssecorp wrote:

> If I want to add something to boot.clj so I always have it available.
>
> lets say h and t for head/first tail/rest (yes i find them annoyingly
> long).
>
> it doesn't work just adding something to the file, do i have to add it
> somewhere else too? recompile something?

To have something always available, consider putting a file called  
"user.clj" in the classpath used by the java command you use to launch  
Clojure. Clojure looks for such a file on startup and if it exists,  
Clojure will load it after loading boot.clj.

If you want to keep a local fork of boot.clj, you'll need to either  
put the directory "<your local checkout of clojure>/src/clj/clojure"  
into your classpath before clojure.jar, or rebuild clojure.jar after  
making changes to boot.clj. I would do that by running "ant" from  
within "<my local checkout of clojure>".

--Steve


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

Reply via email to