[opencms-dev] opencms - static resources export
Raffaele Guido
r.guido at synclab.it
Wed Nov 21 12:05:57 CET 2012
Hi all,
i'm still fighting with opencms 8.0.3 and static resource export.
I have just a question, why opencms delete the published resource from the
static configured folder?
For example, i have configured:
- <exportpath>static_res</exportpath>
- <rfs-prefix>${CONTEXT_NAME}/static_res</rfs-prefix>
When i publish a static resource, a js file for example, from opencms
console then it delete the corresponding resource from my static_res folder
thanks a lot
2012/11/6 Raffaele Guido <r.guido at synclab.it>
> hi all,
> i solved the problem about the copy of static resources from opencms
> console (Database Management / Start static export).
>
> But with OpenCms 8.0.3, now i'm experiencing these problems:
>
> 1. using CmsOnDemandStaticExportHandler, it delete random resources
> from the static folder configured in opencms-importexport.xml
> 2. using CmsAfterPublishStaticExportHandler, the publish process
> doesn't finish successfully. The resources appears always in lock and to
> publish state and the Admin user logged in cannot unlock it
> 3. in any case static resources in /workplace/commons/style/*.css are
> never copied into my configured static folder
>
> Note that i have configured opencms to export static resources in a folder
> named "static_res" instead the default "export" folder.
>
> Thanks a lot
> --
> Raffaele
>
>
> 2012/10/22 Paul-Inge Flakstad <flakstad at npolar.no>
>
>> Hi Raffaele,****
>>
>> ** **
>>
>> I think changing the <exportpath> element + the <rfs-prefix> element
>> should do the trick. Both are sub-elements of the <staticexport> element.
>> ****
>>
>> ** **
>>
>> Note that you’ll need to restart your servlet container (i.e. Tomcat) in
>> order for these changes in the OpenCms configuration to take effect.****
>>
>> ** **
>>
>> Best regards,****
>>
>> Paul****
>>
>> ** **
>>
>> *From:* opencms-dev-bounces at opencms.org [mailto:
>> opencms-dev-bounces at opencms.org] *On Behalf Of *Raffaele Guido
>> *Sent:* 22. oktober 2012 09:54
>> *To:* The OpenCms mailing list
>> *Subject:* [opencms-dev] opencms - static resources export****
>>
>> ** **
>>
>> Hi all,****
>>
>> i'm using Opencms 8.0.3 and i need to configure opencms-importexport.xml
>> to export static resources into a folder different from default export.**
>> **
>>
>> ** **
>>
>> How can i do it?****
>>
>> Thanks a lot****
>>
>> ** **
>>
>> --
>> Raffaele Guido****
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>
>>
>>
>>
>>
>
>
> --
> Raffaele Guido
>
--
Raffaele Guido
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20121121/fa2c2be1/attachment.htm>
More information about the opencms-dev
mailing list