On Sun, 2008-02-24 at 16:09 +0100, Jan Torben Heuer wrote: > tarjei wrote: > > > Hi, I got a test that needs to read a file in src/test/resources. How > > should I write the test to get the information about the relative path > > to that file, either using TestNG or just plain Junit? > > I got unpredictable results when using test-resources and maven: eclipse > (junit plugin) and mvn test both ran successfully the test but mvn install > or mvn tomcat:deploy failed. > > Avoid test-resources if possible.
Well, I use it extensively in half-a-dozen different projects and have no such problems... Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
