hi, have just set up a build agent on a new host. Previously, build agents
ran on an FC14 host, the new one is a centos 5 host.
I've installed gradle (milestone 3) on the host, and it seems that the
classpath is built up differently now.
custom task:
configurations {
proto
}
dependencies {
proto "com.dyuproject.protostuff:protostuff-compiler:1.0.0.M7"
}
task compileProto << {
ant.java (classname: "com.dyuproject.protostuff.compiler.CompilerMain",
classpath: configurations.proto.asPath,
dir: "$project.projectDir") {
arg(line: "path/to/protostuff.properties")
}
}
On FC14, it runs fine, but running for the first time on CentOS 5, it fails
with a ClassDefNotFound exception, with the dependencies of
protostuff-compiler not being resolved. If I manually add the 2 dependencies
of protostuff-compiler to the proto configuration, the ant java task
succeeds without error.
Anything obvious as to why the dependencies are not being resolved?