The home directory is the root directory for the runtime directory structure used by Pineapple. The directory structure contains:
Two examples are included:
The unzipped client contains the directory layout:
pineapple-standalone-web-client-VERSION | +--- runPineapple.cmd +--- runPineapple.sh | +--- bin | +--- helper scripts | +--- conf | +--- log4j.properties | `--- jetty.xml | +--- webapps | `--- pineapple-web-application-war.war | +--- lib +--- pineapple-jetty-starter-1.0.jar +--- jetty-*.jar +--- log4j-1.2.14.jar `--- servlet-api-2.5.jar
The home directory is configured in the runPineapple scripts where it is defined by the system property pineapple.home.dir.
In the runPineapple.sh script, the home directory is defined by the property:
if not defined PINEAPPLE_HOME set PINEAPPLE_HOME=%USERPROFILE%\.pineapple
If the environment variable PINEAPPLE_HOME isn't defined when the script is invoked, then the value of the home directory is resolved from the variable USERPROFILE which defines the Windows Home directory for the current user.
In the runPineapple.sh script, the home directory is defined by the property:
PINEAPPLE_HOME="${PINEAPPLE_HOME:-${HOME}/.pineapple}"
If the environment variable PINEAPPLE_HOME isn't defined when the script is invoked, then the value of the home directory is resolved from the variable ${HOME} which defines the home directory for the current user.
The configuration of the home directory is located in the project pineapple-standalone-web-client-${pineapple.release.version} in the directory: src/main/release-dir/runPineapple.cmd.
Modify the property as shown above.
The client must be built and started for the change to take effect.
The configuration of the home directory is located in the project pineapple-standalone-web-client-${pineapple.release.version} in the directory: src/main/release-dir/runPineapple.sh.
Modify the property as shown above.
The client must be built and started for the change to take effect.