The JNI UI is documented as not working. Unless someone fixes the UI, I'm probably going to pull it from the 5.0 release.
$PTII/doc/ptII4.0.release.htm which is also found as http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII4.0/ptII4.0.1/doc/ptII4.0.release.htm Says --start-- Limitations in JNI ------------------ * The Interface to C actors using the Java Native Interface is not available via the Windows Installer (or Web Start). To use the JNI/Ptolemy II interface, you must download Ptolemy II as source files and compile. * The JNI user interface does not permit creation of new JNI actors. If you follow the instructions in JNIUtilities, then eventually you will get a NameDuplicationException. The resulting model will be missing <property name="output" class="jni.Argument" value="false,false,true,double"> </property> We are working with the original authors on a solution. In the short term, one workaround is to edit the xml file directly and add the appropriate property by hand. * JNI will not work with Hierarchical classes, subclasses, and inner classes --end-- _Christopher -------- hi i tried to add meaningOfLife actor in ptolemy using JNI interface. when trying to configure the created actor name : output type: double i get the following exception. "change failed: xml element "property" triggers exception ptolemy.kernel.util.NameDuplicationException: Attempt to insert object named "output" into container named "meaningOfLife.meaningOfLifeImeaningOfLife" which already contains an objec t with that name in [external stream]at line 1 and column 73 caused by: ptolemy.kernel.util.NameDuplicationException" How to overcome it. please help me. -karthik venkatesh. _________________________________________________________________ Connect with 1000s of singles. http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Receive chat requests. Instant message Now. --------------------------------------------------------------------------- - Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED] -------- ---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED]