<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to read SVN-revisions of project and library insinde a library function</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4844d7a138/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4844d7a138/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/4844d7a138/</id><updated>2020-02-27T14:22:02.201000Z</updated><subtitle>Recent posts to read SVN-revisions of project and library insinde a library function</subtitle><entry><title>read SVN-revisions of project and library insinde a library function</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4844d7a138/?limit=25#be76" rel="alternate"/><published>2020-02-27T14:22:02.201000Z</published><updated>2020-02-27T14:22:02.201000Z</updated><author><name>MaxZuck</name><uri>https://forge.codesys.com/u/maxzuck/</uri></author><id>https://forge.codesys.com3272ef1a9614562eb71ca2323472bb5d8defccf4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello everyone&lt;/p&gt;
&lt;p&gt;We have installed the SVN PlugIn. In out project, we use a Library, which is also connected to SVN.&lt;/p&gt;
&lt;p&gt;Actual we try to create a library function, which reads the SVN-revisions of the project and of the Library itself, and writes them to outputs. Normally we would read the VERSION in the SVN_VERSION_INFO constants.&lt;/p&gt;
&lt;p&gt;If we read the SVN_VERSION_INFO.VERSION constant in the library, we are able to compile the library. But if we try use the library code in out project the error:  &amp;lt;&amp;lt;c0046: not="" 'svn_version_info'="" defined="" identifier=""&amp;gt;&amp;gt; occurs.&lt;br/&gt;
If we read the SVN_VERSION_INFO.VERSION constant in the project, everything works and we get the SVN-revision of the project. (But we also need the revision of the library and it would be great if both is done by a library function)&amp;lt;/c0046:&amp;gt;&lt;/p&gt;
&lt;p&gt;If we use the SVN_Info_Summary.sVersionSummary constant instead of the SVN_VERSION_INFO.VERSION constant in the library, we are able to compile the library. But if we use the code in our project the error: &amp;lt;&amp;lt;c0136: ambiguous="" use="" 'svn_info_summary'="" name="" of=""&amp;gt;&amp;gt; occurs.&lt;br/&gt;
If we read the SVN_Info_Summary.sVersionSummary constant in the project, the same error occurs.&amp;lt;/c0136:&amp;gt;&lt;/p&gt;
&lt;p&gt;What is the best way, to get the SVN-revision of the project and the SVN-revision of the library itselt, inside a library function?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>