[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
Mon Mar 19 17:47:48 EDT 2012


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

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

I've pushed an experimental branch to https://github.com/gunnarmorling/hibernate-validator/tree/HV-457. The basic idea is to have a hierarchy with the package/type name constants (see [TypeNames|https://github.com/gunnarmorling/hibernate-validator/blob/HV-457/hibernate-validator-annotation-processor/src/main/java/org/hibernate/validator/ap/util/TypeNames.java]). That way all String representations of type names are centralized in one place. WDYT about that approach?

> 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
>            Assignee: Gunnar Morling
>
> 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