[opencms-dev] Publishing with static export programmatically

Markus Strickler mstrickler at gmx.de
Wed Jul 7 15:22:00 CEST 2004


Hi-

I'm currently trying to write a cronjob class that moves some content around
and then publishes and exports it.
The moving around works fine so far, however when I call
cms.publishProject() the static export is not triggered. The reason for this
seems to be in CmsStaticExport() which requires a current request in the
context. Is there any way to fake the request, so the files get actually
exported? Or is there another way to publish a project, that actually does a
static export?

Thanks for any help,

-markus

-- 
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info




More information about the opencms-dev mailing list