-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Validator - searching for ValidationConfigType
PostPosted: Sat Dec 19, 2009 10:25 am 
Newbie

Joined: Mon Aug 27, 2007 4:15 pm
Posts: 1
Hi,

i just wanted to have a look at the Hibernate Validator 4.0.2.GA source code, but when opening the current download package in Eclipse, it complains about being unable to find

ValidationConfigType in ValidationXmlParser
and
ConstraintMappingsType in XmlMappingParser

The HV-jar contains the compiled classes, but where is the source code for those 2 classes?


Top
 Profile  
 
 Post subject: Re: Validator - searching for ValidationConfigType
PostPosted: Mon Dec 21, 2009 8:12 am 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Hi,

the classes you are talking about are JAXB classes which are getting generated at build time. If you run the maven build or just look at the included pom you will see that they are getting generated in target/generated-sources. You have to add this directory to the source directory in your IDE setup (and of course you have to make sure that they get generated at least once).

--Hardy


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.