Re: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Doug Douglass
es block entirely. > Yeah, I did that, actually; however, the maven testrunner still can't find the file at runtime. -- View this message in context: http://www.nabble.com/Referencing+.properties+files+in+the+CLASSPATH+in+test-t1717149.html#a4664514 S

Re: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Martin Aspeli
artin -- View this message in context: http://www.nabble.com/Referencing+.properties+files+in+the+CLASSPATH+in+test-t1717149.html#a4664893 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECT

RE: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Martin Aspeli
till can't find the file at runtime. -- View this message in context: http://www.nabble.com/Referencing+.properties+files+in+the+CLASSPATH+in+test-t1717149.html#a4664514 Sent from the Maven - Users forum at Nabble.com. - To

Re: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Martin Aspeli
Any ideas? Martin src/test/resources *.* false src/test/java **/*.dataset.xml false -- View this message in context:

Re: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Doug Douglass
Oooppps, I misspoke...you have overridden the default test resources directory, but I don't think you've done so correctly. On 6/1/06, Doug Douglass <[EMAIL PROTECTED]> wrote: On 6/1/06, Martin Aspeli <[EMAIL PROTECTED]> wrote: > > TestDBSetup.properties lives in src/main/test/resources. > >

Re: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Doug Douglass
On 6/1/06, Martin Aspeli <[EMAIL PROTECTED]> wrote: TestDBSetup.properties lives in src/main/test/resources. Martin, I think your problem is that the above path is not the default test resources location, and it appears you have not overridden this in your POM. The default test resources di

RE: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Edelson, Justin
AM To: users@maven.apache.org Subject: Referencing .properties files in the CLASSPATH in test Hi guys, I have some unit tests that do things like this: InputStream stream = ClassLoader.getSystemResourceAsStream("TestDBSetup.properties"); assertNotNull("Could not load TestDBSetup.

Re: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Kieran Brady
Any help greatly appreciated! Martin -- View this message in context: http://www.nabble.com/Referencing+.properties+files+in+the+CLASSPATH+in+test-t1717149.html#a4663313 Sent from the Maven - Users forum at Nabble.com. - To unsubscri

Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Martin Aspeli
directory-naming naming-java 0.8 test Any help greatly appreciated! Martin -- View this message in context: http://www.nabble.com/Referencing+.properties+files+in+the+CLASSPATH+in+test-t1717149.html#a4663313 Se