Clojure-contrib is available on Github: http://github.com/richhickey/clojure-contrib/ -SS
On Sep 23, 5:14 am, ELaN <mr.y...@gmail.com> wrote: > I run a clj script file and get a FileNotFoundException. > The message is "Could not locate clojure/contrib/ > import_static__init.class or clojure/contrib/import_static.clj on > classpath". > > But I didn't find any file or dir like contrib in the clojure files. > If anyone have any solution,please share it,thank you. > > Here is the part of the code > """ > (ns examples.atom-snake > (:import (java.awt Color Dimension) > (javax.swing JPanel JFrame Timer JOptionPane) > (java.awt.event ActionListener KeyListener)) > (:use clojure.contrib.import-static > [clojure.contrib.seq-utils :only (includes?)])) > (import-static java.awt.event.KeyEvent VK_LEFT VK_RIGHT VK_UP VK_DOWN) > """ > you can get all the code here > > http://media.pragprog.com/titles/shcloj/code/examples/atom_snake.clj --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---