Goal
This tutorials in these page show you how to create a running build of Magnolia CMS:
Install IDEA
On the IntelliJ website download the appropriate IDEA version for your environment. Note that IntelliJ IDEA does not require plugins.
Set-Up Tips&Tricks
JRebel set-up for intelliJ
When working with IntelliJ JRebel might be very helpful. See Using JRebel.
IntelliJ & JUnit
If you have JUnit enabled and want to run JUnit-Tests from IntelliJ, proceed reading, otherwise skip.
Like many other things, there are some default-settings for JUnit in intelliJ. Go to Run > Edit Configurations > Defaults > JUnit. There, check the field Working Directory. It's default value is the directory of your workspace. (see screenshot intelliJ-jUnit-defaults.png).
When running tests, usually you want to have your module as the working directory. To make sure that this works - independent of how you imported your modules - set the value of the field Working Directory to $MODULE_DIR$ . (see screenshot intelliJ-jUnit-module-home.png).
You may also want to have a look at - MAGNOLIA-5517Getting issue details... STATUS .
Additional information
- Git
- Development tips and tricks
- http://documentation.magnolia-cms.com/developing/dev-environment.html
- http://jira.magnolia-cms.com/browse/SME-30
- http://documentation.magnolia-cms.com/developing/dev-environment.html
- http://blog.tfnico.com/2012/04/my-git-setup-on-windows.html
- http://msysgit.github.com/
Building
To create a running build of Magnolia CMS, see the following tutorials: