Hello,

I wanted to give a try to ClojureScript but from Windows XP.
Now I was doing all what is written on github but had to remove -server to 
obey "missing jvm.dll" problem (even after coping server path there was 
still a problem about loading some routine) and had to add to ENV Variables 
CLOJURESCRIPT_HOME with "D:/clojurescript/" (note the last /)
Now I'm able to compile hello.cljs to hello.js and put reference to 
test.html but still it doesn't work. I think that there is some problem with 
relative paths.

What I'm using is: JRE (not SDK since have problem with jvm as written 
above), Chrome as Browser and rest newest fetched with boostrap.

My final thought is that running it is a nightmare and you wont gain 
critical mass to get some feedback from community.
So the other thought is why can the lein do the job? Has anyone tried? I'm 
also a Mac user and probably in home all this howto will work, but in 
company where we all are using Windows there is no chance to get it 
working easily.
In case you care how to set ENV Variable from batch on win32 it is:

(defn set-env-variable [ name value]
(console (str "Setting environment variable \"" name "\" to \"" value "\""))
(command "reg add HKCU\\Environment /v" name "/f /t REG_SZ /d" (str "\"" 
value "\"")))

Where command is just a cmd (args are interposed with space) call and 
console is an output to cmd console.


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

Reply via email to