I've corrected this in the Hibernate, iBATIS and JPA tutorials.
<quote>
In this example, if you put a {{PersonDaoTest.properties}} file in
_src/test/resources/org/appfuse/tutorial/dao_, this file's properties
will be available via an "rb" variable.
</quote>
Thanks for your help!
Matt
On 4/23/07, celeraman+ <[EMAIL PROTECTED]> wrote:
celeraman+ wrote:
>
> You are just right! If I put my .properties file into
> src/test/resources/my/package/name, so
> the NullPointerException from populate Method goes away.
>
Just for take some notes...
Here a quote from Using Hibernate tutorial:
> Simply create a PersonDaoTest.properties file in the *same directory* as
> PersonDaoTest.java and define your property values inside it:
>
This information above is not correct for AppFuse 2.0 because the resources
must goes into src/test/resources/**/ as you explain me.
Regards,
---
celeraman+
--
View this message in context:
http://www.nabble.com/NullPointerException-when-trying-to-populate-in-test-case-tf3604674s2369.html#a10154557
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]