Skip to content

Instantly share code, notes, and snippets.

@suneg
Forked from jesperronn/idea.sh
Created April 15, 2013 07:08
Show Gist options
  • Save suneg/5386291 to your computer and use it in GitHub Desktop.
Save suneg/5386291 to your computer and use it in GitHub Desktop.

For Play 1.x projects perform the following steps:

$ cdplay $ play idealize (open the .ipr file with IntelliJ -- remember to explicitly pick up that file).

In Intellijs UI, press "Project Structure" (CTRL+ALT+S)

Set the SDK to the one you want to use. Example /opt/oracle/jrockit1.6.0

Project Settings>Modules, exclude the following folders:

  • nbproject
  • precompiled
  • target
  • test-result
  • tmp
  • war
#Line below added by jesper in idea.sh
IDEA_JDK="/opt/tools/jdk1.7.0_09"
#end line add
-Xms128m
-Xmx800m
-XX:MaxPermSize=350m
#-XX:ReservedCodeCacheSize=64m
#-XX:+UseCodeCacheFlushing
-ea
-Dsun.io.useCanonCaches=false
-Dawt.useSystemAAFontSettings=lcd
-Dswing.aatext=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment