|
|
|
|
|
|
|
|
(fs-lib/create-directories! workdir) |
|
|
(fs-lib/create-directories! workdir) |
|
|
; Launch the batchxps2pdf-convert |
|
|
; Launch the batchxps2pdf-convert |
|
|
(spit (fs-lib/join-paths workdir log-path) (json/write-str {:status "Running" :msg ""})) |
|
|
(spit (fs-lib/join-paths workdir log-path) (json/write-str {:status "Running" :msg ""})) |
|
|
(publish-event! :batchxps2pdf-convert {:from-files from-files :to-dir workdir}) |
|
|
|
|
|
|
|
|
(publish-event! "batchxps2pdf" {:from-files from-files :to-dir workdir}) |
|
|
{:files [pdf-path |
|
|
{:files [pdf-path |
|
|
zip-path] |
|
|
zip-path] |
|
|
:log log-path})) |
|
|
:log log-path})) |
|
|
:plugin-type :ToolPlugin |
|
|
:plugin-type :ToolPlugin |
|
|
:response-type "data2files"})) |
|
|
|
|
|
|
|
|
:response-type :data2files})) |
|
|
|
|
|
|
|
|
;;; ------------------------------------------------ Event Processing ------------------------------------------------ |
|
|
;;; ------------------------------------------------ Event Processing ------------------------------------------------ |
|
|
|
|
|
|