Re: [hibernate-dev] Issue a warning if field and getter annotation styles are mixed?

2016-01-13 Thread Gunnar Morling
There you go: https://hibernate.atlassian.net/browse/HHH-10440 2016-01-12 16:08 GMT+01:00 Steve Ebersole : > Create the issue and use the 'jandex-binding' version in Jira > > On Tue, Jan 12, 2016 at 5:57 AM Sanne Grinovero wrote: > >> +1 this is a very common mistake for beginners. >> >> But I'm

Re: [hibernate-dev] 5.1 tentative release date

2016-01-13 Thread Guillaume Smet
On Tue, Jan 12, 2016 at 6:40 PM, Steve Ebersole wrote: > If you clean up the conflicts I can look for 5.1 > Done! -- Guillaume ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] Issue a warning if field and getter annotation styles are mixed?

2016-01-13 Thread Steve Ebersole
Thanks. BTW, https://github.com/sebersole/hibernate-core/commits/jandex-binding is the branch where I am working on that Jandex migration. The PersistentAttributeMemberResolver is in place there if you wanted to check whether that code handles this already. On Wed, Jan 13, 2016 at 2:47 AM Gunna

Re: [hibernate-dev] Hibernate ORM and Java 8 usage

2016-01-13 Thread Steve Ebersole
Vlad, I see you created a PR for moving your new tests out of hibernate-entitymanager into documentation. I guess that depends on the intent. Are they meant as illustrations? And if so, how are you expecting people will see them? And if they are meant as real tests rather than as illustrations,

Re: [hibernate-dev] Hibernate ORM and Java 8 usage

2016-01-13 Thread Vlad Mihalcea
Hi Steve, The User Guide illustrations are snippets of code that go into the extras folder, which stays right next to every chapter. That's in the main folder. The tests are now located in the test folder of the documentation folder, so that we can update/evolve them in future. They are also a pr

Re: [hibernate-dev] Hibernate ORM and Java 8 usage

2016-01-13 Thread Gunnar Morling
Hey Vlad, slightly related and just in case you are not aware of this feature yet: You can include (parts of) actual source code files straight into AsciiDoc documents. We do that in the HV reference guide, e.g. at [1]. That way you are 100% sure your examples actually compile (and pass tests) and

Re: [hibernate-dev] Hibernate ORM and Java 8 usage

2016-01-13 Thread Steve Ebersole
Gunnar, that's very awesome. You mention being able to include snippets of an actual source file. Do you have pointers to an explanation of the snippets/portion part of that? On Wed, Jan 13, 2016 at 8:47 AM Gunnar Morling wrote: > Hey Vlad, > > slightly related and just in case you are not awa

Re: [hibernate-dev] Hibernate ORM and Java 8 usage

2016-01-13 Thread Vlad Mihalcea
Hi Gunnar, That's really cool, I didn't know that. We have the old code snippets as they were copied from the docbook folder and there are also some new tests that I wrote for the new content. I could really use this approach for the new snippets. Vlad On Wed, Jan 13, 2016 at 4:47 PM, Gunnar Mor

Re: [hibernate-dev] Hibernate ORM and Java 8 usage

2016-01-13 Thread Vlad Mihalcea
This is how you mark an anchor in the source code: //tag::constraintMapping[]HibernateValidatorConfiguration configuration = Validation.byProvider( HibernateValidator.class ) .configure(); ConstraintMapping constraintMapping = configuration.createConstraintMapping(); constraintMapping

Re: [hibernate-dev] Hibernate ORM and Java 8 usage

2016-01-13 Thread Vlad Mihalcea
It's quite flexible. I'll have to use it as soon as we agree with the tests that were moved into the doc folder. Vlad On Wed, Jan 13, 2016 at 5:07 PM, Gunnar Morling wrote: > Right; you also can use the same tag several times if you want several > distinct snippets from a file to end up in one

Re: [hibernate-dev] Hibernate ORM and Java 8 usage

2016-01-13 Thread Gunnar Morling
Right; you also can use the same tag several times if you want several distinct snippets from a file to end up in one listing in the docs: https://github.com/hibernate/hibernate-validator/blob/master/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/failfast/Car.java . T

Re: [hibernate-dev] Hibernate ORM and Java 8 usage

2016-01-13 Thread Hardy Ferentschik
Hi, > slightly related and just in case you are not aware of this feature > yet: You can include (parts of) actual source code files straight into > AsciiDoc documents. We do that in the HV reference guide, e.g. at [1]. > That way you are 100% sure your examples actually compile (and pass > tests)

Re: [hibernate-dev] Hibernate ORM and Java 8 usage

2016-01-13 Thread Steve Ebersole
I agree completely with this. And yes he did, but then we are moving to Asciidoc :) On Wed, Jan 13, 2016 at 10:32 AM Hardy Ferentschik wrote: > Hi, > > > slightly related and just in case you are not aware of this feature > > yet: You can include (parts of) actual source code files straight i

[hibernate-dev] staging Blog site

2016-01-13 Thread Steve Ebersole
Trying to push and verify my announcement blog post for 5.0.7 release, but Jenkins fails to build it[1]. Apparently command `rake` not found. So what now? [1] - http://ci.hibernate.org/view/Website/job/staging.in.relation.to/145/ ___ hibernate-dev mail

Re: [hibernate-dev] staging Blog site

2016-01-13 Thread Sanne Grinovero
Could you try again now please? On 13 January 2016 at 19:26, Steve Ebersole wrote: > Trying to push and verify my announcement blog post for 5.0.7 release, but > Jenkins fails to build it[1]. Apparently command `rake` not found. > > So what now? > > [1] - http://ci.hibernate.org/view/Website/job

Re: [hibernate-dev] staging Blog site

2016-01-13 Thread Steve Ebersole
Whatever you did seems to have done the trick: http://ci.hibernate.org/view/Website/job/staging.in.relation.to/146/ Thanks On Wed, Jan 13, 2016 at 1:32 PM Sanne Grinovero wrote: > Could you try again now please? > > On 13 January 2016 at 19:26, Steve Ebersole wrote: > > Trying to push and ver

Re: [hibernate-dev] staging Blog site

2016-01-13 Thread Steve Ebersole
Sorry, spoke too soon... RROR: Running Awestruct failed. /mnt/jenkins-workdir/workspace/staging.in.relation.to/Rakefile:104:in `run_awestruct' /mnt/jenkins-workdir/workspace/staging.in.relation.to/Rakefile:71:in `block in ' Tasks: TOP => gen (See full trace by running task with --trace) On Wed,

Re: [hibernate-dev] staging Blog site

2016-01-13 Thread Steve Ebersole
Per Hardy this might be due to a bad post uploaded to staging by Max. I just deleted that file from staging and am trying build again On Wed, Jan 13, 2016 at 1:50 PM Steve Ebersole wrote: > Sorry, spoke too soon... > > RROR: Running Awestruct failed. > /mnt/jenkins-workdir/workspace/staging.in.

Re: [hibernate-dev] staging Blog site

2016-01-13 Thread Steve Ebersole
Ok, that fixed this last problem On Wed, Jan 13, 2016 at 2:17 PM Steve Ebersole wrote: > Per Hardy this might be due to a bad post uploaded to staging by Max. I > just deleted that file from staging and am trying build again > > On Wed, Jan 13, 2016 at 1:50 PM Steve Ebersole > wrote: > >> Sorr

Re: [hibernate-dev] staging Blog site

2016-01-13 Thread andrea boriero
the problem seems related with the file name /2016-01-12-jboss-community-asylum-hibernate-strikes-back-episode-v..erb instead of /2016-01-12-jboss-community-asylum-hibernate-strikes-back-episode-v.*html* .erb On 13 January 2016 at 20:22, Steve Ebersole wrote: > Ok, that fixed this last proble

Re: [hibernate-dev] staging Blog site

2016-01-13 Thread Steve Ebersole
Ok, on to the next... staging.hibernate.org build fails now: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1165) [sender=3.1.1] On Wed, Jan 13, 2016 at 2:34 PM andrea boriero wrote: > the problem seems related with the file name > > /2016-01-12-

Re: [hibernate-dev] staging Blog site

2016-01-13 Thread Steve Ebersole
Ok, next problem... :( http://ci.hibernate.org/view/Website/job/www.hibernate.org/ This job has been stuck in "pending—ci-slave-4 is offline" for hours now. On Wed, Jan 13, 2016 at 2:37 PM Steve Ebersole wrote: > Ok, on to the next... > > staging.hibernate.org build fails now: > > rsync error:

Re: [hibernate-dev] staging Blog site

2016-01-13 Thread Gunnar Morling
Davide, since Dec 21st this job is configured to run on slave4 only (which is offline). Is there a specific reason for this or can it be changed to run on any node again? 2016-01-14 3:21 GMT+01:00 Steve Ebersole : > Ok, next problem... :( > > http://ci.hibernate.org/view/Website/job/www.hibernate.

[hibernate-dev] JIRA: Activity dashboard not accessible for anonymous users

2016-01-13 Thread Gunnar Morling
Hi, When not being logged into JIRA, I am getting an error when opening the "Activity" view in JIRA, e.g. at https://hibernate.atlassian.net/projects/HV/summary: "This gadget cannot be displayed on your dashboard. This could be due to a licensing problem or an application error." Anyone know

Re: [hibernate-dev] JIRA: Activity dashboard not accessible for anonymous users

2016-01-13 Thread Vlad Mihalcea
Although not related to the issue, can someone add more rights to my JIRA account, at least to edit my own posts. Vlad On Thu, Jan 14, 2016 at 9:02 AM, Gunnar Morling wrote: > Hi, > > When not being logged into JIRA, I am getting an error when opening > the "Activity" view in JIRA, e.g. at > ht