On 23/03/10 10:31 PM, Rene Groeschke wrote:
hi there, I moving an old project to gradle. this project has two folders(eclipse projects) 'AcmeProject' and 'AcmeProjectTests'. the build script is locatated in 'AcmeProject', but the test sources are available in 'AcmeProjectTests' My sourceset layout looks like that: //since we don't use maven style (src/main/java) for src directories sourceSets.main.java.srcDirs = ['src'] sourceSets.main.resources.srcDirs = ['src'] sourceSets.test.java.srcDirs = ['../AcmeProjectTests/src'] sourceSets.test.resources.srcDirs = ['../AcmeProjectTests/src'] Is there a way to define that the working directory for the junit tests is 'AcmeProjectTests' instead of 'AcmeProject'
In 0.9, there's a Test.workingDir property. In 0.8, there's a Test.options.dir property. -- Adam Murdoch Gradle Developer http://www.gradle.org --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
