summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2016-09-05 11:08:39 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2019-07-25 10:21:45 +0200
commitcbad3570db3e692af55eac5b69cb6db062a39d77 (patch)
tree2a0eb29dd33adc196c0dad2f61d1f781f1269443 /guix
parenta3316239312b2dfd43c51f283860352e5652ea06 (diff)
guix: ant-build-system: Put dummy project-name into default build.xml.
Without this, ant reported error messages like Target "tests" does not exist in the project "null". Simple using the jar-name is a good compromise. * guix/build/ant-build-system.scm (default-build.xml): Add attribute to sxml expression.
Diffstat (limited to 'guix')
-rw-r--r--guix/build/ant-build-system.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/build/ant-build-system.scm b/guix/build/ant-build-system.scm
index a0dd6f0fb4..49549c1b4b 100644
--- a/guix/build/ant-build-system.scm
+++ b/guix/build/ant-build-system.scm
@@ -43,7 +43,8 @@
(call-with-output-file "build.xml"
(lambda (port)
(sxml->xml
- `(project (@ (basedir "."))
+ `(project (@ (basedir ".")
+ (name ,jar-name))
(property (@ (name "classes.dir")
(value "${basedir}/build/classes")))
(property (@ (name "manifest.dir")