From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: guix-devel@gnu.org
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 [thread overview]
Message-ID: <1473067474-7485-2-git-send-email-h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <1473067474-7485-1-git-send-email-h.goebel@crazy-compilers.com>
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
next prev parent reply other threads:[~2016-09-05 9:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-05 9:24 [PATCH 0/3] Emhancements to the ant-build-system Hartmut Goebel
2016-09-05 9:24 ` Hartmut Goebel [this message]
2016-09-05 9:24 ` [PATCH 2/3] guix: ant-build-system: add empty `tests` target to default build.xml Hartmut Goebel
2016-09-05 10:59 ` Vincent Legoll
2016-09-05 11:32 ` Hartmut Goebel
2016-09-05 20:26 ` Danny Milosavljevic
2016-09-05 20:57 ` Vincent Legoll
2016-09-06 7:13 ` Hartmut Goebel
2016-09-06 10:52 ` Vincent Legoll
2016-09-05 9:24 ` [PATCH 3/3] gnu: Remove now useless #:tests? #f from java-packages Hartmut Goebel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1473067474-7485-2-git-send-email-h.goebel@crazy-compilers.com \
--to=h.goebel@crazy-compilers.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.