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") (target (@ (name "jar")
(depends "compile, manifest")) (depends "compile, manifest"))
(mkdir (@ (dir "${jar.dir}"))) (mkdir (@ (dir "${jar.dir}")))
(exec (@ (executable "jar")) (jar (@ (destfile ,(string-append "${jar.dir}/" jar-name))
(arg (@ (line ,(string-append "-cmf ${manifest.file} " (manifest "${manifest.file}")
"${jar.dir}/" jar-name (basedir "${classes.dir}"))))
" -C ${classes.dir} ."))))))
(target (@ (name "install")) (target (@ (name "install"))
(copy (@ (todir "${dist.dir}")) (copy (@ (todir "${dist.dir}"))