guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: guix: ant-build-system: Put dummy project-name into default build


From: guix-commits
Subject: 02/02: guix: ant-build-system: Put dummy project-name into default build.xml.
Date: Thu, 25 Jul 2019 04:24:02 -0400 (EDT)

htgoebel pushed a commit to branch staging
in repository guix.

commit cbad3570db3e692af55eac5b69cb6db062a39d77
Author: Hartmut Goebel <address@hidden>
Date:   Mon Sep 5 11:08:39 2016 +0200

    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.
---
 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 a0dd6f0..49549c1 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]