<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Lorenzo<br>
<blockquote cite="mid:26635831.post@talk.nabble.com" type="cite">
<pre wrap="">Good Morning Ahchim.. the new day brought new symptoms.. we used the config
with the new <export-rule> but it seems that the export still exports
something that we haven't asked to.
</pre>
</blockquote>
this is strange. The configuration from your opencms-importexport.xml
looks perfect - I really wonder why /sites/aaaa.html
is exported. Normally, only resources for /sites/extranet/
should have been exported with this export run.<br>
<br>
Did you restart opencms after you make the configuration change? <br>
If you did then I have really no idea.<br>
<br>
<br>
Kind regards<br>
Christian<br>
<blockquote cite="mid:26635831.post@talk.nabble.com" type="cite">
<pre wrap="">Here is a brief of the last export:
Publishing resources ...
Publishing files ...
( 1 / 1 ) Publishing file /sites/extranet/css/test/index.html ... o.k.
... finished publishing files
Statistics: published files: 1, published folders: 0, deleted folders: 0,
duration: 00:00:00
... the resources have been published
Exporting Non-Template Resources ...
( 1 / 3,064 ) Exporting /sites/aaaa.html
( 2 / 3,064 ) Exporting .....
(here are 3,064 files of that project, but we asked to export only this "
/sites/extranet/css/test/index.html "
Here are the rules I created:
<export-rule>
<name>Extranet</name>
<description>File della Extranet Promotori</description>
<modified-resources>
<regex>/sites/extranet/.*</regex>
<regex>/system/default/modules/it.oursite.extraneti/.*</regex>
</modified-resources>
<export-resources>
<uri>/sites/extranet/</uri>
</export-resources>
</export-rule>
So.. now not only it takes a lot of time to publish all, but the "User's
last published" list doesn't show all the request in the queue.
Does it makes any sense to you?
Lo'
Christian Steinert wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Lorenzo Sala wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Ciao Achim,
may be I found the real problem that will solve most of
our
long waits. There is only 1 project that is exporting only the modified
files and it takes about 1 second to export them. This project is the
only
one that has a <export-rule> configuration in the
opencms-importexport.xml.
All the other projects doesn't appear in this file at all. Could this be
what causes CMS to republish ALL the files of all the projects when we do
an
export?
</pre>
</blockquote>
<pre wrap="">Yes - exactly. If there is a fitting export-rule for your published
file, then opencms will only export those files that are covered by this
rule. If there is no such rule, then /all/ exportable resources will be
re-exported.
So if you define separate export rules for each of your projects, then
publishing will only cause the project-specific resources to be exported.
</pre>
<blockquote type="cite">
<pre wrap="">I'm setting up some <export-rule> for the rest of the projects and
tomorrow
we'll see if that worked.
</pre>
</blockquote>
<pre wrap="">This will definitely work.
Kind regards
Christian
_______________________________________________
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
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
</body>
</html>