Subject: How to deal with Eclipse on CCS Unix
From: Kojarski Sergei (kojarski@ccs.neu.edu)
Date: Mon Nov 04 2002 - 23:02:57 EST
Hi class,
If you want to use Eclipse on CCS Unix - read the following:
HOW TO INSTALL ECLIPSE
1. Eclipse is installed into
/proj/demsys/demjava/packages/eclipseforcom3205
directory.
Edit your ~/.software file (in the root of your home dir)
You should assign to the path environment variable the path above
My .software file, for example looks exactly like:
PATH=/proj/demsys/demjava/packages/eclipseforcom3205/:/proj/demsys/demjava/packages/aspectj1.0.6/bin
CLASSPATH=/proj/demsys/demjava/packages/aspectj1.0.6/lib/aspectjrt.jar:~/classes/com3205/classes/:/proj/demsys/demjava/rt.jar:.
JAVA_HOME=/arch/unix/packages/j2sdk1_3_0beta
JIKESPATH=$JAVA_HOME/jre/lib/rt.jar
(comment: if you are writing your plug-in project NOT using eclipse
environment as development tool, but working from the shell - make sure
you extended your classpath accordingly.
For example, if you want to compile file that uses
org.eclipse.core.resources plugin you should add to classpath
/proj/demsys/demjava/packages/eclipseforcom3205/plugins/org.eclipse.core.resources_2.0.0/resources.jar
2. type "resoft" & press return. It'll refresh your
environment variables.
NOW - HOW TO START ECLIPSE
IMPORTANT! Create some directory under your home dir to store
".workspace" information. For example, I have ~/eclipse/ folder.
To start eclipse GO TO THIS DIRECTORY & type "eclipse". Eclipse will
create .workspace subfolder and will use it to store projects and any
other information eclipse need to store between start-ups.
(in my case it is ~/eclipse/.workspace)
NOTICE that you MUST have write access to directory you starting eclipse
from. No write access - no eclipse.
ADVICE - always start eclipse from the same directory. Or you'll have new
workspace each time you start from "fresh" folder.
HOW TO ADD PLUGINS INTO ECLIPSE
1. CREATE DIRECTORY FOR YOUR PLUGIN
Go to /proj/demsys/demjava/packages/eclipseforcom3205/plugins/ folder
AND CREATE YOUR OWN FOLDER THERE.
USE THE FOLLOWING PATTERN:
_{YOUR LAST NAME}
example: /proj/demsys/demjava/packages/eclipseforcom3205/plugins/_kojarski
2. SET 700 RIGHTS TO YOUR DIRECTORY:
for example;
chmod 700
/proj/demsys/demjava/packages/eclipseforcom3205/plugins/_kojarski
If you will not this - everybody will see your plugin
3. MAKE SYMBOLIC LINK TO THIS DIRECTORY UNDER YOUR HOME FOLDER
example:
ln -s /proj/demsys/demjava/packages/eclipseforcom3205/plugins/_kojarski
~/eclipse/
That will place link to my plugin directory inside ~/eclipse ;
~/eclipse/_kojarski@
4. This directory is now the root dir for your plugin.
Each time you start eclipse it'll look at your directory and will
(hopefully) load your plug-in. Isn't it nice!
Thanks to chmod 700 ... nobody except you will see your plugin!!!
Neither you will see other student plug-in art.
(The both points are nice and it's a big question, what is better)
5. Problems???? you know what to do - kojarski@ccs.neu.edu
6. Have fun (if possible)
Sergei.
This archive was generated by hypermail 2b28 : Mon Nov 04 2002 - 23:02:58 EST