Re: [ANN] The "It starts to look like a real App", 1.2.0 release of the Clojure Namespace Browser (clj-ns-browser)
Hi Frank, I cleaned everything and created a new project from scratch. It still does not work but I get another error: $ rm -rf ~/.lein/ $ rm -rf ~/.m2/ $ lein new clj-browser-test $ cd clj-browser-test/ # here I added :dev-dependencies [[clj-ns-browser "1.2.0"]] to the project.clj $ cat project.clj (defproject clj-browser-test "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME"; :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.3.0"]] :dev-dependencies [[clj-ns-browser "1.2.0"]] ) $ lein deps $ lein repl user=> (use 'clj-ns-browser.sdoc) FileNotFoundException Could not locate clj_ns_browser/sdoc__init.class or clj_ns_browser/sdoc.clj on classpath: clojure.lang.RT.load (RT.java:430) Below is the exact output of the commands I executed in bash Bost bost@bost-desktop:~/dev$ rm -rf ~/.lein/ bost@bost-desktop:~/dev$ rm -rf ~/.m2/ bost@bost-desktop:~/dev$ lein version Downloading Leiningen now... --2012-05-06 11:37:27-- https://github.com/downloads/technomancy/leiningen/leiningen-2.0.0-preview3-standalone.jar Resolving github.com (github.com)... 207.97.227.239 Connecting to github.com (github.com)|207.97.227.239|:443... connected. HTTP request sent, awaiting response... 302 Found Location: http://cloud.github.com/downloads/technomancy/leiningen/leiningen-2.0.0-preview3-standalone.jar [following] --2012-05-06 11:37:28-- http://cloud.github.com/downloads/technomancy/leiningen/leiningen-2.0.0-preview3-standalone.jar Resolving cloud.github.com (cloud.github.com)... 54.240.162.204, 54.240.162.132, 54.240.162.220, ... Connecting to cloud.github.com (cloud.github.com)|54.240.162.204|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 9369016 (8.9M) [application/java-archive] Saving to: `/home/bost/.lein/self-installs/leiningen-2.0.0-preview3-standalone.jar' 100%[=>] 9,369,016 1.73M/s in 5.2s 2012-05-06 11:37:33 (1.73 MB/s) - `/home/bost/.lein/self-installs/leiningen-2.0.0-preview3-standalone.jar' saved [9369016/9369016] Leiningen 2.0.0-preview3 on Java 1.7.0_03 Java HotSpot(TM) Client VM bost@bost-desktop:~/dev$ lein new clj-browser-test Generating a project called clj-browser-test based on the 'default' template. bost@bost-desktop:~/dev$ cd clj-browser-test/ bost@bost-desktop:~/dev/clj-browser-test$ gvim project.clj (gvim:23279): Gnome-WARNING **: Accessibility: failed to find module 'libgail-gnome' which is needed to make this application accessible (gvim:23279): GLib-GObject-WARNING **: cannot retrieve class for invalid (unclassed) type `' bost@bost-desktop:~/dev/clj-browser-test$ ** (gvim:23279): WARNING **: Unable to create Ubuntu Menu Proxy: Timeout was reached bost@bost-desktop:~/dev/clj-browser-test$ cat project.clj (defproject clj-browser-test "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME"; :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.3.0"]] :dev-dependencies [[clj-ns-browser "1.2.0"]] ) bost@bost-desktop:~/dev/clj-browser-test$ lein deps Retrieving org/clojure/clojure/1.3.0/clojure-1.3.0.pom from http://repo1.maven.org/maven2/ Retrieving org/sonatype/oss/oss-parent/5/oss-parent-5.pom from http://repo1.maven.org/maven2/ Retrieving org/clojure/clojure/1.3.0/clojure-1.3.0.jar from http://repo1.maven.org/maven2/ bost@bost-desktop:~/dev/clj-browser-test$ lein repl Retrieving org/clojure/tools.nrepl/0.2.0-beta1/tools.nrepl-0.2.0-beta1.pom from http://repo1.maven.org/maven2/ Retrieving org/clojure/pom.contrib/0.0.25/pom.contrib-0.0.25.pom from http://repo1.maven.org/maven2/ Could not find artifact clojure-complete:clojure-complete:pom:0.2.1 in central (http://repo1.maven.org/maven2) Retrieving clojure-complete/clojure-complete/0.2.1/clojure-complete-0.2.1.pom (1k) from http://clojars.org/repo/ Could not find artifact org.thnetos:cd-client:pom:0.3.3 in central (http://repo1.maven.org/maven2) Retrieving org/thnetos/cd-client/0.3.3/cd-client-0.3.3.pom (2k) from http://clojars.org/repo/ Could not find artifact clj-http:clj-http:pom:0.2.1 in central (http://repo1.maven.org/maven2) Retrieving clj-http/clj-http/0.2.1/clj-http-0.2.1.pom (3k) from http://clojars.org/repo/ Retrieving org/apache/httpcomponents/httpclient/4.1.2/httpclient-4.1.2.pom from http://repo1.maven.org/maven2/ Retrieving org/apache/httpcomponents/httpcomponents-client/4.1.2/httpcomponents-client-4.1.2.pom from http://repo1.maven.org/maven2/ Retrieving org/apache/httpcomponents/project/4.1.1/project-4.1.1.pom from http://repo1.maven.org/maven2/ Retrieving org/apache/httpcomponents/httpcore/4.1.2/httpcore-4.1.2.pom from http://repo1.maven.org/maven2/ Retrieving org/apache/httpcomponents/httpcomponen
Re: [ANN] The "It starts to look like a real App", 1.2.0 release of the Clojure Namespace Browser (clj-ns-browser)
Can you please share your project.clj when you ask a Q like this? Thanks, FrankS. On May 5, 2012, at 5:01 PM, Rostislav Svoboda wrote: > I put > :dev-dependencies [[clj-ns-browser "1.2.0"]] > > to my project.clj and did: > > $ lein deps > Copying 46 files to /home/bost/dev/webcli/lib > [WARNING] Overriding profile: 'null' (source: pom) with new instance > from source: pom > [WARNING] Overriding profile: 'null' (source: pom) with new instance > from source: pom > [WARNING] Overriding profile: 'null' (source: pom) with new instance > from source: pom > Copying 29 files to /home/bost/dev/webcli/lib/dev > > $ lein repl > REPL started; server listening on localhost port 27581 > IllegalStateException escape-html already refers to: > #'hiccup.core/escape-html in namespace: hiccup.page > clojure.lang.Namespace.warnOrFailOnReplace (Namespace.java:88) > clojure.core=> > > when I comment out the > ; :dev-dependencies [[clj-ns-browser "1.2.0"]] > then everything works as before > > Bost -- 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] The "It starts to look like a real App", 1.2.0 release of the Clojure Namespace Browser (clj-ns-browser)
I put :dev-dependencies [[clj-ns-browser "1.2.0"]] to my project.clj and did: $ lein deps Copying 46 files to /home/bost/dev/webcli/lib [WARNING] Overriding profile: 'null' (source: pom) with new instance from source: pom [WARNING] Overriding profile: 'null' (source: pom) with new instance from source: pom [WARNING] Overriding profile: 'null' (source: pom) with new instance from source: pom Copying 29 files to /home/bost/dev/webcli/lib/dev $ lein repl REPL started; server listening on localhost port 27581 IllegalStateException escape-html already refers to: #'hiccup.core/escape-html in namespace: hiccup.page clojure.lang.Namespace.warnOrFailOnReplace (Namespace.java:88) clojure.core=> when I comment out the ; :dev-dependencies [[clj-ns-browser "1.2.0"]] then everything works as before Bost -- 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] The "It starts to look like a real App", 1.2.0 release of the Clojure Namespace Browser (clj-ns-browser)
Dear fellow Clojurians, We're happy to announce the new release 1.2.0 of the "Clojure Namespace Browser". Clj-ns-browser is a namespace/class/var browser for Clojure's doc strings, source code, ClojureDocs.org examples & comments, and values. The browser's GUI is inspired by Smalltalk class library browsers, and is based on the Seesaw library. The "It starts to look like a real App" release, "1.2.0", adds a long list of new features to clj-ns-browser compared to the ancient, legacy "1.1.0" release that is already a few weeks old. One important distinction between the new and the old version, is the use of menus, popup-menus, keyboard short-cuts, copy&paste, drag&drop... all thanks to seesaw of course. A few of the highlights of the browser's feature set are: • seeing the loaded and unloaded namespaces with a one-click (require ...) option • see the doc-string of a selected var/namespace plus optionally the clojuredocs' examples, comments and see alsos, as well as the source code. • seeing the list of vars/classes either as local names or as fully qualified ones. • the ability to select more than one namespace and to use a regex filter to display the var-list... even with optional searching/matching of the associated doc-strings. • Predefined var/class-filters to see only macros/functions/protocols/multimethods/dynamic or deftypes/defrecords, or refers with and w/o clojure.core. - of course you can still use a regex-filter in addition on those results • adding a trace to a function with a simple button click and seeing the invocation information in your repl as the function is called - tools.trace is an underused gem of a tool! • (optional) color-coding based on the var-type: macros are red... functions are green. • optional download of the most recent clojuredocs-repo copy with on/off-line clojuredocs-info retrieval through simple menu commands • see basic info about (java-)classes like their class-inheritance list and the set of implemented interfaces • see the type and values of vars and the type and value of the @var... with their associated meta-maps. • see live-updates in realtime of new namespaces, new vars, and changed values... as they are defined by you at the repl or by your running program. • instructional, professional looking videos where Andy walks you thru the browser's features one-by-one (see the github page for links) • too many other features to list all here… Go over to github for install instructions, a wiki with documentation, and links to instructional videos: "https://github.com/franks42/clj-ns-browser";. Feedback, suggestions, and pull requests with yet more cool features, are very much appreciated! Enjoy, Frank Siebenlist Andy Fingerhut -- 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