Re: What is the proper way to handle resource bundles when unit testing?

2004-01-04 Thread Chad Woolley
[EMAIL PROTECTED] wrote: Yes, you use resources for this. e.g. build . resources resource directorysrc/conf/directory includes include*.xsd/include include*.dtd/include include*.mod/include include*.properties/include

Re: What is the proper way to handle resource bundles when unit testing?

2004-01-04 Thread dion
Did you run pom:validate? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Chad Woolley [EMAIL PROTECTED] wrote on 04/01/2004 10:26:51 PM: [EMAIL PROTECTED] wrote: Yes, you use resources for this. e.g. build . resources

Re: What is the proper way to handle resource bundles when unit testing?

2004-01-02 Thread dion
Yes, you use resources for this. e.g. build . resources resource directorysrc/conf/directory includes include*.xsd/include include*.dtd/include include*.mod/include include*.properties/include

Re: What is the proper way to handle resource bundles when unit testing?

2004-01-02 Thread dion
These are unitTest resources right, and not build? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Chad Woolley [EMAIL PROTECTED] wrote on 02/01/2004 03:47:29 PM: Hi, I use a resource bundle in my app. In my ResourceManager class, I load it like

What is the proper way to handle resource bundles when unit testing?

2004-01-01 Thread Chad Woolley
Hi, I use a resource bundle in my app. In my ResourceManager class, I load it like this: ClassLoader classLoader = this.getClass().getClassLoader(); resourceBundle = ResourceBundle.getBundle(resourceFileName, locale, classLoader); However, when I run my ResourceManagerTest unit test

Re: What is the proper way to handle resource bundles when unit testing?

2004-01-01 Thread Jefferson K. French
When you say using resources doesn't seem to work, does that mean the files are not copied at all, or they are copied to the wrong place? Could you show us your build snippet and where you want the resource files to go? On Thu, 01 Jan 2004, at 21:47:29 [GMT -0700] Chad Woolley wrote: Hi, I

Re: What is the proper way to handle resource bundles when unit testing?

2004-01-01 Thread Keith Irwin
On Thu, 2004-01-01 at 20:47, Chad Woolley wrote: Hi, I use a resource bundle in my app. In my ResourceManager class, I load it like this: ClassLoader classLoader = this.getClass().getClassLoader(); resourceBundle = ResourceBundle.getBundle(resourceFileName, locale,