<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to SVN and Compiled Interface Libraries</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3fb24f0c1a/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3fb24f0c1a/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/3fb24f0c1a/</id><updated>2020-02-27T15:08:15.325000Z</updated><subtitle>Recent posts to SVN and Compiled Interface Libraries</subtitle><entry><title>SVN and Compiled Interface Libraries</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3fb24f0c1a/?limit=25#2824" rel="alternate"/><published>2020-02-27T15:08:15.325000Z</published><updated>2020-02-27T15:08:15.325000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com7ce94edf8562c1e9a8254ebee5ecd0d47fdae5bd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; M.Schaber&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It seems you found a bug in CODESYS where the SVN Plugin does not play well with libraries.&lt;/p&gt;
&lt;p&gt;This was not found in-house because our build server always does a "disconnect" of the project before it creates the compiled library, relying on the manually set version information in the Project Information and not using the SVN_VERSION_INFO.&lt;/p&gt;
&lt;p&gt;If you don't need the SVN revision information in the compiled library, you can also do a disconnect before creating the compiled library, thus dropping the SVN_VERSION_INFO before the compiled library is created. &lt;/p&gt;
&lt;p&gt;As interfaces should not contain any executable code, and are strictly upwards compatible, the acutal svn revision info should not matter at all, so I think disconnecting before compiling actually is the best solution for now. For this reason, the best fix on our side may be to just disable the SVN_VERSION_INFO code generation for interface libraries, but this needs to be discussed.&lt;/p&gt;
&lt;p&gt;Another workaround might be to unset the "released" flag in the project information, but this has some other severe side effects.&lt;/p&gt;
&lt;p&gt;I did file your problem as &lt;a class="" href="http://jira.3s-software.com/browse/SVN-278" rel="nofollow"&gt;SVN-278&lt;/a&gt; in our jira database.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SVN and Compiled Interface Libraries</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3fb24f0c1a/?limit=25#ccff" rel="alternate"/><published>2020-02-27T15:08:14.683000Z</published><updated>2020-02-27T15:08:14.683000Z</updated><author><name>Mark-V3</name><uri>https://forge.codesys.com/u/mark-v3/</uri></author><id>https://forge.codesys.comb9d4b87d0254107ecbaf00e9a26b55f081ee3ff5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have the following problem:&lt;br/&gt;
We have also Interface-Libraries in our SVN, after I checkout the library-project to my system, I e.g. change the version of the library.&lt;br/&gt;
Then I create a compiled library, if the library is not in the repository I can install the library without any problem.&lt;br/&gt;
The next time I change e.g. the version, I can create a compiled library, commit my changes to the svn and so on.&lt;br/&gt;
But If I try to install the library this action failed, with the following message:&lt;/p&gt;
&lt;p&gt;"Interface library is not compatible with the current version..   Reason Declaration of the variable "MINREVISION" in 'SVN_VERSION_INFO' changed"&lt;/p&gt;
&lt;p&gt;But this couldn't be possible the Revision increments by 1 like expected, because of the change of the library version.&lt;/p&gt;
&lt;p&gt;If I do the same working without compiled-libraries (FILESAVEANDINSTALL instead of FILESAVEASCOMPILEDLIBRARY) then I have no problem with this SVN_VERSION_INFO object.&lt;/p&gt;
&lt;p&gt;It looks that there is something missing/wrong during the compilation of a Interface-Library in combination with SVN.&lt;br/&gt;
Because If I work with Standard-Libraries there are no problems creating compiled-libraries and installing them into the repository.&lt;/p&gt;
&lt;p&gt;I hope that someone can explain this to me.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br/&gt;
Mark&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>