1.2.0 permalink Arrow_down_16x16

instantiate-task

lancet

  • (instantiate-task project name props & filesets)

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:53 top

(defn instantiate-task [project name props & filesets]
  (let [task (.createTask project name)]
    (when-not task
      (throw (Exception. (format "No task named %s." name))))
    (doto task
      (.init)
      (.setProject project)
      (set-properties! props))
    (doseq [fs filesets]
      (.addFileset task fs))
    task))
Vars in lancet/instantiate-task: defn doseq doto format let name when-not
Used in 0 other vars

Comments top

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