Hi all,<div>i'm still fighting with opencms 8.0.3 and static resource export.</div><div><br></div><div>I have just a question, why opencms delete the published resource from the static configured folder?</div><div><br>
</div><div>For example, i have configured:</div><div><ul><li><exportpath>static_res</exportpath><br></li><li><rfs-prefix>${CONTEXT_NAME}/static_res</rfs-prefix><br></li></ul><div>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</div>
</div><div><br></div><div>thanks a lot</div><div class="gmail_extra"><br><br><div class="gmail_quote">2012/11/6 Raffaele Guido <span dir="ltr"><<a href="mailto:r.guido@synclab.it" target="_blank">r.guido@synclab.it</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi all,<div>i solved the problem about the copy of static resources from opencms console (Database Management / Start static export).</div>
<div><br></div><div>But with OpenCms 8.0.3, now i'm experiencing these problems:</div>
<div><ol><li>using CmsOnDemandStaticExportHandler, it delete random resources from the static folder configured in opencms-importexport.xml</li><li>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</li>
<li>in any case static resources in /workplace/commons/style/*.css are never copied into my configured static folder</li></ol><div>Note that i have configured opencms to export static resources in a folder named "static_res" instead the default "export" folder.</div>
</div><div class="im"><div><br></div><div>Thanks a lot</div><div>--</div><div>Raffaele</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2012/10/22 Paul-Inge Flakstad <span dir="ltr"><<a href="mailto:flakstad@npolar.no" target="_blank">flakstad@npolar.no</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div lang="NO-BOK" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Raffaele,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I think changing the <exportpath> element + the <rfs-prefix> element should do the trick. Both are sub-elements of the <staticexport> element.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Best regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Paul<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.org</a> [mailto:<a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.org</a>] <b>On Behalf Of </b>Raffaele Guido<br>
<b>Sent:</b> 22. oktober 2012 09:54<br><b>To:</b> The OpenCms mailing list<br><b>Subject:</b> [opencms-dev] opencms - static resources export<u></u><u></u></span></p></div><div><div><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hi all,<u></u><u></u></p><div><p class="MsoNormal">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.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">How can i do it?<u></u><u></u></p></div><div><p class="MsoNormal">Thanks a lot<u></u><u></u></p><div><div><div><p class="MsoNormal"><u></u> <u></u></p>
</div><p class="MsoNormal">-- <br>Raffaele Guido<u></u><u></u></p></div></div></div></div></div></div></div><br></div></div>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Raffaele Guido<br>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Raffaele Guido<br>
</div>