[hibernate-issues] [Hibernate-JIRA] Commented: (HV-457) Simplify annotation processor setup in IDEs by providing a shaded jar

Gunnar Morling (JIRA) noreply at atlassian.com
Fri Mar 16 16:45:48 EDT 2012


    [ https://hibernate.onjira.com/browse/HV-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45997#comment-45997 ] 

Gunnar Morling commented on HV-457:
-----------------------------------

{quote}
Would that not be an option for the HV AP as well?
{quote}

The built-in constraints are used to register the supported data-types. Also some other BV annotations are referenced to get the corresponding annotation mirrors. Working with Strings might be an option, although I'm a bit concerned a bit type-safety. On the other hand the BV API doesn't change that frequently. I'll give a try and look how it works out.

> Simplify annotation processor setup in IDEs by providing a shaded jar
> ---------------------------------------------------------------------
>
>                 Key: HV-457
>                 URL: https://hibernate.onjira.com/browse/HV-457
>             Project: Hibernate Validator
>          Issue Type: Improvement
>          Components: annotation-processor
>            Reporter: Kevin Pollet
>
> When configuring the annotation processor in IDEs it's classpath has to be specified. In IDEs like Netbeans or IntelliJ the annotation processor can use the project classpath. But it's better if the classpath of project and annotation processor are isolated.
> In that case people shall setup manually the annotation processor classpath which has to contain at least HV and BV dependency. As Gunnar said it would be usefull to simplify the annotation processor configuration in IDEs by providing a shaded jar.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list