You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

 This page explains how to install and run netbeans from linux using the afs file system. 

You will need the following:

  1. 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.
  2. 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.
  3. Adequate afs disk space that is read and write by your account. 
  4. 1 Gb memory, less memory still works but at a very slow pace.
  5. 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/
  6. 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.
  7. 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,$

Unknown macro: {catalina.base}

/common/lib/*.jar

  1. 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.
 

  • No labels