Flushing oddities

Our problems surround updating plugins on the Server, and then having to manually delete the cache on the client and reinstall servoy client in order for them to get the up-to-date version.

goldcougar:
Our problems surround updating plugins on the Server, and then having to manually delete the cache on the client and reinstall servoy client in order for them to get the up-to-date version.

I think that has something to do with versioning your plugins!

Maybe Marcel, can reply to that, he is the plugin-king! :wink:

goldcougar:
Our problems surround updating plugins on the Server, and then having to manually delete the cache on the client and reinstall servoy client in order for them to get the up-to-date version.

The caching of westart is based on file timestamps, if the timestamp changes of a jar it should reload.
Note: yesterday we discovered if you use a plugin jnlp file and manually edit this on the server (advanced users only), it will only be seen when you touch the jar file i.e. change the file timestamp (this will be corrected in Servoy 3.1)

We are just using eclipse on our local machines, exporting as a Jar, then going to the Servoy Web interface, uploading the plugin, and restarting Servoy. Sometimes it works, sometimes it doesn’t. It isn’t a huge deal at this moment, since we are finalizing most of our plugins, but when we were writing several plugins at a time, and uploading a new version every day, we had a lot of problems.

So just to be clear:
-close all clients if necessary
-you use http://whatever:8080/servoy-admin to update the solution
-you restart the Servoy Application Server Service
-and then all changes (including changes to the data-model) are updated on all the clients

And you use the flush only to update changes made to forms and methods in a solution (and no changes on the data-model)

Still not sure what the difference is in updating a solution thru the Developer or thru the admin pages.

Another question:
is it possible with the tools we have now to make a solution self-updating. What I am trying to say is: is it possible to download a new solution, update it, and do whatever is necessary to update all clients and everything runs automatically let’s say every week.
The problem we are facing is we have 3 different customers with our solution and every time we have an update…we need make a remote connection, update…blah blah…restart this…etc etc…
We will be having more clients soon…so an automated procedure would be real helpfull. Maybe a plugin??

tweetie:
So just to be clear:
-close all clients if necessary
-you use http://whatever:8080/servoy-admin to update the solution
-you restart the Servoy Application Server Service
-and then all changes (including changes to the data-model) are updated on all the clients

There is no need to restart here…restart is ONLY needed if you change the datamodel WIHTOUT the server knowing this.

tweetie:
And you use the flush only to update changes made to forms and methods in a solution (and no changes on the data-model)

Correct

tweetie:
Still not sure what the difference is in updating a solution thru the Developer or thru the admin pages.

The difference is knowledge…the server just cannot know you changed the datamodel via another tool (tool can be for instance a Servoy developer)