Re: Newbie: running mvn test problem with configuration files and current directory

2007-04-12 Thread franz see
Good day, In addition to Sudheendra's message, you'd for your test resources project ... build ... testResources testResource directorysrc/test/java/resources/directory /testResource /testResources /build /project Btw, the default resource directories for

RE: Newbie: running mvn test problem with configuration files and current directory

2007-04-11 Thread Singh, Sudheendra GNI CON
Hi, You need to use build . testSourceDirectorysrc/test/java/testSourceDirectory testOutputDirectorytarget/test-classes /testOutputDirectory /build Cheers, Sudheendra N Singh -Original Message- From: Cristian

Re: Newbie: running mvn test problem with configuration files and current directory

2007-04-11 Thread Cristian D. Romanescu
Thanks, found the problem. I was loading the resource via: Thread.currentThread().getClass().getResource( config.xml ); replaced with getClass().getResource( config.xml ); and works fine now! Thank you, Cristian. Singh, Sudheendra GNI CON wrote: Hi, You need to use build