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
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
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
Any ideas?
Martin
src/test/resources
*.*
false
src/test/java
**/*.dataset.xml
false
--
View this message in context:
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.
>
>
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
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.
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
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