[opencms-dev] publishResource() threaded?

Tobias Herrmann t.herrmann at alkacon.com
Wed Apr 22 18:19:36 CEST 2009


Hello Roman,

you are right, the publishing has changed from OpenCms6 to OpenCms7.

For post publishing operations it is best to implement the 
org.opencms.main.I_CmsEventListener. After publishing an event of type 
I_CmsEventListener.EVENT_PUBLISH_PROJECT is fired.

Best regards.

Tobias

-- 
Tobias Herrmann

-------------------

Alkacon Software GmbH - The OpenCms Experts
Tobias Herrmann

http://www.alkacon.com
http://www.opencms.org

Visit OpenCms Days 2009 Conference and Expo
June 15 to June 16 2009 in Cologne, Germany
http://www.opencms-days.org




Roman Uhlig schrieb:
> Could it be that OpenCms.getPublishManager().publishResource() from OpenCms 7
> API is threaded, while CmsObject.publishResource() from OpenCMs 6 (now
> deprecated) was not?
>
> We have a hard time right now to find out while post-publishing operations
> on the published files sometimes work and sometimes fail in our OpenCms
> applications after upgrading to OpenCms 7.
>
> Any suggestions would be very appreciated.
>
> Thank you in advance,
> Roman
>   



More information about the opencms-dev mailing list