EUROPEAN
SYNCHROTRON
RADIATION
FACILITY
INSTALLATION EUROPEENNE DE RAYONNEMENT SYNCHROTRON
TANGO Programmer's Guide
CVS Tag Management:
-
Tag a Device Server:
- First time, don't forget to commit your source files (cvs commit -m..., tkcvs, ...).
- Then increase the release number in Makefile.
The line to be modified looks like:
Change it to:
RELEASE = Release_1_4
or
RELEASE = Release_2_0
- Then type:
linuxmake tag
or
solmake tag.
This command needs /segfs/tango/bin/cvstag script using Pogo java classes.
It will make a CVS tag on the current module.
It will patch the MyDServerClass.cpp file like:
static const char *TagName = "$Name$";
And then it will re-build the executable file.
- And finally you can install the device serer.
-
See last Tags of a Device Server:
Type make show_tag to display the last
tag used for this module.
-
CVS tag goal:
The goal of the CVS tag usage is to know which version is running.
There is 2 ways to know it.
- The server is running.
Use the command info on a device proxy or
with Device Panel, on tab admin click on Device Info.
- The server is NOT running.
Use the shell command :
ident {dserver filename} |grep Name
It will display:
$Name$