I’m writing a plugin that distributes via VP teamwork server. The first version installs fine but when I tried to release a new version of plugin, Visual Paradigm (on desktop Help->Update Plugin) couldn’t show a new version of the plugin.
For example I’ve built the sample plugin from your site “com.vp.plugin.sample.samplecommunicationdiagram” and added the version to the plugin.xml file:
After I changed the version to 1.1.1.2 and uploaded to the VP server.
When I tried to update the plugin from Help->Update Plugin menu I see an empty list.
If I delete the plugin from the “%APPDATA%\VisualParadigm\plugins” folder, I’m able to install the new version from the Help->Install Plugin menu.
But I want to use the updating mechanism.
What am I doing wrong?
I can provide the packages I used (but can’t attach them here because the forum rejects such type of attachment).
The plugin was downloaded to the VP server fine and replaced the previous one.
But the issue is in the possibility to update the plugin on the desktop side.
Then user clicked in the “Help->Update Plugin” he/she sees nothing:
Our engineers had reviewed your case and confirm the problem is caused by the current limitation on handle of plugin version. At the moment we only support handle the version value with Major.Minor.Patch as maximum. When the version value longer than this (i.e. four value as in your case) then it will be skipped by the plugin update. We will enhance the software in future to warn user when his plugin with version value doesn’t fit into our requirements. In the meantime please adjust the version value of your plugin to fit into our requirement to solve your problem. Feel free to contact me for any help!
Thank you for the reply, Rain. I fixed the version. Now I’m using 2-digits version like 1.1 or 1.2.
VP can recognize that update exists but when I tried to update plugin from v.1.1 to 1.2 it fails with the following error:
Would you please send me your two plugin XML file (both v1.1 & v1.2) so that we can test on them? You can send them to support-team@visual-paradigm.com for checking. Thanks and look forward to hearing from you.