For testing I create a plugin, e.g. mytest: “gradlew
createPlugin -PpluginId=mytest”. To be able to fall back to a working
version, I frequently copy this plugin directory to e.g. mytest-1, mytest-2
etc. When I decide to use the mytest-1 directory again, I rename the
directory I am currently working with to mytest-current and copy mytest-1 to
mytest. Then I restart ofbiz and expect that to work with this mytest
directory.
However, OFBiz seems to continue to work with the former current directory.
E.g. I have made three menu items in mytest-current while I had just two
menu items in the older mytest-1 directory. After copying the mytest-1
directory to mytest and restarting OFBiz, I still have three menu items
displayed although there should be only two.
What could be the reason for this and what do I have to do to properly fall
back to the state of mytest-1?
- How to return to a previous plugin version? Georg Potthast
-