I have this folder structure: MyProject/src/main/java: My production source code MyProject/src/test/java: Source code of my unit tests
I'd like the MyProject/src/main/java to be on the classpath when I run the unit tests On Tue, Apr 26, 2011 at 2:46 PM, Peter Niederwieser <[email protected]>wrote: > > Magno Machado wrote: > > > > "or are your tests in a test src path and you want to add the standard > > java > > path to the classpath as well?" > > Yes, this is what I need! Sorry for not being clear... > > > > When you say "I'd like to add my source folder to the classpath", do you > mean the actual sources or the compilation results? Could you explain more > generally what you are trying to achieve? > > -- > Peter Niederwieser > Developer, Gradle > http://www.gradle.org > Trainer & Consultant, Gradleware > http://www.gradleware.com > Creator, Spock Framework > http://spockframework.org > > > -- > View this message in context: > http://gradle.1045684.n5.nabble.com/Add-source-folder-to-test-classpath-tp4341477p4341554.html > Sent from the gradle-user mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > -- Magno Machado Paulo http://blog.magnomachado.com.br http://code.google.com/p/emballo/
