fix logback-classic
more/packages/java.scm
5419 | 5419 | (lambda _ | |
5420 | 5420 | (mkdir-p "build/classes") | |
5421 | 5421 | (and | |
5422 | - | (zero? (apply system* "groovyc" "-d" "build/classes" "-j" | |
5422 | + | ;; FIXME: Using groovyc from groovy directly fails | |
5423 | + | (zero? (apply system* "java" "-cp" (getenv "CLASSPATH") | |
5424 | + | "org.codehaus.groovy.tools.FileSystemCompiler" | |
5425 | + | "-d" "build/classes" "-j" | |
5423 | 5426 | (find-files "src/main/" ".*\\.(groovy|java)$"))) | |
5424 | 5427 | (zero? (system* "ant" "jar")))))))) | |
5425 | 5428 | (inputs | |
… | |||
5427 | 5430 | ("java-slf4j-api" ,java-slf4j-api) | |
5428 | 5431 | ,@(package-inputs java-logback-core))) | |
5429 | 5432 | (native-inputs | |
5430 | - | `(("groovy" ,groovy) | |
5433 | + | `(("groovy-bootstrap" ,groovy-bootstrap) | |
5434 | + | ("java-commons-cli" ,java-commons-cli) | |
5435 | + | ("java-asm" ,java-asm) | |
5436 | + | ("antlr2" ,antlr2) | |
5431 | 5437 | ;; for tests | |
5432 | 5438 | ("java-junit" ,java-junit) | |
5433 | 5439 | ("java-hamcrest-core" ,java-hamcrest-core) |