If this is not the best or appropraite place for this type of posting, let me
know...
I am trying to work my way through the ClojureScript Quick-Start page and I'm
having issues with what I am reading. I'm primarily a Windows user, so that
may be some of the problem.
So here's the setup:
Using command prompt, default directory is c:\users\Michael\Documents
Created a directory src, and then a subdirectory hello_world.
Downloaded cljs.jar and placed it in the /src/hello_world directory
Created core.cljs in the /src/hello_world directory.
Edited core.cljs to insert the initial code from the web page.
Created the file c:\users\Michael\Documents\build.clj and inserted the code:
(require 'cljs.build.api)
(cljs.build.api/build "src" {:output-to "out/main.js"})
Typed the command to compile as indicated by the web page:
c:\Users\Michael\Documents>java -cp "cljs.jar;src" clojure.main build.clj
Error: Could not find or load main class clojure.main
Changed the command to:
java -cp "src\hello_world\cljs.jar" clojure.main build.clj
and it seemed to work...I got an "out" directory and I was able to continue
with the document to some extent.
Is what I changed correct? I am having trouble getting my browser to locate
the original source code in the Developer Window.
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.