
Check out the close button on this screen shot. This was installed from the nightly repo for the Linux distro. Makes me wonder what else sneaks it's way into the nightly.
A blog about a man, who doesn't blog.
is a symbolic link to the actual installation. ex: /development/servers/tomcat is a symbolic link (ln -s) to: /development/servers/apache-tomcat-6.0.13. This is so that we can up grade versions and roll back just by changing the symbolic link on the fly.
The directory roots are:
/development/SDKs/
The SDKs directory is for different Java distros , Jruby or Python
/development/servers/
This is where we locate our server software like Resin, Apache, Jboss etc etc .. Always in this directory so we know the
deployment standards. Nothing is worse than wasting hours working on the wrong files or checking out old versions
/development/tools/
The tools directory is for build, testing and management tools. SVN (while technically a server), CSV, Maven, ANT and Junit etc
/development/libs/
All other libs, hibernate, Seam , Spring, apache commons , flavor of the day.
We declare the environment variables in the /etc/profile that loads at system initialization. we will use the following convention:
JAVA_HOME=/development/SDKs/java
GLASSFISH_HOME=/development/servers/glassfish
JBOSS_HOME=/development/servers/jboss
CATILINA_HOME=/development/servers/tomcat
ANT_HOME=/development/tools/ant
MAVEN_HOME=/development/tools/maven
HIBERNATE_HOME=/development/libs/hibernate
SEAM_HOME=/development/libs/seam
SPRING_HOME=/development/libs/spring
CLASSPATH=$CLASSPATH:$SPRING_HOME:$SEAM_HOME:$HIBERNATE_HOME:$MAVEN_HOME:$ANT_HOME:$CATILINA_HOME:$JBOSS_HOME
PATH=$PATH:$ANT_HOME/bin:$MAVEN_HOME/bin:$JAVA_HOME/bin.......... etc etc