Hi all<br><br>I have a simple script that sets a property on an OpenCms resource then publishes, followed by the clearCaches command. It seems the change does not take effect until the 'Core Cache' is flushed via the Workplace, or the tomcat restarted.<br>
<br>Is there a way to clear this cache via the cmsshell, or indeed programmatically so I can write a custom extension to CmsShellCommands? I can't see how to do it from the JavaDoc. Otherwise an automated script for setting properties via cmsshell needs manual intervention to clear the Core Cache!<br>
<br>Thanks<br>Steve<br><br>Script is like this:<br>loginUser Admin admin<br>setCurrentProject Offline<br>  <br>lockResource '/sites/default/xxx.html<div id=":i5">writeProperty '/sites/default/xxx.html' 'MyProperty' 'TRUE' true<br>
unlockResource '/sites/default/xxx.html'<br>
<br>publishProjectAndWait<br><br>clearCaches<br>exit</div><br><br clear="all"><br><br>