[opencms-dev] Publish deleted resource

Ørnulf Risnes ornulf.risnes at nsd.uib.no
Wed Feb 25 14:05:04 CET 2004


I want to programatically delete a resource from the online project.

I have deleted it from the offline project, but when I use...

CmsObject::publishResource(pathToDeletedResource)

...an exception is thrown.


It seems that the resource cannot be found. In the workplace you are 
able to actually publish deleted resources in order to delete them from 
the online project. I haven't been able to find out how it actually 
works though.

Does anybody know?


Ørnulf Risnes
Nesstar ltd.



More information about the opencms-dev mailing list