Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

 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 check if it is installed on one of the system disks. The unix command 'which netbeans' will show if it is installed in afs.
  2. Maven plugin - from
  1. https://confluence.slac.stanford.edu/display/ilc/Installing+Netbeans+with+Maven+Support

...

  1. .

...

  1. Under

...

  1. 'Install

...

  1. Mevenide'

...

  1. click

...

  1. 'Download

...

  1. this

...

  1. small

...

  1. autoupdate

...

  1. module'

...

  1. (you

...

  1. need

...

  1. this

...

  1. plugin

...

  1. even

...

  1. if

...

  1. '

...

  1. which

...

  1. maven

...

  1. '

...

  1. shows

...

  1. that

...

  1. maven

...

  1. is

...

  1. installed

...

  1. on

...

  1. the

...

  1. system

...

  1. disk).

...

  1. If

...

  1. you

...

  1. see

...

  1. a

...

  1. bunch

...

  1. of

...

  1. gibberish

...

  1. when

...

  1. you

...

  1. click

...

  1. on

...

  1. 'autoupdate

...

  1. module'

...

  1. then

...

  1. right

...

  1. click

...

  1. on

...

  1. it

...

  1. and

...

  1. "save

...

  1. link

...

  1. as"

...

  1. into

...

  1. your

...

  1. netbeans

...

  1. directory.
  2. Global environment variables - set $MAVEN_HOME in the .cshrc file, e.g. $MAVEN_HOME  = /afs/slac.stanford.edu/package/java/common/contrib/maven-1.0.2/

...

  1. Maven install instructions - https://confluence.slac.stanford.edu/display/ilc/Installing+Netbeans+with+Maven+Support

...

  1. how

...

  1. to

...

  1. install

...

  1. Maven

...

  1. plugin

...

  1. and

...

  1. download

...

  1. netbeans.

...

  1. The page

...

  1. contains

...

  1. screenshots

...

  1. for

...

  1. the

...

  1. various

...

  1. installation

...

  1. steps.
  2. AFS disk space - enough read and write space for the netbeans files and any project/package that will eventually be checked out. Try 500 Mb.
  3. Memory -  anything less than 1Gb of memory still works, but at a very slow pace.
  4. Oracle driver - download ojdbc14.jar from Oracle. If prompted to logon to Oracle in order to download this file, and you don't have an Oracle account, contact Tony Johnson. Save the driver in your ./netbeans/.netbeans/5.5/apache-tomcat-5.5.17_base/common/lib

...

  1. directory. 
  2. catalina.policy file - edit this file and add the Oracle driver then restart the tomcat server.
  3. access to CVS - you will need access to Glast's CVS repository if you want to check out packages. Email Tony Johnson or Richard Dubois for CVS access permission.

Checking out a project:

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