Re: [ANN] dj 0.1.0 released

2011-10-14 Thread Brent Millare
In master, I added clojurescript support. Note: the clojurescript bootstrap 
scripts require curl, make sure you have that before installing.

dj cljs install

installs clojurescript to dj/usr/src/

dj cljs repl

starts a cljs repl

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

Re: [ANN] dj 0.1.0 released

2011-10-13 Thread Brent Millare
0.2.0 Released
Made a new API namespace called dj

Now all the utilities I think users would typically need are in this 
namespace. This also allowed me to clean up the core code since it doesn't 
cater to the users anymore.

The functions currently are:

get-classpaths
get-current-classloader - gets current thread classloader
reload-class-file - allows you to reload a .class file
ls-repo - list directories in a repository given a group path
get-repository-urls - lists current repository URLs
add-to-classpath! - adds path to classpath
add-dependencies! - obtains dependencies and adds to classpath

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

[ANN] dj 0.1.0 released

2011-10-12 Thread Brent Millare
I've been using dj for a while for personal use but I never put a version on 
it. Hopefully doing this from now on I might get more useful feedback.

git://github.com/bmillare/dj.git

Main changes are:

* Runtime altering classpath
* Runtime dependency resolution
* Runtime reloading of select classes

So now you can do things like:

$ echo '(println hello world)'  hello.clj

$ dj repl
Clojure 1.3.0
;user= (dj.classloader/add-to-classpath! /home/user/)
#File /home/user
;user= (require '[hello])
hello world
nil

;user= (dj.classloader/add-dependencies! '[[incanter/incanter 
1.3.0-SNAPSHOT]])
resolving #dj.deps.maven.maven-dependency{.
...
nil
;user= (require '[incanter.core])
nil

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

Re: [ANN] dj 0.1.0 released

2011-10-12 Thread Daniel Jomphe
I'll add this context:

https://github.com/bmillare/dj

dj takes the cacaphony of java, git, clojure, and build tools and mixes it 
into something harmonious.

In a nutshell, dj is an attempt to make a clojure distribution. Like 
leiningen and maven, dj resolves dependencies, however, dj tries to be more 
like debian's APT or gentoo's portage and provide tools to manage your 
projects as if it were a part of a larger ecosystem of repositories, 
configuration files, jar files, project sources, and native dependencies.

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