[opencms-dev] OpenCms 8 deleteResource not working

Steve Bryan steve.bryan at shinetech.com
Thu Jul 5 04:54:06 CEST 2012


Hi List

Using OpenCms 6 we used the following script to update a resource using
cmsshell.sh.

After upgrade to OpenCms 8, deleteResource is no longer available in the
list of commands available. Is this a defect in cmsshell for OpenCms, or is
there another way to acheive the same thing?

lockResource '/system/modules/com.blah/xxx.jsp'

deleteResource '/system/modules/com.blah/xxx.jsp' 1

uploadFile 'system/modules/com.blah/xxx.jsp' '/system/modules/com.blah/'
'xxx.jsp' jsp

unlockResource '/system/modules/com.blah/xxx.jsp'


Thanks
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120705/838f101e/attachment.htm>


More information about the opencms-dev mailing list