File: pyTango/Note.corbacom.txt

Note about Tango Python skeleton and stub generation.


1) Remove all files in pyTango/corbacom directory (keep the directory).

2) Set current directory to the directory which contains pyTango.

3) Put Tango_types.idl and Device.idl files in this current directory 
   (else you may try to use longer absolute/relative path to these files
   on the command line... not tested).

3') If they have not been modified, do the following:
    For Tango_types.idl:
        module Tango
        {
        ...here previous content of Tango_types.idl...
        };  /* module tango */

    For Device.idl:
        #include "Tango_types.idl"
        module Tango
        {
        ...here previous content of Device.idl...
        };  /* module tango */

(note to NOT include Tango_types.idl between < > but between " ")


4) Compile Tango_types.idl with:
    omniidl -bpython -Wbpackage=pyTango.corbacom Tango_types.idl

5) Compile Device.idl with:
    omniidl -bpython -Wbpackage=pyTango.corbacom Device.idl

We normally dont need to compile tango.idl itself.

All needed stuff is now in the package pyTango.corbacom.




