[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/19: gnu: antlr3: Fix building after changes in ant-build-system.
From: |
guix-commits |
Subject: |
01/19: gnu: antlr3: Fix building after changes in ant-build-system. |
Date: |
Wed, 13 Nov 2019 16:50:39 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit 570f3b63709717a97a4a4501a6135e2c1f18bcdf
Author: Julien Lepiller <address@hidden>
Date: Wed Nov 13 22:18:28 2019 +0100
gnu: antlr3: Fix building after changes in ant-build-system.
* gnu/packages/java.scm (antlr3, antlr3-3.1, antlr3-3.3): Fix copying
resources causing an error message later in the bootstrap chain.
---
gnu/packages/java.scm | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 75eee9e..4734bba 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -6742,14 +6742,16 @@ import org.antlr.grammar.v3.ANTLRTreePrinter;"))
(add-before 'build 'fix-build-xml
(lambda _
(substitute* "build.xml"
- (("<exec") "<copy todir=\"${classes.dir}\">
+ (("target name=\"compile\">")
+ "target name=\"compile\">
+<copy todir=\"${classes.dir}\">
<fileset dir=\"tool/src/main/resources\">
<include name=\"**/*.stg\"/>
<include name=\"**/*.st\"/>
<include name=\"**/*.sti\"/>
<include name=\"**/STLexer.tokens\"/>
</fileset>
-</copy><exec"))
+</copy>"))
#t)))))
(native-inputs
`(("antlr" ,antlr2)
@@ -6855,14 +6857,16 @@ import org.antlr.grammar.v2.ANTLRTreePrinter;"))
(add-before 'build 'fix-build-xml
(lambda _
(substitute* "build.xml"
- (("<exec") "<copy todir=\"${classes.dir}\">
+ (("target name=\"compile\">")
+ "target name=\"compile\">
+<copy todir=\"${classes.dir}\">
<fileset dir=\"tool/src/main/resources\">
<include name=\"**/*.stg\"/>
<include name=\"**/*.st\"/>
<include name=\"**/*.sti\"/>
<include name=\"**/STLexer.tokens\"/>
</fileset>
-</copy><exec"))
+</copy>"))
#t)))))
(native-inputs
`(("antlr" ,antlr2)
@@ -6874,7 +6878,7 @@ import org.antlr.grammar.v2.ANTLRTreePrinter;"))
("antlr" ,antlr2)
("antlr3" ,antlr3-3.1)))))
-(define antlr3-3.1
+(define-public antlr3-3.1
(package
(inherit antlr3)
(version "3.1")
@@ -6932,14 +6936,16 @@ import org.antlr.grammar.v2.ANTLRTreePrinter;"))
(add-before 'build 'fix-build-xml
(lambda _
(substitute* "build.xml"
- (("<exec") "<copy todir=\"${classes.dir}\">
+ (("target name=\"compile\">")
+ "target name=\"compile\">
+<copy todir=\"${classes.dir}\">
<fileset dir=\"src\">
<include name=\"**/*.stg\"/>
<include name=\"**/*.st\"/>
<include name=\"**/*.sti\"/>
<include name=\"**/STLexer.tokens\"/>
</fileset>
-</copy><exec"))
+</copy>"))
#t)))))
(native-inputs
`(("antlr" ,antlr2)))
- branch master updated (bc11778 -> f041db8), guix-commits, 2019/11/13
- 01/19: gnu: antlr3: Fix building after changes in ant-build-system.,
guix-commits <=
- 04/19: gnu: Add java-jsonp-impl., guix-commits, 2019/11/13
- 02/19: gnu: Add java-signpost-core., guix-commits, 2019/11/13
- 03/19: gnu: Add java-jsonp-api., guix-commits, 2019/11/13
- 07/19: gnu: javacc: Install binaries., guix-commits, 2019/11/13
- 05/19: gnu: Add java-xmp., guix-commits, 2019/11/13
- 06/19: gnu: Add java-metadata-extractor., guix-commits, 2019/11/13
- 08/19: gnu: Add java-openjfx-build., guix-commits, 2019/11/13
- 15/19: gnu: Add java-commons-pool., guix-commits, 2019/11/13
- 10/19: gnu: Add java-openjfx-graphics., guix-commits, 2019/11/13
- 09/19: gnu: Add java-openjfx-base., guix-commits, 2019/11/13