whummer / jaxb-facets

Support for extended XSD features in JAXB: facets (restrictions on simple types), annotations, asserts, ...
Other
26 stars 18 forks source link

Can you provide some help on integrating facets to jboss as 7 #3

Closed abregar closed 11 years ago

abregar commented 11 years ago

Due to different class loader it seems that endorsement of jars does not work well and I cannot make this work with as7. Are you able to provide some help?

I follow the issue jaxb-917 and I see hibernate validator is implemented with custom validator som IMO it should work, just dont know how to push it to this particular application server.

tnx

pellcorp commented 11 years ago

You would do the same as if you wanted to use a later jaxb version. The way its packaged now that is what it is.

So jboss mailing list -> how to use a new jaxb version?

With cxf and spring to use new jaxb it just needs to be on classpath. No endorsed at runtime only maven build time

Sent from my Galaxy S2 On Jan 25, 2013 10:07 AM, "abregar" notifications@github.com wrote:

Due to different class loader it seems that endorsement of jars does not work well and I cannot make this work with as7. Are you able to provide some help?

I follow the issue jaxb-917 and I see hibernate validator is implemented with custom validator som IMO it should work, just dont know how to push it to this particular application server.

tnx

— Reply to this email directly or view it on GitHubhttps://github.com/whummer/jaxb-facets/issues/3.

abregar commented 11 years ago

Thank you very much, just didnt see at first glance. Just replaced api and impl in jboss as7 modules and facets works out of the box. And this project of yours really rocks. I wish that you succed to push it to jaxb original project!