.classpath file to set paths and exclude files.
.classpath.default to .classpath.
This choice is the simpler choice, but might exclude optional
third party packages.
./configure. This choice is more complex, but this choice will include
optional third party software that is already installed on your
machine.
./configure
or reloading an accessor will check out the accessors repo for
you.
.classpath, so we use
the Terminal application.
/Applications/Ptolemy/ptII8.1.devel.
~/Documents/workspace/ptII/
cd /Applications/Ptolemy/ptII8.1.devel
cp .classpath.default .classpath
OR
configure in the Ptolemy II home
directory.
The procedure below will modify the .classpath file
that is provided in the version control repository to customize it
for the software that you have installed.
Using the Terminal to run ./configure
cd /Applications/Ptolemy/ptII8.1.devel
$PTII to the location of the source tree:
export PTII=`pwd`
PTII environment variable needs to be set each time
you run configure To make this setting available after reboot,
edit ~/.bashrc file and add the command
so that you do not need to enter it each time. For example, if your workspace was in
/Users/MrPtolemy/Documents/workspacePt, then edit ~/.bashrc and
add:
export PTII=/Users/MrPtolemy/Documents/workspacePt
configure executable.
chmod a+x configure
./configure
./configure
.classpath, go back to Eclipse and
do File | Refresh so that Eclipse gets the updated
.classpath file.
Project | Build All.
Project | Build Automatically..