guix: ant-build-system: Use ant-task "jar" instead of executing "jar".

* guix/build/ant-build-system.scm (default-build.xml): Change XML for
  target "jar" to use ant-task "jar" instead of "exec".
This commit is contained in:
Hartmut Goebel 2017-04-20 16:43:35 +02:00
parent 7c0411879b
commit a331623931
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF
1 changed files with 3 additions and 4 deletions

View File

@ -118,10 +118,9 @@
(target (@ (name "jar")
(depends "compile, manifest"))
(mkdir (@ (dir "${jar.dir}")))
(exec (@ (executable "jar"))
(arg (@ (line ,(string-append "-cmf ${manifest.file} "
"${jar.dir}/" jar-name
" -C ${classes.dir} ."))))))
(jar (@ (destfile ,(string-append "${jar.dir}/" jar-name))
(manifest "${manifest.file}")
(basedir "${classes.dir}"))))
(target (@ (name "install"))
(copy (@ (todir "${dist.dir}"))