I'm trying to set up a download server for my own libraries.
I've added it in the options under 'library download'
I've created a pathing system similar to the one seen in C:\ProgramData\CODESYS\Managed Libraries
I've added index files to the root path and all subdirectories containing info on directories and files. (as shown in https://store.codesys.com/CODESYSLibs/index)
My problem is that it does not detect new versions of a library.
In project enviroment -> Library version it says All libraries are up to date, there's also a checkmark in 'Check for updates when loading this project'
If I go to the library repository and uninstall the library, I can click 'download missing libraries' and it will download the latest version of the library without any problems, I just can't get it to detect that a new library has been uploaded to the server.
For example:
Installed library: 1.0.0.3
Latest library on server: 1.0.0.4
No new libraries detected
Uninstall 1.0.0.3 from Library repository
Click download missing libraries
1.0.0.4 is downloaded and installed correctly.
I am using .library files if it's of any significance.
Anything I'm missing here?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
if I understand you correctly, you want a mechanism, that automatically searches for newer version of a library, than the one that is in your project. If so, I think you have no chance - even the CODESYS libraries are not updated automatically.
To use the "Download missing library" mechanism, the library that is in your project, may not be installed in the repository. So, the only way to enforce a download of a library is, to remove it from the repository.
At least this is what I know
Best regards
Alfred
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
this 'download missing libs button', does only occure if there is a library used in your project which is not installed on your system.
(So this is not a feature to check if new libraries in general exists on the lib server)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Edwin Schwellinger hat geschrieben:
Hi,
I would try the following steps:
-use compiled libraries
and if you have own devices too,
add the devices too for downloding missing devices
BR
Edwin
I tried to save it as a compiled library, it didn't seem to change anything.
This is how it looks:
The library is just a new default library with the infos changed, it doesn't contain anything else, it's only for test purposes.
Hello
I'm trying to set up a download server for my own libraries.
I've added it in the options under 'library download'
I've created a pathing system similar to the one seen in C:\ProgramData\CODESYS\Managed Libraries
I've added index files to the root path and all subdirectories containing info on directories and files. (as shown in https://store.codesys.com/CODESYSLibs/index)
My problem is that it does not detect new versions of a library.
In project enviroment -> Library version it says All libraries are up to date, there's also a checkmark in 'Check for updates when loading this project'
If I go to the library repository and uninstall the library, I can click 'download missing libraries' and it will download the latest version of the library without any problems, I just can't get it to detect that a new library has been uploaded to the server.
For example:
Installed library: 1.0.0.3
Latest library on server: 1.0.0.4
No new libraries detected
Uninstall 1.0.0.3 from Library repository
Click download missing libraries
1.0.0.4 is downloaded and installed correctly.
I am using .library files if it's of any significance.
Anything I'm missing here?
Hi,
I would try the following steps:
-use compiled libraries
and if you have own devices too,
add the devices too for downloding missing devices
BR
Edwin
Hi MortenL,
if I understand you correctly, you want a mechanism, that automatically searches for newer version of a library, than the one that is in your project. If so, I think you have no chance - even the CODESYS libraries are not updated automatically.
To use the "Download missing library" mechanism, the library that is in your project, may not be installed in the repository. So, the only way to enforce a download of a library is, to remove it from the repository.
At least this is what I know
Best regards
Alfred
this 'download missing libs button', does only occure if there is a library used in your project which is not installed on your system.
(So this is not a feature to check if new libraries in general exists on the lib server)
I tried to save it as a compiled library, it didn't seem to change anything.
This is how it looks:
The library is just a new default library with the infos changed, it doesn't contain anything else, it's only for test purposes.
The compiled version can be downloaded here:
http://k-rad.dk/library/VCAS/VCAS%20TestLibrary/1.0.0.0/TestLibrary.compiled-library
The .library file can also be found here:
http://k-rad.dk/library/VCAS/VCAS%20TestLibrary/1.0.0.0/TestLibrary.library
There are 3 versions available, they are basically the same just with project info altered to a new version:
http://k-rad.dk/library/VCAS/VCAS%20TestLibrary/index
Could it have something to do with this information?: