Re: TomEE not supporting Validator injection

2013-06-12 Thread Romain Manni-Bucau
with: mvn test -Ptomee-build-managed -Dtomee.version=1.6.0-SNAPSHOT -Dowb.version=1.2.1-SNAPSHOT i get the injection, then the constraint validator is not enriched but not sure we read validation.xml in WEB-INF/classes/META-INF, probably just in WEB-INF as mentionned in the spec (i know others

Re: TomEE not supporting Validator injection

2013-06-12 Thread Romain Manni-Bucau
IIRC (didnt read it for months) but it sayd META-INF for jar and WEB-INF for wars btw i'll add the meta-inf support since that's quite common: https://issues.apache.org/jira/browse/TOMEE-975 *Romain Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog:

Re: TomEE not supporting Validator injection

2013-06-12 Thread John D. Ament
Why are you going to add it when it already works? On Wed, Jun 12, 2013 at 12:05 PM, Romain Manni-Bucau rmannibu...@gmail.comwrote: IIRC (didnt read it for months) but it sayd META-INF for jar and WEB-INF for wars btw i'll add the meta-inf support since that's quite common:

Re: TomEE not supporting Validator injection

2013-06-12 Thread Romain Manni-Bucau
Was not the case on trunk Le 12 juin 2013 18:12, John D. Ament john.d.am...@gmail.com a écrit : Not sure I follow. It was working fine for me yesterday in TomEE 1.5.2. I saw bval load up my CVF and process injections properly (which is entirely outside of my issue I'm reporting). On Wed,

TomEE not supporting Validator injection

2013-06-11 Thread John D. Ament
Hi all In section 3.6 of the CDI spec, it indicates that the Validator (javax.validation.Validator) should be a built in bean, meaning the container should support injection of it. I was testing something locally and i noticed that TomEE wasn't injecting this object. Is this expected? John

Re: TomEE not supporting Validator injection

2013-06-11 Thread Howard W. Smith, Jr.
John, Wow, this is a coincidence and interesting. We have been discussing TomEE/CDI topics, and now you bring this up. Please click the following URL and read that. :) http://code.google.com/p/omnifaces/issues/detail?id=183 Howard On Tue, Jun 11, 2013 at 10:23 PM, John D. Ament