Re: [hibernate-dev] gradle build problems

2011-03-28 Thread Strong Liu
http://community.jboss.org/wiki/MavenGettingStarted-Users --- Strong Liu http://hibernate.org http://github.com/stliu On Mar 29, 2011, at 2:02 AM, David Mansfield wrote: > Fresh checkout of master (4.0) from github, and ./gradlew yields: > > :

[hibernate-dev] Hibernate Search 3.4.0.CR1 released

2011-03-28 Thread Sanne Grinovero
This is likely going to be the last release before Final. It's very similar to 3.4.0.Beta1, for some more details see: http://in.relation.to/18892.lace Sanne ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/lis

[hibernate-dev] Mocking for unit tests

2011-03-28 Thread Tom Waterhouse
I've completed a unit test for HSEARCH-679. Testing the issue was made easier using mock objects, as I needed to mock SearchFactoryImplementor and Worker to determine if indexing work was created during transaction commit. The mocking library I've used recently is Mockito, and is the library used

[hibernate-dev] gradle build problems

2011-03-28 Thread David Mansfield
Fresh checkout of master (4.0) from github, and ./gradlew yields: :: :: UNRESOLVED DEPENDENCIES :: :: :: org.slf4j#slf4j-api;1

Re: [hibernate-dev] api/spi/internal package split

2011-03-28 Thread Steve Ebersole
On Monday, March 28, 2011, at 12:36 pm, Emmanuel Bernard wrote: > I'd say I like the current approach better than using spi / internal as top > level. > > The only think I would change is rename internal to some shorter version: > - impl > - private > - hidden > - ? > > Another discussion we

Re: [hibernate-dev] api/spi/internal package split

2011-03-28 Thread Emmanuel Bernard
I'd say I like the current approach better than using spi / internal as top level. The only think I would change is rename internal to some shorter version: - impl - private - hidden - ? Another discussion we had on HSearch is whether or not use internal on the package name that is always b

Re: [hibernate-dev] AS7 use of the "hibernate.ejb.resource_scanner" property to override the default org.hibernate.ejb.packaging.Scanner...

2011-03-28 Thread Emmanuel Bernard
On 28 mars 2011, at 16:23, Emmanuel Bernard wrote: > > On 28 mars 2011, at 15:35, Scott Marlow wrote: > >> On 03/28/2011 09:04 AM, Emmanuel Bernard wrote: >>> >>> On 27 mars 2011, at 19:36, Scott Marlow wrote: >>> We just discussed Hibernate 4.0 annotation scanning the other day and I >>

Re: [hibernate-dev] AS7 use of the "hibernate.ejb.resource_scanner" property to override the default org.hibernate.ejb.packaging.Scanner...

2011-03-28 Thread Emmanuel Bernard
On 28 mars 2011, at 15:35, Scott Marlow wrote: > On 03/28/2011 09:04 AM, Emmanuel Bernard wrote: >> >> On 27 mars 2011, at 19:36, Scott Marlow wrote: >> >>> We just discussed Hibernate 4.0 annotation scanning the other day and I >>> wanted to add to the conversation (which was about using >>> h

Re: [hibernate-dev] AS7 use of the "hibernate.ejb.resource_scanner" property to override the default org.hibernate.ejb.packaging.Scanner...

2011-03-28 Thread Scott Marlow
On 03/28/2011 09:06 AM, Emmanuel Bernard wrote: > > On 28 mars 2011, at 14:32, Scott Marlow wrote: > >> In the Scanner implementation, I had to resort to loading classes to >> satisfy the current Scanner implementation. Perhaps in the next revison >> to the Scanner interface, we might add a method

Re: [hibernate-dev] AS7 use of the "hibernate.ejb.resource_scanner" property to override the default org.hibernate.ejb.packaging.Scanner...

2011-03-28 Thread Scott Marlow
On 03/28/2011 09:04 AM, Emmanuel Bernard wrote: > > On 27 mars 2011, at 19:36, Scott Marlow wrote: > >> We just discussed Hibernate 4.0 annotation scanning the other day and I >> wanted to add to the conversation (which was about using >> https://github.com/jbossas/jandex). >> >> As a workaround fo

Re: [hibernate-dev] hibernate criteria query of collection-of-component and collection-of-value (HHH-3646)

2011-03-28 Thread Steve Ebersole
Just a reminder that Alpha2 is just about a week away (April 6) On Monday, March 21, 2011, at 08:27 pm, Steve Ebersole wrote: > Hi David. > > I was the one who requested help in converting this to a github pull > request. Most definitely! I will make sure this gets into alpha2 if you > do it up

Re: [hibernate-dev] JIRA notifications

2011-03-28 Thread Steve Ebersole
Well at this point I believe they are. The only ones *not* converted were: 1) Hibernate Shards 2) z - Hibernate 1.2 3) z - Hibernate 2 4) z - Hibernate Annotations 5) z - Hibernate Entity Manager And I do not really see moving these, unless someone had a particular reason why they shoud. On Mo

Re: [hibernate-dev] AS7 use of the "hibernate.ejb.resource_scanner" property to override the default org.hibernate.ejb.packaging.Scanner...

2011-03-28 Thread Emmanuel Bernard
On 28 mars 2011, at 14:32, Scott Marlow wrote: > Another point to consider is that the > org.hibernate.ejb.packaging.Scanner is not covering all Hibernate > integration points, but only the AS JPA integration (as far as I > currently understand it). AFAIK that's the only area where where we n

Re: [hibernate-dev] AS7 use of the "hibernate.ejb.resource_scanner" property to override the default org.hibernate.ejb.packaging.Scanner...

2011-03-28 Thread Emmanuel Bernard
On 28 mars 2011, at 14:32, Scott Marlow wrote: > In the Scanner implementation, I had to resort to loading classes to > satisfy the current Scanner implementation. Perhaps in the next revison > to the Scanner interface, we might add a method that doesn't return a > Set of Class's but instead

Re: [hibernate-dev] AS7 use of the "hibernate.ejb.resource_scanner" property to override the default org.hibernate.ejb.packaging.Scanner...

2011-03-28 Thread Emmanuel Bernard
On 27 mars 2011, at 19:36, Scott Marlow wrote: > We just discussed Hibernate 4.0 annotation scanning the other day and I > wanted to add to the conversation (which was about using > https://github.com/jbossas/jandex). > > As a workaround for https://issues.jboss.org/browse/JBAS-9141, I'll > r

Re: [hibernate-dev] JIRA notifications

2011-03-28 Thread Emmanuel Bernard
+1 to move all the remaining projects to the new scheme. Commons annotations cannot be ingested by core. It's a HSearch dependency and HSearch is moving towards no runtime dependency on Core. On 19 mars 2011, at 18:43, Steve Ebersole wrote: > I moved Core, Java Persistence API and Metamodel Gen

Re: [hibernate-dev] AS7 use of the "hibernate.ejb.resource_scanner" property to override the default org.hibernate.ejb.packaging.Scanner...

2011-03-28 Thread Scott Marlow
On 03/28/2011 04:38 AM, Hardy Ferentschik wrote: > Hi, > > as mentioned in the discussion on IRC I am definitely for a move to jandex. > In fact the current metamodel code I am implementing uses jandex. > > Personally I did initially not think about the possibility to share the > jandex > index bet

Re: [hibernate-dev] AS7 use of the "hibernate.ejb.resource_scanner" property to override the default org.hibernate.ejb.packaging.Scanner...

2011-03-28 Thread Hardy Ferentschik
Hi, as mentioned in the discussion on IRC I am definitely for a move to jandex. In fact the current metamodel code I am implementing uses jandex. Personally I did initially not think about the possibility to share the jandex index between AS7 and Hibernate, but it sounds of course like a good i