[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/3] guix: ant-build-system: put dummy project-name into default
From: |
Hartmut Goebel |
Subject: |
[PATCH 1/3] guix: ant-build-system: put dummy project-name into default build.xml. |
Date: |
Mon, 5 Sep 2016 11:24:32 +0200 |
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.
---
guix/build/ant-build-system.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/build/ant-build-system.scm b/guix/build/ant-build-system.scm
index 00a4a46..fe7bae5 100644
--- a/guix/build/ant-build-system.scm
+++ b/guix/build/ant-build-system.scm
@@ -40,7 +40,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 "jar.dir")
--
2.7.4
- [PATCH 0/3] Emhancements to the ant-build-system, Hartmut Goebel, 2016/09/05
- [PATCH 1/3] guix: ant-build-system: put dummy project-name into default build.xml.,
Hartmut Goebel <=
- [PATCH 2/3] guix: ant-build-system: add empty `tests` target to default build.xml., Hartmut Goebel, 2016/09/05
- Re: [PATCH 2/3] guix: ant-build-system: add empty `tests` target to default build.xml., Vincent Legoll, 2016/09/05
- Re: [PATCH 2/3] guix: ant-build-system: add empty `tests` target to default build.xml., Hartmut Goebel, 2016/09/05
- Re: [PATCH 2/3] guix: ant-build-system: add empty `tests` target to default build.xml., Danny Milosavljevic, 2016/09/05
- Re: [PATCH 2/3] guix: ant-build-system: add empty `tests` target to default build.xml., Vincent Legoll, 2016/09/05
- Re: [PATCH 2/3] guix: ant-build-system: add empty `tests` target to default build.xml., Hartmut Goebel, 2016/09/06
- Re: [PATCH 2/3] guix: ant-build-system: add empty `tests` target to default build.xml., Vincent Legoll, 2016/09/06
[PATCH 3/3] gnu: Remove now useless #:tests? #f from java-packages., Hartmut Goebel, 2016/09/05