You should see something like:Īpache Ant version 1.8.2 compiled on Decem3. Start up a shell and type ant -version.For example c:\Program Files\Java\jdk1.7.0_60 Create a new environment variable called JAVA_HOME and set to to the location of your Java Development Kit.Create a new environment variable called ANT_HOME and set it to c:\cygwin\usr\local\apache-ant-1.8.2 (note: use backslashes and no trailing slash).Add c:/cygwin/usr/local/bin to the PATH.Start -> My Computer -> Properties -> Advanced -> Environment Variables Windows: Then, set up the environment to find ant and set a few variables. Tar -zxf /cygdrive/c/Doc*/cxh.NEWTON/Desktop/apache-ant-1.8.
To install Ant, see, or follow these instructions (this example uses the Cygwin bash shell): cd c:/cygwin/usr/local
zip file does not include an ant script, it includes Python and Perl scripts that are harder to use. Windows: Using the cmd prompt or a cygwin bash shell, install the apache ant. You must have Ant 1.8.2 or later installed. Note that the JRE will not work, the JRE does not have the javac Java Compiler. If you don't have Java, then install the Java SE JDK from. Windows: If your path is incorrect, then under Windows, with bash, to set your path, use something like export PATH="/cygdrive/c/Program Files/Java jdk1.8.0_25/bin:$" Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode) Java(TM) SE Runtime Environment (build 1.8.0_25-b17) You should see something like: -bash-3.2$ java -version
In the main tab set the project to be the suite you want to run, e.g., "kepler", "reporting", etc.", and set the Main class: " "
Windows -> Preferences -> Java -> Installed JREs Windows users: if you are using Java 1.8, you will need to add tools.jar to the list of external jars.
KarDoclet.java uses doclet code from tools.jar.The build may take 10-15 minutes, see Bug 4191. In Eclipse, import the project created by running ant eclipse by selecting File -> Import -> General -> "Existing Projects into Workspace" and then browsing to the kepler directory created above, hit Finish.Start up Eclipse in a fresh workspace or do File -> Switch Workspace -> Other and enter a new directory into the "Workspace" field.If you don't do this, then there will be no actors in the actor pane! The easiest way is to run ant clean-cache. Important: Currently, to switch between kepler-1.0.0 and the devel tree, you must remove your ~/.kepler directory.
Note that the ant change-to command uses svn to download the rest of Kepler and Ptolemy II, which can take awhile. To use Kepler from within Eclipse, you must first check out Kepler from the command line.You must have Maven 3.0.3 or later installed.You must have Ant 1.8.2 or later installed.As of April 2016, you must have the Java Development Kit (JDK) 1.8 installed.
We recommend using the newest release of Eclipse, these instructions were last validated for Indigo in November, 2011. Details follow in the remaining sections. If you already know Eclipse, SVN, Kepler, and Ptolemy, you may find the hugely abbreviated version of the instructions in this section useful.
Below are instructions for setting up Kepler under Eclipse.