![]() ![]() To use ptolemy/util/test/junit/javachdir as the jvm for Tests need to be run in the test/ directoryĬurrently, the biggest limitation is that many of the tests need to be run To parameterize the tests so that the model name appears in the JUnit log. The JUnitTclTestBase.java file uses annotations toĭeclare what tests should be run. Imports ptolemy/util/test/junit/JUnitTclTestBase.java. Each directory contains JUnitTclTest.java To see what other targets are available:Īnt notes Open issues Testing ant test runs the JUnit tests located in the test/junitĭirectories.This command will read $PTII/build.xml and build Ptolemy II. Under Windows, you must have Cygwin installed to run configure Third party packages and sets up Ant, Eclipse, and make appropriately. The $PTII/configure script searches the local machine for It excludes third party packages like Java3D and Matlab. The ptII/ file is set up for a vanilla installation, There are at two ways to configure Ptolemy: Use the simple.Note you would need to use Windows DOS syntaxĪNT_HOME New user variable %PTII%/vendors/apache-ant-1.8.1 JAVA_HOME New user variable c:/Program Files/Java/jdk1.7.0 PATH Edit the PATH in the user variables sectionĪfter setting the Windows variables, you will need to exit and restart Start -> right click on My Computer, select propertiesĪnd then add the ANT_HOME and JAVA_HOME variables Under Windows, you can set these values permanently by doing cygdrive/c/Program Files/Java/jdk1.7.0/bin/javaĮxport JAVA_HOME=c:/Program\ Files/Java/jdk1.7.0 Under Windows with Cygwin: If which java returns ![]() bash-3.2$ export JAVA_HOME=/usr/java/default Lrwxrwxrwx 1 root root 26 Jul 31 10:12 /usr/bin/java -> /usr/java/default/bin/java That contains the Java Development Kit (JDK): ![]() Under Linux: Use which java to find the directory You may also need to set JAVA_HOME to the location of your In $PTII/vendors, but Ant can be installed anywhereĮxport ANT_HOME=$PTII/vendors/apache-ant-1.8.2 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |