TANGO

From GumTree

Use TANGO from a jar: Add the following line to vm arguments in launch configuration -Xbootclasspath/p:workspace/lib/tango/TangORB-4.4.1.jar

Use TANGO from plugin Import fr.esrf.tango to your project (See may see "[ No configuration properties found for configuration jacorb ]" in console log)



Tango Server under Eclipse:

  • Add "System.setProperty("OAPort", "30005");" if you want to hard code port number
  • Add the following to run Tango under Eclipse
   Util tg = Util.init(new String[] {"myinstance", "-v", "-nodb", "dlist", "gumtree/device/1"}, "DummyHM");
   tg.add_class("server.DummyHM");

(where "serevr" is the pacakge name for that class)

  • Java package name must be same as the main class name if pacakge is no provided
  • Tango Server and Client can be launched together under same JVM folked from Eclipse. In this case, the plugin that host Tango server should use a jar file under its plugin. This is because when Tango DServer resolve the class, it does not recongise the class as it uses default classloader. Even Tango server is loaded in GumTree workbench process (here we must use separate thread), communication is still being blocked (either client or Jive can access it).