Skip to content

Instantly share code, notes, and snippets.

@g-pechorin
Last active December 16, 2015 21:19
Show Gist options
  • Save g-pechorin/5498732 to your computer and use it in GitHub Desktop.
Save g-pechorin/5498732 to your computer and use it in GitHub Desktop.
portable IntelliJ & Maven
# copied from http://leolabs.org/blog/making-intellij-portable/
#---------------------------------------------------------------------
# Customize path to IDE config folder.
#---------------------------------------------------------------------
idea.config.path=${idea.home}/var/config
#---------------------------------------------------------------------
# Customize path to IDE system folder.
#---------------------------------------------------------------------
idea.system.path=${idea.home}/var/system
#---------------------------------------------------------------------
# Customize path to user installed plugins folder.
#---------------------------------------------------------------------
idea.plugins.path=${idea.home}/var/config/plugins
#---------------------------------------------------------------------
# Customize path to IDE logs folder.
#---------------------------------------------------------------------
idea.log.path=${idea.home}/var/system/log
SET M2_HOME=%CD%\mvn\apache-maven-3.0.5
SET M2=%M2_HOME%\bin
SET JAVA_HOME=%CD%\Java\jdk1.6.0_43
SET PATH=%M2%;%JAVA_HOME%;%PATH%
%CD%\bin\idea.bat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment