c_inconnu3 wrote:
Joakim Erdfelt a écrit :
Thanks for this great help, i was going mad... :-)
This works :
*
this.getClass().getClassLoader().getResourceAsStream("a/b/c/myTest.properties");
This DOES NOT works :
* ClassLoader.getSystemResourceAsStream("a/b/c/myTest.properties");
*
this.g
On Wed, 2005-07-13 at 18:46 +0200, c_inconnu3 wrote:
> Thanks for this great help, i was going mad... :-)
>
> This works :
> *
> this.getClass().getClassLoader().getResourceAsStream("a/b/c/myTest.properties");
>
> This DOES NOT works :
> * ClassLoader.getSystemResourceAsStream("a/b/c/myTest.pro
Joakim Erdfelt a écrit :
Johnny Ruiz wrote:
c_inconnu3 wrote:
And 2 properties files in src/test/resources/ and
src/test/resources/a/b/c/.
When I run "m2 test" the following always returns null:
InputStream inputStream =
ClassLoader.getSystemResourceAsStream("a/b/c/myTest.properties");
S
Johnny Ruiz wrote:
c_inconnu3 wrote:
And 2 properties files in src/test/resources/ and
src/test/resources/a/b/c/.
When I run "m2 test" the following always returns null:
InputStream inputStream =
ClassLoader.getSystemResourceAsStream("a/b/c/myTest.properties");
System.out.println(" " +
c_inconnu3 wrote:
Hi,
I have this pom:
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
maven-v4_0_0.xsd">
4.0.0
mygroup
tests
0.20-SNAPSHOT
jar
Hi,
I have this pom:
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
maven-v4_0_0.xsd">
4.0.0
mygroup
tests
0.20-SNAPSHOT
jar
junit