| CSC 207 | Algorithms and Object Oriented Design | Spring 2009 |
Summary: In this lab, we will download, organize, and compile the standard code accompanying our textbook.
mkdir somewhere/book
cd somewhere/book
wget http://users.cs.fiu.edu/~weiss/dsj3/code.tar.Z
tar xZf code.tar.Z
src:
mkdir src
src:
mv *.java src mv weiss src
src directory)
cp ~weinman/public_html/courses/CSC207/2009S/labs/code/bookcode/build.xml .
antThis should create a directory
class where it stores
all the compiled class files.
Oops. It seems Professor Weiss's code has a small error. We'll get
to that in just a moment.
cp ~weinman/public_html/courses/CSC207/2009S/labs/code/bookcode/prj.el .
emacs src/weiss/util/AbstractCollection.java &
~/.emacs file for editing (probably in Emacs).
(setq jde-global-classpath (quote (".")))
somewhere/book, and you decided
where somewhere is. The source files live
in somewhere/book/src, and you've just
configured the compiled class files to live
in somewhere/book/class. Change above line in
your ~/.emacs to read instead:
(setq jde-global-classpath (quote ("." "somewhere/book/class")))
being sure that you replace somewhere with the
appropriate directory you put things in.