From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:33231) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnTmy-0002FV-Tn for guix-patches@gnu.org; Tue, 16 Jul 2019 16:11:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnTmx-0001P3-UT for guix-patches@gnu.org; Tue, 16 Jul 2019 16:11:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42384) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hnTmx-0001Oe-Lm for guix-patches@gnu.org; Tue, 16 Jul 2019 16:11:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hnTmx-00064S-E8 for guix-patches@gnu.org; Tue, 16 Jul 2019 16:11:03 -0400 Subject: [bug#36695] [PATCH 2/3] guix: ant-build-system: Put dummy project-name into default build.xml. Resent-Message-ID: From: Hartmut Goebel Date: Tue, 16 Jul 2019 22:10:19 +0200 Message-Id: <20190716201020.3303-2-h.goebel@crazy-compilers.com> In-Reply-To: <20190716201020.3303-1-h.goebel@crazy-compilers.com> References: <20190716201020.3303-1-h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36695@debbugs.gnu.org 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 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") -- 2.21.0