Kieran Brady-2 wrote:
> 
> this.getClass().getClassLoader().getResourceAsStream(...
> 
> rather than using the system classloader and it works in both Eclipse and 
> Maven.
> 

Ah, beautiful - that does it! Thank you!

Out of interest, why does one work and the other not?

Martin
--
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 PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to