define-ant-task

lancet

  • (define-ant-task clj-name ant-name)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source lancet.clj:99 top

(defmacro define-ant-task [clj-name ant-name]
  `(defn ~clj-name [& props#]
     (let [task# (apply instantiate-task ant-project ~(name ant-name) props#)]
       (.execute task#)
       task#)))
Vars in lancet/define-ant-task: defmacro name apply concat defn let list seq vector
Used in 1 other vars symlink

Comments top

No comments for define-ant-task. Log in to add a comment.