<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br>The path to export static content is defined in, by example : <exportpath>/opencms/exportfiles/</exportpath><br>Be careful what permissions from the directory where the father export, must write. In this sample "/opencms".<br><br> Did not know him :<span class="EC_328012507-02122008"><font style="font-size: 10pt;" face="Arial" size="2"> <exportworkpath>temp</exportworkpath><br><br></font></span>Regards<br><br><br><hr id="stopSpelling">Date: Tue, 2 Dec 2008 08:29:58 +0100<br>From: ll@metrohm.com<br>To: opencms-dev@opencms.org<br>Subject: [opencms-dev] static export problem<br><br>
<div><span class="EC_328012507-02122008"><font face="Arial" size="2">dear
all,</font></span></div>
<div><span class="EC_328012507-02122008"><font face="Arial" size="2"></font></span> </div>
<div><span class="EC_328012507-02122008"><font face="Arial" size="2">this is my
opencms-importexport.xml:</font></span></div>
<div><span class="EC_328012507-02122008"><font face="Arial" size="2"></font></span> </div>
<div><span class="EC_328012507-02122008"><font face="Arial" size="2"><?xml
version="1.0" encoding="UTF-8"?><br><!DOCTYPE opencms SYSTEM "<a href="http://www.opencms.org/dtd/6.0/opencms-importexport.dtd">http://www.opencms.org/dtd/6.0/opencms-importexport.dtd</a>"></font></span></div>
<div> </div>
<div><span class="EC_328012507-02122008"><font face="Arial" size="2"><opencms><br> <importexport><br> <importexporthandlers><br> <importexporthandler
class="org.opencms.importexport.CmsVfsImportExportHandler"/><br> <importexporthandler
class="org.opencms.module.CmsModuleImportExportHandler"/><br> </importexporthandlers><br> <import><br> <overwrite>true</overwrite><br> <convert>true</convert><br> <importversions><br> <importversion
class="org.opencms.importexport.CmsImportVersion2"/><br> <importversion
class="org.opencms.importexport.CmsImportVersion3"/><br> <importversion
class="org.opencms.importexport.CmsImportVersion4"/><br> <importversion
class="org.opencms.importexport.CmsImportVersion5"/><br> <importversion
class="org.opencms.importexport.CmsImportVersion6"/><br> <importversion
class="org.opencms.importexport.CmsImportVersion7"/><br> </importversions><br> <immutables><br> <resource
uri="/system/"/><br> <resource
uri="/system/categories/"/><br> <resource
uri="/system/galleries/"/><br> <resource
uri="/system/galleries/download/"/><br> <resource
uri="/system/galleries/externallinks/"/><br> <resource
uri="/system/galleries/htmlgalleries/"/><br> <resource
uri="/system/galleries/pics/"/><br> <resource
uri="/system/login/"/><br> <resource
uri="/system/modules/"/><br> <resource
uri="/system/shared/"/><br> <resource
uri="/system/workplace/"/><br> <resource
uri="/system/workplace/admin/"/><br> <resource
uri="/system/workplace/help/"/><br> <resource
uri="/system/workplace/locales/"/><br> <resource
uri="/system/workplace/resources/"/><br> <resource
uri="/system/workplace/restypes/"/><br> <resource
uri="/system/workplace/scripts/"/><br> <resource
uri="/system/workplace/templates/"/><br> <resource
uri="/system/workplace/views/"/><br> </immutables><br> <principaltranslations/><br> <ignoredproperties/><br> </import><br> </importexport><br> <staticexport
enabled="true"><br> <staticexporthandler>org.opencms.staticexport.CmsAfterPublishStaticExportHandler</staticexporthandler><br> <linksubstitutionhandler>org.opencms.staticexport.CmsDefaultLinkSubstitutionHandler</linksubstitutionhandler> <br> <exportpath>export</exportpath><br> <exportworkpath>temp</exportworkpath><br> <exportbackups>2</exportbackups><br> <defaultpropertyvalue>false</defaultpropertyvalue><br> <defaultsuffixes><br> <suffix
key=".jpg"/><br> <suffix
key=".gif"/><br> <suffix
key=".png"/><br> <suffix
key=".doc"/><br> <suffix
key=".xls"/><br> <suffix
key=".ppt"/><br> <suffix
key=".pdf"/><br> <suffix
key=".txt"/><br> <suffix
key=".css"/><br> <suffix
key=".zip"/><br> <suffix
key=".swf"/><br> <suffix
key=".csv"/><br> <suffix
key=".pptx"/><br> <suffix
key=".docx"/><br> <suffix
key=".asc"/><br> </defaultsuffixes><br> <rendersettings><br> <rfs-prefix>/export</rfs-prefix><br> <vfs-prefix></vfs-prefix><br> <userelativelinks>true</userelativelinks> <br> <exporturl>http://cms.myserver.de/${CONTEXT_NAME}/handle404</exporturl><br> <plainoptimization>true</plainoptimization><br> <testresource
uri="/system/shared/page.dtd"/><br> <resourcestorender><br> <regex>/sites/.*</regex><br> <regex>/Homepages/.*</regex><br> <regex>/system/workplace/commons/style/.*</regex><br> <regex>/system/galleries/.*</regex><br> <regex>/system/modules/.*/resources/.*</regex><br> </resourcestorender><br> </rendersettings><br> </staticexport><br> <usercsvexport><br>
<separator>;</separator><br>
<columns><br>
<column>description</column><br>
<column>lastname</column><br>
<column>firstname</column><br>
<column>email</column><br>
<column>address</column><br>
<column>zipcode</column><br>
<column>city</column><br>
<column>country</column><br>
<column>USERPREFERENCES_workplace-startupsettingssite</column><br>
<column>USERPREFERENCES_workplace-startupsettingslocale</column><br>
<column>password</column><br>
</columns><br> </usercsvexport><br> <repositories><br> <repository
name="standard"
class="org.opencms.repository.CmsRepository"><br> <params><br>
<param
name="wrapper">org.opencms.file.wrapper.CmsResourceExtensionWrapperJsp</param><br>
<param
name="wrapper">org.opencms.file.wrapper.CmsResourceExtensionWrapperXmlContent</param><br>
<param
name="wrapper">org.opencms.file.wrapper.CmsResourceExtensionWrapperXmlPage</param><br>
<param
name="wrapper">org.opencms.file.wrapper.CmsResourceWrapperSystemFolder</param><br>
<param
name="wrapper">org.opencms.file.wrapper.CmsResourceWrapperPropertyFile</param><br> </params><br> <filter
type="include"><br> <regex>/__properties/.*</regex><br> <regex>/sites/.*</regex><br> <regex>/system/</regex><br> <regex>/system/__properties/.*</regex><br> <regex>/system/galleries/.*</regex><br> <regex>/system/modules/.*</regex><br> <regex>/system/workplace/.*</regex><br> </filter><br> </repository><br> <repository
name="extended"
class="org.opencms.repository.CmsRepository"><br> <params><br> <param
name="wrapper">org.opencms.file.wrapper.CmsResourceExtensionWrapperJsp</param><br> <param
name="wrapper">org.opencms.file.wrapper.CmsResourceExtensionWrapperXmlContent</param><br> <param
name="wrapper">org.opencms.file.wrapper.CmsResourceWrapperXmlPage</param><br> <param
name="wrapper">org.opencms.file.wrapper.CmsResourceWrapperSystemFolder</param><br> <param
name="wrapper">org.opencms.file.wrapper.CmsResourceWrapperPropertyFile</param><br> </params><br> <filter
type="include"><br> <regex>/__properties/.*</regex><br> <regex>/sites/.*</regex><br> <regex>/system/</regex><br> <regex>/system/__properties/.*</regex><br> <regex>/system/galleries/.*</regex><br> <regex>/system/modules/</regex><br> <regex>/system/modules/[^/]*/</regex><br> <regex>/system/modules/[^/]*/__properties/.*</regex><br> <regex>/system/modules/[^/]*/resources/.*</regex><br> </filter><br> </repository><br> </repositories><br></opencms><br></font></span></div>
<div><span class="EC_328012507-02122008"><font face="Arial" size="2">this works fine, all
expected files are exported to the "temp"-directory. but they are not copied to
the "export" directory. the directory is owned by the tomcat user.
</font></span></div>
<div><span class="EC_328012507-02122008"><font face="Arial" size="2"></font></span> </div>
<div><span class="EC_328012507-02122008"><font face="Arial" size="2">any ideas why the
files are not copied to the export-path?</font></span></div>
<div><span class="EC_328012507-02122008"><font face="Arial" size="2"></font></span> </div>
<div><span class="EC_328012507-02122008"><font face="Arial" size="2">regards</font></span></div>
<div><span class="EC_328012507-02122008"><font face="Arial" size="2">lorenz</font></span></div><br /><hr />Descárgate gratis el nuevo <a href='http://download.live.com/' target='_new'>Windows Live Messenger</a></body>
</html>