[hibernate-dev] problem running local matrix tests

Karel Maesen karel at geovise.com
Wed Jun 12 17:44:50 EDT 2013


It used to work fine until the matrix-testing support was moved to a separate project. 

On 12 Jun 2013, at 15:22, Steve Ebersole <steve at hibernate.org> wrote:

> Hmm, not sure about that one.  I'll have to look.  Did that work before?  I see the code loading resources/hibernate.properties, but not generally loading all stuff from resources.  And even then, I am not seeing the loaded hibernate.properties being used atm.
> 
> 
> On Tue 11 Jun 2013 02:47:04 PM CDT, Karel Maesen wrote:
>> 
>> I compiled it locally and the exception is no longer thrown.
>> 
>> But now I have another problem. The generated matrix tasks have on their class path only the jdbcDepency from matrix.gradle and the hibernate-core classes and resources. The databases/<database>/resources directory is not added so the db-specific hibernate.properties is not picked up. The result is that all my matrix tests now run with the hibernate config of the unit tests.
>> 
>> 
>> On 11 Jun 2013, at 18:35, Steve Ebersole <steve at hibernate.org> wrote:
>> 
>>> You might be seeing https://github.com/hibernate/hibernate-matrix-testing/pull/1
>>> 
>>> I merged that pull request, but I have not built a new release and pulled that into hibernate-orm yet.
>>> 
>>> Could you try building it locally and integrating it into your local hibernate-orm checkout?  If that works, I'll do that upstream. Really just been looking for some validation that that fix really was a fix...
>>> 
>>> On 06/06/2013 02:48 PM, Karel Maesen wrote:
>>>> Hi,
>>>> 
>>>> I have local database configurations for matrix testing against spatial databases. With HHH-8235 support for matrix testing has been moved into  a separate project. Unfortunately, this change broke my matrix tests. I now get this error:
>>>> 
>>>> Execution failed for task ':hibernate-spatial:matrix_postgis'.
>>>>> No such property: project for class: org.hibernate.build.gradle.testing.database.alloc.DatabaseAllocator
>>>> Anyone an idea what I'm doing wrong?
>>>> 
>>>> Btw, I did update my Gradle file to include: apply plugin: 'hibernate-matrix-testing'.
>>>> 
>>>> Regards,
>>>> 
>>>> Karel Maesen
>>>> 
>>>> 
>>>> _______________________________________________
>>>> hibernate-dev mailing list
>>>> hibernate-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>> 
>> 




More information about the hibernate-dev mailing list