-
Notifications
You must be signed in to change notification settings - Fork 1
Home
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
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 "#######################################################"
Make sure below setting is not active (Use maven output directories). see also: http://youtrack.jetbrains.com/issue/IDEA-103616
Change output directories of exploded artifacts, e.g. below is example of hippo-site artifact: