Install IntelliJ IDEA
Get the source for XWiki
The source for XWiki is available via a source repository.
Create an IntelliJ IDEA project
IntelliJ IDEA supports Maven out of the box so all you need to do is open the pom.xml file for the project you wish to build/debug.
Building sources
In IDEA's menu, click on Build > Make Project.
Some problems you may face
- org.suigeneris.jrcs.rcs package problems: IDEA will highlight and compilation may fail too depending on the version of IDEA you're using. The reason is because this package is called rcs which is a special name that is ignored by default by IntelliJ. Fix:
- On old versions: File > Settings... > General > ignore files and folders : remove the rcs and RCS entries (you can safely remove this as xwiki does not use the rcs versioning system).
- On more recent versions: File Types, then Ignore Files and Folders at the bottom. Remove rcs from the list.