mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-22 02:07:56 +01:00
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.
This commit is contained in:
parent
bc1177870d
commit
570f3b6370
1 changed files with 13 additions and 7 deletions
|
@ -6742,14 +6742,16 @@ (define-public antlr3
|
|||
(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 @@ (define antlr3-3.3
|
|||
(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 @@ (define antlr3-3.3
|
|||
("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 @@ (define antlr3-3.1
|
|||
(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)))
|
||||
|
|
Loading…
Reference in a new issue