Looks very interesting. The manual install works – looking forward to platform installers!
There are some formatting glitches in the README with nested lists.
Also, this line:
Invoke: clj -Porg.clojure=/Users/me/code/clojure/target/classes
Looks like it should be:
Invoke: clj -Porg.clojure/clojure=/Users/me/code/clojure/target/classes
Based on the previous example’s :dev classpath-overrides?
Question: is the thinking that tools like Boot and Leiningen could (should?) switch over to using this, instead of their own, home-grown Aether-based stack?
Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Looks very interesting. The manual install works – looking forward to platform installers!
There are some formatting glitches in the README with nested lists.
Also, this line:
Invoke:
clj -Porg.clojure=/Users/me/code/clojure/target/classes
Looks like it should be:
Invoke:
clj -Porg.clojure/clojure=/Users/me/code/clojure/target/classes
Based on the previous example’s :dev classpath-overrides?
Question: is the thinking that tools like Boot and Leiningen could (should?) switch over to using this, instead of their own, home-grown Aether-based stack?
On Tue, Jul 25, 2017 at 3:47 PM, Sean Corfield <se...@corfield.org> wrote:Looks very interesting. The manual install works – looking forward to platform installers!
There are some formatting glitches in the README with nested lists.
Don't see it, let me know and I'll fix.
On 26 Jul 2017, at 2:19, Alex Miller wrote:
There are some additional pieces still to come that will provide installers for various systems as well. This is still a work in progress but is targeted for completion along with Clojure 1.9.
Looks good - however with the release of Java 9 soon, has there been any consideration to supporting the module path at all? To me, regardless of peoples thoughts on jigsaw, releasing a new JVM dependency management tool now, and not supporting it seems wrong.
Mark
"The ease with which a change can be implemented has no relevance at all to whether it is the right change for the (Java) Platform for all time." — Mark Reinhold.
Mark Derricutt
http://www.theoryinpractice.net
http://www.chaliceofblood.net
http://plus.google.com/+MarkDerricutt
http://twitter.com/talios
http://facebook.com/mderricutt
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscribe@googlegroups.com.
Looks much better, thank you!
Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
--
The primary use case for clj initially will be new users or existing users that want to build a repl-focused project without any real intent to deploy artifacts
Fair enough. Not convinced clj is very beginner-friendly (compared to Boot – it’s certainly more friendly than Leiningen) but I suspect when there are installers available – and documentation out there is updated to reflect that – it’ll seem easier.
FWIW, Boot allows you to play with arbitrary libraries in the REPL like this:
boot -d group/artifact repl
No project needed, no build.boot etc, just a REPL with the specified libraries available, wherever you are.
Over time we have ideas about other things we can build out from this core - I hinted at some in my EuroClojure talk.
Looking forward to this appearing on ClojureTV! Heard interesting things about it from attendees!
I suspect it's a small job to make boot leverage a deps.edn file now as a source of dependencies
Yeah, that’s how we handle all our dependencies at World Singles – and it sure is easy with Boot: (merge-env! :dependencies (edn/read-string (slurp “deps.edn”))) – although, of course, the deps.edn file we use is just a vector of vectors, like the regular :dependencies key in Boot/Leiningen.
tools.deps.alpha uses the latest Maven Resolver api directly.
Good to know, thanks.
Sean
Looks good - however with the release of Java 9 soon, has there been any consideration to supporting the module path at all? To me, regardless of peoples thoughts on jigsaw, releasing a new JVM dependency management tool now, and not supporting it seems wrong.
Dumb question of the day: given that Clojurescript evidently (as I understand) will soon work seamlessly with npm, can (chunks of) this be extended to cljs? E.g. (s/def ::providers (s/keys :opt-un [::npm])) or some such. Note that I ask without understanding. ;)
The primary use case for clj initially will be new users or existing users that want to build a repl-focused project without any real intent to deploy artifacts
Fair enough. Not convinced clj is very beginner-friendly (compared to Boot – it’s certainly more friendly than Leiningen) but I suspect when there are installers available – and documentation out there is updated to reflect that – it’ll seem easier.
FWIW, Boot allows you to play with arbitrary libraries in the REPL like this:
boot -d group/artifact repl
No project needed, no build.boot etc, just a REPL with the specified libraries available, wherever you are.
Over time we have ideas about other things we can build out from this core - I hinted at some in my EuroClojure talk.
Looking forward to this appearing on ClojureTV! Heard interesting things about it from attendees!
I suspect it's a small job to make boot leverage a deps.edn file now as a source of dependencies
Yeah, that’s how we handle all our dependencies at World Singles – and it sure is easy with Boot: (merge-env! :dependencies (edn/read-string (slurp “deps.edn”))) – although, of course, the deps.edn file we use is just a vector of vectors, like the regular :dependencies key in Boot/Leiningen.
On 26 Jul 2017, at 13:53, Alex Miller wrote:
This effort is really about working on the problem of creating JVM classpaths and was not really intended to extend to cljs. Perhaps it could be (but I'm not sure where or why that would be useful).
If node modules were declared with a type of :npm
that could lead to a nightmare of having mixed dependency type which wouldn't really make sense.
If it was an archive/dependency of purely *.cljc
files that could work as their platform independent, but arbitrary node packages would seem to the path of trouble.
Dumb question of the day: given that Clojurescript evidently (as I understand) will soon work seamlessly with npm, can (chunks of) this be extended to cljs? E.g. (s/def ::providers (s/keys :opt-un [::npm])) or some such. Note that I ask without understanding. ;)This effort is really about working on the problem of creating JVM classpaths and was not really intended to extend to cljs. Perhaps it could be (but I'm not sure where or why that would be useful).
Usage: (resolve-args deps-map resolve-args)
BTW, minor doc error I think:resolve-deps
Usage:
(resolve-args deps-map resolve-args)
Should that be (resolve-deps ...)?
I’ve been using my own launch script that does something similar to the new clj script. (I’m caching a Leiningen generated classpath.) I had some bugs when my project directory was copied to another user or machine because the cached classpath was not validate in the new environment, particularly with a different Maven repository. The same kind of problem can happen with a remotely mounted project directory. File time checks did not necessarily protect against these relocations.I fixed my problem with two changes. First, I put the cache in the PROJECT/target subdirectory so that a “lein clean” would allow the user to recover.
Second, I named my cache file with the inode of the project.clj file. If the project is copied somewhere else, it is highly unlikely that the inode numbers would match. The inode of the Maven repository or project deps.edn should work with the new clj script.
I use rlwrap, except within an Emacs shell. I suggest you test for the presence of rlwrap as you do for java. $(type -p rlwrap) and ignore it if it’s not found. I think Emacs is popular enough that it’s worth testing for within your clj script ($EMACS will be defined). It would be good enough if you provided an option to turn off rlwrap so I could wrap your script with my own.
You received this message because you are subscribed to a topic in the Google Groups "Clojure" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojure/FpMqtNu0TCE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojure+unsubscribe@googlegroups.com.