http://github.com/stuarthalloway/lancet/tree/master
Very early days. Currently, lancet CAN * create run-once functions with deftarget * use either Clojure code or Ant tasks to provide target behavior * track whether a task has been run using a reference lurking in target metadata Lancet CANNOT YET * run from the command line * use Ant's internal datatypes (fileset, etc.) Feedback welcome, specifically on the following three issues: (1) Help improve the macro-fu of defrunonce. Currently it has to use eval. I feel dirty. :-) (2) Help me interpret the error in reflectively defining the Ant tasks (commented out lines at the bottom of lancet/ant/ant.clj (3) If it looks close to usable, tell me the minimum feature set I need to add to make you an early adopter. Rich, I am particularly think of you here. :-) Example syntax follows below... Cheers, Stuart (def src "src") (def jsrc (str src "/jvm")) (def cljsrc (str src "/clj")) (def build "classes") (def clojure_jar "clojure.jar") (def bootclj (str cljsrc "/clojure/boot.clj")) (deftarget test-target "Simple echo to test plumbing" (ant/echo {:message "test target"})) (deftarget init (ant/tstamp) (ant/mkdir {:dir build})) (deftarget compile "Compile Java sources." (init) (ant/javac {:srcdir jsrc :destdir build :includejavaruntime "yes" :debug "true" :target "1.5"})) --~--~---------~--~----~------------~-------~--~----~ 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 To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---