Versions Compared

Key

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

...

1) Create an eclipse workspace directory (ie ~myaccount/workspace) in your afs account dir. If you are low on your afs quota (fs listquota), you may have to ask for more afs space. 2)

Wiki Markup*2)*    Establish your linux shell environment.
Operate from the bash shell.
The following lines can be placed in your .bashrc file: \
################################# \
# set up development environment \
#################################
case $HOSTNAME in
testfac-\[a-z\]*) \#    export
#    export EPICS_VER=3-14-12     source
    source /afs/slac/g/acctest/tools/script/ENVS_acctest.bash     echo
    echo "Environment for Test Facility "     ;; \*)     source
    ;;
*)
    source /afs/slac/g/lcls/tools/script/ENVS.bash     echo
    echo "LCLS Development Environment is set"     ;;
    ;;
esac

The following lines can be placed in your .bashrc file to connect to Oracle Wallet:

...

alias eclipse='/scratch/eclipse37/eclipse/eclipse -vm /afs/slac/g/lcls/package/java/jdk1.6.0_11/bin'

Wiki Markup*3)* Once the above .bashrc lines have been executed, from a linux workstation, type:
> eclipse
You'll need to do a one-time setup of CVS. Open the "CVS Repository Exploring" perspective (select Window \ -> Open Perspective \ -> CVS Repository Exploring).
Right-click in the "CVS Repositories" view at the left (empty white space), and select New \ -> Repository Location.
Supply the following values: Host:            localhost  (use
Host:            localhost  (use "mcclogin" here when setting up on production)
Repository path: /afs/slac/g/lcls/cvs User:            \[your AFS user name\] Password:        \
User:            [your AFS user name]
Password:        [****\]
Connection type: extssh    extssh    // note this is different than what Chris recommends...T
Leave the "Use default port" option selected.
Now you can find and check out various repositories. For example, you can explore the repository by expanding HEAD \ -> physics \ -> xal4lcls  Right click on xal4lcls and select "Check out". * *xal4lcls 
Right click on xal4lcls and select "Check out".
 

4) Once you have checked out a repository, To Project | Properties | Java Build Path | Libraries tab, press "Add External Jars" and navigate to include xal.jar, aida.jar, except.jar, err.jar, OB*.jar, as necessary for your particular project.
 

...