Hi
Is it possible to read out the svn Revision number to a variable in the Project. Could someone help with a small script. I am not using the Codesys svn.
Thanks & regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2015-12-07
Originally created by: M.Schaber
Hi,
learnetk hat geschrieben:
Hi
Is it possible to read out the svn Revision number to a variable in the Project. Could someone help with a small script. I am not using the Codesys svn.
I'm not sure which svn Revision number you want to read.
If it's about projects or objects within a project which is connected via CODESYS SVN, then I think using the CODESYS SVN AddOn is the only way to do it, it provides an SVN_VERSION_INFO object where you can read the project revision number - but this SVN_VERSION_INFO is only available when the SVN AddOn is installed and active (because it cannot be guaranteed to be up to date when no SVN Plugin is there).
There are three special cases, however:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
Is it possible to read out the svn Revision number to a variable in the Project. Could someone help with a small script. I am not using the Codesys svn.
Thanks & regards
Originally created by: M.Schaber
Hi,
I'm not sure which svn Revision number you want to read.
If it's about projects or objects within a project which is connected via CODESYS SVN, then I think using the CODESYS SVN AddOn is the only way to do it, it provides an SVN_VERSION_INFO object where you can read the project revision number - but this SVN_VERSION_INFO is only available when the SVN AddOn is installed and active (because it cannot be guaranteed to be up to date when no SVN Plugin is there).
There are three special cases, however: