.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.
If you intend to use CapeCode for work with accessors, then you must install Cygwin so that the git binary is present. Installing Cygwin is the second option.
c:\Ptolemy\ptII11.devel
.
/Users/yourlogin/workspace/ptII
.classpath
and select delete..classpath.default
, select copy..classpath.default
.
.classpath.
with a
trailing dot. The "operating system" will delete the trailing dot.
Most users will choose the above option because running configure requires installing Cygwin.
OR
Ptolemy II includes a number of packages that rely on software that
you may or may not have installed, such as MATLAB, the rxtx
package (for serial port connections), Java
Advanced Imaging (JAI), the Java Media Framework (JMF), and Java
3D. If you wish to use or extend these features, you will need to
perform a few extra steps. These steps require execution of a
script called configure
in the Ptolemy II home
directory.
In addition if you intend to use CapeCode, the IoT framework, you will need Git installed, which is best done using Cygwin.
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.
make
. The workaround is to install Cygwin,
see http://ptolemy.eecs.berkeley.edu/ptolemyII/ptIIlatest/cygwin.htm
c:\cygwin64\bin
is in your Windows Path.
c:\Cygwin64\bin;
at the start of the pathC:\Program Files\Java\jdk1.8.0_121\bin;
Start
| Run
| Cygwin
cd c:/Ptolemy/ptII11.0.develNote that if there are spaces in the path name to the directory where your Ptolemy installation is located, then you should use double quotes around the path:
cd "c:/Documents and Settings/yourLogin/workspace/ptII"
$PTII
to the location of the Ptolemy II source tree:
export PTII=c:/Ptolemy/ptII11.0.develNote that Ptolemy II does not work well if there are spaces in the path If you insist on using a directory that has spaces in the path, use double quotes:
export PTII="c:/Documents and Settings/yourLogin/workspace/ptII"
./configureThis will create
$PTII/.classpath
.classpath
, go back to Eclipse and
do File
| Refresh
so that Eclipse gets the updated
.classpath
file.
Project
| Build All
.
Project
| Build Automatically.
.