Ver código fonte

Fix some bugs.

tags/v0.2.0
YJC 3 anos atrás
pai
commit
2046b81ec9
2 arquivos alterados com 5 adições e 4 exclusões
  1. +3
    -2
      project.clj
  2. +2
    -2
      src/tservice/plugins/xps2pdf.clj

+ 3
- 2
project.clj Ver arquivo

@@ -21,7 +21,7 @@
{:provided
{:dependencies
[[org.clojure/clojure "1.10.1"]
[tservice "0.5.0"]]}
[tservice "[0.5.4, )"]]}

:uberjar
{:auto-clean true
@@ -29,4 +29,5 @@
:omit-source true
:javac-options ["-target" "1.8", "-source" "1.8"]
:target-path "target/%s"
:resource-paths ["resources"]}})
:resource-paths ["resources"]
:uberjar-name "xps2pdf.tservice-plugin.jar"}})

+ 2
- 2
src/tservice/plugins/xps2pdf.clj Ver arquivo

@@ -63,12 +63,12 @@
(fs-lib/create-directories! workdir)
; Launch the batchxps2pdf-convert
(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
zip-path]
:log log-path}))
:plugin-type :ToolPlugin
:response-type "data2files"}))
:response-type :data2files}))

;;; ------------------------------------------------ Event Processing ------------------------------------------------


Carregando…
Cancelar
Salvar