GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||
GeezerVison is showing hibernate.org — Setting up IntelliJ IDEA to contribute to Hibernate projects - Hibernate
ORM
Search
Validator
Reactive
Repositories
Others
Community
Blog
Forums
X
Bluesky
Community
Governance
Commonhaus - Membership
Commonhaus - Joining FAQ
Contribute - Guidelines
Contribute - Set up IntelliJ IDEA
Contribute - Set up Eclipse IDE
Contribute - Build Hibernate ORM
Team
Contributors to ORM
Contributors to Search
Contributors to Validator
Contributors to Reactive
Contributors to Tools
Contributors to OGM
Corporate contributors
Licenses
Keys
Integrations
Community Our GitHub organization Our issue trackerSetting up IntelliJ IDEA to contribute to Hibernate projectsOfficial website: http://www.jetbrains.com/idea/ Build system integrationIdentifying the build systemSome of the Hibernate projects use Maven, some others use Gradle.
After you check out the project from GitHub,
check if there is a GradleIn general the IntelliJ IDEA support for importing Gradle projects should be the preferred means of importing the project. Support for this feature is massively better in 14.1 than in previous versions.
Note that automatic importing in IntelliJ IDEA 12 or 13 seems to be problematic on Mac OS X (mavericks). Here is a set of workarounds:
Code styleDownload the settings from our GitHub repository:
The authoritative code style is defined by the CheckStyle checks file associated with the project; be sure to check against those prior to pushing. Code templatesThe best approach to automatically apply the proper copyright/license headers to newly created files is to leverage the Copyright plugin (now a bundled plugin). Set up on profile per Hibernate project you want to deal with in the Copyright configuration ("Settings" → "Copyright") and then select the one to use for your IntelliJ IDEA project. Note you can define the profiles once and for all if you go through "Other settings" → "Settings for new projects" → "Copyright": they will be made available automatically in every new IntelliJ IDEA project. Here are the standard license headers for each project:
Debugging
One important aspect to debugging through Hibernate sources is to make sure that the mere act of debugging does not force proxies to initialize just so the debugger can "show" them. In IntelliJ IDEA this is easily configured through what it calls "Data Type Renderers" and "Data Views". To access this configuration, open your Settings (Ctrl+Alt+S) and go to "IDE Settings" → "Debugger". Expand "Debugger" and you will find both "Data Type Renderers" and "Data Views":
Annotation Processors in Hibernate ORM
It’s currently recommended to explicitly disable the annotation processors in IntelliJ IDEA. From the project settings, "Java Compiler", make sure that:
Then in the module settings:
BeyondIf you want to contribute to Hibernate projects, start here. ProjectsContribute and community
Copyright ©
Hibernate.
All rights reserved.
| ||||||
| You are visitor 01402894 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |