This page (revision-61) was last changed on 24-Sep-2019 16:53 by Albrecht Striffler

This page was created on 29-Jan-2014 10:44 by Albrecht Striffler

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
61 24-Sep-2019 16:53 11 KB Albrecht Striffler to previous

Page References

Incoming links Outgoing links
IntelliJ FAQ ...nobody

Version management

Difference between version and

At line 6 removed 5 lines
!!IntelliJ does not start with OSX Yosemite (no Java 1.6 installed)
With version Yosemite, OSX no longer bundles Java 1.6. Because of that, we have to tell IntelliJ to use the Java 1.8 (or newer) runtime instead. The best way to do this is to put a file "idea.properties" into the directory {{~/Library/Preferences/IntelliJXX/}}, specifying the correct runtime. You can also specify other properties like console buffer size and so forth. Your properties file could look like this: [idea.properties]. It's also ok to just use this file.
At line 25 changed 3 lines
Download the attached [code_styles.jar] and import them with File -> Import settings.\\
\\
Also, under Settings, go to "File and Code Templates" (use search bar in Settings) and in the tab "Includes" adapt your File Header. Instead of the "Created by ... on... " use the following:
Download the attached [code_styles.jar] and import them with File -> Import settings.
At line 30 changed 5 lines
%%prettify
{{{/**
* @author Your Name (optionally your company)
* @created ${DATE}
*/}}}
!!Add copyright header
At line 25 added one line
Download the attached [copyright.txt] and add it the following way:
At line 37 changed one line
!! IntelliJ Inspections
[{Image src='copyright.jpg' height='250'}]
At line 39 changed one line
Check out the following How-To page: [How-To IntelliJ Inspections]
The provided copyright.txt is for the denkbares GmbH, but can easily be changed to other firms or e.g. the university.
At line 136 removed 6 lines
At line 181 removed 9 lines
!!Migrating to Java 8 and JSPWiki 2.10
Since the end of July, we migrated KnowWE to now use JSPWiki 2.10, Java 8 and Tomcat 8. Follow this section to migrate your own workspace/project in IntelliJ:
# Install JDK 8 and add and set it as the default in your JDK. In IntelliJ, go to File -> Project Structure... -> SDKs and add the JDK 8. Under Project also in Project Structure..., set it as the default.
# Download the current Tomcat 8 as the zip version. Unzip it analogous to your Tomcat 6 and set it your Tomcat configurations in IntelliJ.
#jspwiki.properties is now jspwiki-custom.properties. Instead of in local/WEB-INF/ it is now in local/WEB-INF/classes/. It has basically the same content as before, but you should nevertheless start again from the .default file and just migrate your individual settings like var.basedir to the new file.
At line 187 added one line
At line 215 removed one line