Re: FileNotFoundException while reading static input file in JUnit

2011-02-10 Thread Benson Margulies
And why project.basedir and not just ${basedir}? plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration forkModealways/forkMode

FileNotFoundException while reading static input file in JUnit

2011-02-09 Thread tom rider
files are located inside src/test/resources folder? -- View this message in context: http://maven.40175.n5.nabble.com/FileNotFoundException-while-reading-static-input-file-in-JUnit-tp3378700p3378700.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: FileNotFoundException while reading static input file in JUnit

2011-02-09 Thread Benson Margulies
= new File(myfile); Question: how to specify in pom.xml file that my test input files are located inside src/test/resources folder? -- View this message in context: http://maven.40175.n5.nabble.com/FileNotFoundException-while-reading-static-input-file-in-JUnit-tp3378700p3378700.html Sent

Re: FileNotFoundException while reading static input file in JUnit

2011-02-09 Thread tom rider
/FileNotFoundException-while-reading-static-input-file-in-JUnit-tp3378700p3378726.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail

Re: FileNotFoundException while reading static input file in JUnit

2011-02-09 Thread Wayne Fay
       configuration             data${project.basedir}/src/test/data/data        /configuration What makes you think that is the right way to do it? Doesn't seem like you read the documentation about system properties and Surefire.