1. The VAR_GLOBAL CONSTANT is a part of the SVN_VERSION_INFO and not a direct part of my Container library.
I think nobody checked if the Subversion Integration works for container libraries.
2. How can I connect to an existing repository?. I could not find svn.connect(..) using inspectapi.dir(..) or in F1 help.
Sorry, I forgot to check if there is a Scripting API for it.
At the moment you can only use the following workaround:
system.commands["svn", "connect"].execute("svn://project/destination/url", "HEAD", "false")
The parameters are:
- Absolute URI to the project in the Subversion repository
- Revision: HEAD or a numeric revision as string
- Omit externals: Boolean
The improvement to add the necessary API is already listed in our Jira tracker SVN-243
, so it will be implemented eventually.
Check out the CODESYS store: http://store.codesys.com/CODESYS® a trademark of 3S-Smart Software Solutions GmbH
Inspiring Automation Solutions