Building XWiki in IntelliJ IDEA
Install IntelliJ IDEA
Get the source for XWiki
The source for XWiki is available via a
Subversion repository. Check them out using your favorite Subversion client.
Create an IntelliJ IDEA project
Once you've checked out the modules you wish to work on, run
mvn idea:clean idea:idea from the top level directory you've checked out (it has to contain a Maven2
pom.xml file).
Building XWiki
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.