Skip to content
Stephan Westen edited this page Jul 21, 2016 · 19 revisions

Install plugin


Download: https://github.com/machak/intellij-hippo-shared-lib/blob/master/hippo-shared-libs.jar and drop it into "~/Library/Application Support/'PRODUCT''VERSION'" directory.

For 'PRODUCT' see https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs


Auto export setup (version 1.0.3):

In version 1.0.3 you can choose to create "project root file". That is a file called hippo_project_directory.txt which contains path to project root. This is only important if you need to use auto export option.

hippo_project_directory.txt file is created within tomcat/bin folder and you'll need to add below script snippet to catalina.sh file to be able to use it (windows version coming soon).

if [ ! -f hippo_project_directory.txt ]; then
    echo "hippo_project_directory.txt not found, please create it yourself or use Hippo SHared libs intellij plugin"
else 
	PROJECT_DIR=$(cat hippo_project_directory.txt)
fi

if [ -z "$PROJECT_DIR" ]; then	
	echo "Project directory empty or not set"
fi

CATALINA_OPTS="${CATALINA_OPTS}  -Dproject.basedir=${PROJECT_DIR}"

echo "############### USING PROJECT DIRECTORY ###############"
echo "# ${PROJECT_DIR}"
echo "#######################################################"

Configuring hippo project deployment in an external tomcat:

Maven config:

Make sure below setting is not active (Use maven output directories). see also: http://youtrack.jetbrains.com/issue/IDEA-103616

project settings

Project config:

Change output directories of exploded artifacts, e.g. below is example of hippo-site artifact: project settings

plugin config:

Application wide setting(s):

app settings

Project setting(s) (override of above, application wide settings):

project settings