Re: Resources and JUnit

2007-08-14 Thread Steven Rowe
Ray Wenderlich wrote: > I am using Maven 2.0.8. Wow, where can I get me one of them? :) (2.0.7 is the most recent release.) Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Resources and JUnit

2007-08-14 Thread Ray Wenderlich
Sent: Tuesday, August 14, 2007 12:44 AM > > To: users@maven.apache.org > > Subject: Resources and JUnit > > > > Hi all, > > > > I am testing a class that is using a .properties file that I have > > placed in src\main\resources. I am loading it via: > >

RE: Resources and JUnit

2007-08-14 Thread Lalor, Brian
> -Original Message- > From: Ray Wenderlich [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 14, 2007 12:44 AM > To: users@maven.apache.org > Subject: Resources and JUnit > > Hi all, > > I am testing a class that is using a .properties file that I have >

Resources and JUnit

2007-08-13 Thread Ray Wenderlich
Hi all, I am testing a class that is using a .properties file that I have placed in src\main\resources. I am loading it via: InputStream is = getClass().getClassLoader().getResourceAsStream("add.properties"); The .properties file gets copied to target\classes\add.properties, and when I create a