Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
 This page explains how to install and run netbeans from linux using the afs file system. 

You will need the following:
# Netbeans v5.5, either installed locally, or you can check if it's installed on one of the system disks. The unix command '_which netbeans'_ will show if it is installed in afs.
# Maven plugin from [https://confluence.slac.stanford.edu/display/ilc/Installing+Netbeans+with+Maven+Support]. Under 'Install Mevenide' click 'Download this small autoupdate module' (you need this plugin even if '_which maven_' shows that maven is installed on the system disk). If you see a bunch of gibberish when you click on 'autoupdate module' then right click on it and "save link as" into your netbeans directory.
# Adequate afs disk space that is read and write by your account. 
# 1 Gb memory, less memory still works but at a very slow pace.
# Global environment variable $MAVEN_HOME set properly in the .cshrc file. I used $MAVEN_HOME  = /afs/slac.stanford.edu/package/java/common/contrib/maven-1.0.2/
# URL [https://confluence.slac.stanford.edu/display/ilc/Installing+Netbeans+with+Maven+Support] for instructions on how to install Maven plugin and download netbeans. This page contains screenshots for the various installation steps.
# Oracle driver, ojdbc14.jar. You may be prompted to logon to Oracle in order to download this file. If that happens, and you don't have an Oracle account, contact Tony Johnson. Save the file in your ./netbeans/.netbeans/5.5/apache-tomcat-5.5.17_base/common/lib directory. Then edit the file /afs/slac.stanford.edu/u/ec/chee/netbeans/.netbeans/5.5/apache-tomcat-5.5.17_base/conf/catalina.policy. Edit the common.loader line to look like this: common.loader=\$
\{catalina.home\}/common/classes,\$\{catalina.home\}
/common/i18n/*.jar,$*
{catalina.home}* *

/common/lib/*.jar,$
{catalina.base}
/common/lib/*.jar
# If you modify the catalina.policy file, restart the tomcat server.

Checking out a project:

     Once you have netbeans and maven, with the plugin, installed you can check out a project from CVS.