当我放入多个包含时,它会给我一个错误提示。从gradle.properties调用我的属性也没有错误。
ant.path(id: 'cobertura.classpath.id') {
//resource ('tasks.properties')
fileset(dir: project.'cobertura.dir', includes: 'cobertura-2.1.1.jar', includes: 'lib/**/*.jar')
fileset(dir: project.'junit.dir', includes: 'junit-4.8.2.jar')
}
ant.path(id: 'classpath') {
ant.pathelement (path: 'dist/classes')
fileset(dir: project.'hdm.dir', includes: '**/*.jar')
fileset(dir: project.'dozer.dir', includes: '*.jar')
fileset(dir: project.'commons-lang3.dir', includes: '*.jar')
fileset(dir: project.'spring-integration.dir', includes: 'spring-integration-core' + '-' + project.'spring-integration.version' + '.jar'
includes: 'spring-integration-stream-' + project.'spring-integration.version' + '.jar'
includes: 'spring-integration-jms-' + project.'spring-integration.version' + '.jar')
}