[opencms-dev] why can't export static files?

Topxp Lee flyinglee2008 at yahoo.com.cn
Mon May 30 17:54:25 CEST 2005


Hi,all
   I'm a newbie of opencms.
   After install successfully of opencms6.0rc1. I try to add one page to the
"Nice try" project,and export to static html. All configuration is default.
   It has these success hint:

 Validating links ...
( 1 / 1 ) Validating links in file /release/Test1.html ... o.k.
... finished validating links
Publishing resources ...
Publishing files ...
( 1 / 1 ) Publishing file /sites/default/release/Test1.html ... o.k.
... finished publishing files
Statistics: published files:1, published folders:0, deleted folders:0,
duration:00:00:01
... the resources have been published

But,I can't find any Test1.html in Folder
opencms/export/sites/default/release/ .What's happen?

The following is my configuration (all is default):

opencms-importexport.xml :

<opencms>
 <importexport>
  <importexporthandlers>
   <importexporthandler
class="com.opencms.legacy.CmsCosImportExportHandler"/>
   <importexporthandler
class="org.opencms.importexport.CmsVfsImportExportHandler"/>
   <importexporthandler
class="org.opencms.module.CmsModuleImportExportHandler"/>
  </importexporthandlers>
  <import>
   <overwrite>true</overwrite>
   <convert>true</convert>
   <importversions>
    <importversion class="com.opencms.legacy.CmsImportVersion1"/>
    <importversion class="org.opencms.importexport.CmsImportVersion2"/>
    <importversion class="org.opencms.importexport.CmsImportVersion3"/>
    <importversion class="org.opencms.importexport.CmsImportVersion4"/>
   </importversions>
   <immutables>
    <resource uri="/system/"/>
    <resource uri="/system/bodies/"/>
    <resource uri="/system/galleries/"/>
    <resource uri="/system/galleries/download/"/>
    <resource uri="/system/galleries/externallinks/"/>
    <resource uri="/system/galleries/htmlgalleries/"/>
    <resource uri="/system/galleries/pics/"/>
    <resource uri="/system/login/"/>
    <resource uri="/system/modules/"/>
    <resource uri="/system/shared/"/>
    <resource uri="/system/workplace/"/>
    <resource uri="/system/workplace/action/"/>
    <resource uri="/system/workplace/administration/"/>
    <resource uri="/system/workplace/help/"/>
    <resource uri="/system/workplace/locales/"/>
    <resource uri="/system/workplace/resources/"/>
    <resource uri="/system/workplace/restypes/"/>
    <resource uri="/system/workplace/scripts/"/>
    <resource uri="/system/workplace/templates/"/>
    <resource uri="/channels/"/>
    <resource uri="/sites/"/>
   </immutables>
   <principaltranslations/>
   <ignoredproperties/>
  </import>
 </importexport>
 <staticexport enabled="true">

<staticexporthandler>org.opencms.staticexport.CmsOnDemandStaticExportHandler
</staticexporthandler>
  <exportpath>export</exportpath>
  <defaultpropertyvalue>false</defaultpropertyvalue>
  <defaultsuffixes>
   <suffix key=".jpg"/>
   <suffix key=".gif"/>
   <suffix key=".png"/>
   <suffix key=".doc"/>
   <suffix key=".xls"/>
   <suffix key=".ppt"/>
   <suffix key=".pdf"/>
   <suffix key=".txt"/>
   <suffix key=".css"/>
   <suffix key=".zip"/>
   <suffix key=".swf"/>
  </defaultsuffixes>
  <rendersettings>
   <rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix>
   <vfs-prefix>${CONTEXT_NAME}${SERVLET_NAME}</vfs-prefix>
   <userelativelinks>false</userelativelinks>
   <exporturl>http://127.0.0.1:8080${CONTEXT_NAME}/handle404</exporturl>
   <plainoptimization>true</plainoptimization>
   <testresource uri="/system/shared/page.dtd"/>
   <resourcestorender>
    <regex>/sites/.*</regex>
    <regex>/system/galleries/.*</regex>
    <regex>/system/modules/.*/resources/.*</regex>
   </resourcestorender>
  </rendersettings>
 </staticexport>
</opencms>

what's mean of <exporturl> ? My login url is:
http://localhost:8000/opencms/opencms/system/login ,is that OK?

Thanks all.  ^_^

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050530/d9f08c06/attachment.htm>


More information about the opencms-dev mailing list