EUROPEAN
SYNCHROTRON
RADIATION
FACILITY
INSTALLATION EUROPEENNE DE RAYONNEMENT SYNCHROTRON
TANGO Programmer's Guide
Create a CVS Module:
(To create a new module
my_module for
MyDServer class in
MyDsFamily.)
-
Module creation:
- export the CVSROOT environment variable.
- cd {anywhere}
- cvs checkout CVSROOT/modules
- cd CVSROOT
- nedit modules
- #-----> add your module with editor
(see for specific repository)
- cvs commit -m "module my_module
added"
- cd ..
- cvs release -d CVSROOT
- cd ../../my_module
- cvs import -m "Initial Revision" ../../
my_module vendortag releasetag
- cd ..
- mv my_module
my_module.org
- cvs co my_module
- cd my_module
-
On Tango DS repository:
This repository is located at
(CVSROOT=my_loggin@cvs.sourceforge.net:/cvsroot/tango-ds)
Inside the edited modules file,
search the line:
And add the following line:
- my_module MyDsFamily/../../my_module
Where MyDsFamily could be:
- Acquisition
- Application
- Beamdiag
- Calculation
- Communication
- Inputoutput >
- Instrumentation
- Motion
- Process
- Miscellaneous
- Radiation protection
- Vacuum
-
On ESRF repository:
This repository is located at (CVSROOT=/segfs/tango/cvsroot)
Inside the edited modules file, add the
following lines:
- #M my_module MyDsFamily
: This class is able to bla bla bla....
- my_module
cppserver/../../my_module
Where MyDsFamily could be:
- Archiving
- Beamlines
- Input/Output
- Linac
- Measures
- Motion
- Power Supply
- Protocols
- TACO Interfaces
- Vacuum