[opencms-dev] Problems and scheduled static export

Jörg Herbst herbst at getit.de
Wed Jan 7 12:06:01 CET 2004


Hi,

I'm trying to implement a scheduled publishing of my project. I've 
implemented a I_CmsCronJob Object for calling cms.publishProject. This 
works fine and the project is published as I want.
My problem is, the static export is not triggered. I guess there is no 
RequestContext in CmsStaticExport  [Line 229] 
(cms.getRequestContext().getRequest() != null), so the static export 
branch is never processed.
So I've tried to change the source, removing the if condition. Now I'm 
running in problems of a missing Launcher object (NullPointerException).
Has anybody successfully implemented a scheduled publishing including a 
static file export yet and can give me some help?

Thanks
Joerg





More information about the opencms-dev mailing list