[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5693) Re-enable entitymanager tests
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Fri Oct 29 08:20:48 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=38929#action_38929 ]
Hardy Ferentschik commented on HHH-5693:
----------------------------------------
Re-enabled the test, but currently there are still three tests in {{PackagedEntityManagerTest}} failing. These tests are _testDefaultPar_, _testDefaultParForPersistence_1_0_ and _testExplodedPar_. The error only occurs on Mac (at least I think so) and the problem is that the compiled package-info.class files used by {{PackagedEntityManagerTest}} "loose" the {{@NamedQuery}} information when they are getting compiled.
This might be related to another Mac "hack" we had to introduce. For some reason recursive compiling via the annotation processor does not seems to work on Mac if the option _-s <dir>_ is passed to the processor. On other system annotation processing (metamodel generation) can happen during the main compilation. For now we introduced to compilations. One to just create the metamodel (_-proc:only_) and one for compiling the test sources without annotation processing (_-proc:none_).
> Re-enable entitymanager tests
> -----------------------------
>
> Key: HHH-5693
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5693
> Project: Hibernate Core
> Issue Type: Bug
> Components: build
> Affects Versions: 3.6.0
> Reporter: Hardy Ferentschik
> Assignee: Hardy Ferentschik
> Fix For: 4.0.0.Alpha1
>
>
> entitymanager tests were disabled during the move to gradle. The build and tests need to be updated.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list