Yes it's a mistake. The namespace is "cache" in cache component. I'm
fixing the xwiki.properties now.
On Fri, Oct 17, 2008 at 9:12 AM, Vincent Massol <vincent(a)massol.net> wrote:
Hi Thomas,
Configuration properties must have namespaces specified.
For ex it shouldn't be "cacheHint=jbosscache" but something like:
cache.defaultCacheHint=jbosscache
cache.localCacheHint=jbosscache/local
You have to do that anyway when using the configuration components
(unless you've used an empty string which isn't correct).
Thanks
-Vincent
On Oct 15, 2008, at 3:19 PM, tmortagne (SVN) wrote:
Author: tmortagne
Date: 2008-10-15 15:18:38 +0200 (Wed, 15 Oct 2008)
New Revision: 13576
Modified:
platform/xwiki-tools/trunk/xwiki-configuration-resources/src/main/
resources/xwiki.cfg.vm
platform/xwiki-tools/trunk/xwiki-configuration-resources/src/main/
resources/xwiki.properties.vm
Log:
XTCONFRES-24: Move cache components configuration from xwiki.cfg to
xwiki.properties
Modified: platform/xwiki-tools/trunk/xwiki-configuration-resources/
src/main/resources/xwiki.cfg.vm
===================================================================
--- platform/xwiki-tools/trunk/xwiki-configuration-resources/src/
main/resources/xwiki.cfg.vm 2008-10-15 13:15:33 UTC (rev 13575)
+++ platform/xwiki-tools/trunk/xwiki-configuration-resources/src/
main/resources/xwiki.cfg.vm 2008-10-15 13:18:38 UTC (rev 13576)
@@ -180,6 +180,7 @@
#-------------------------------------------------------------------------------------
# Cache
+# [DEPRECATED since 1.7M1: this way to configure cache provider is
deprecated, you should use xwiki.properties instead.]
#-------------------------------------------------------------------------------------
#-# [Since 1.5M2]
Modified: platform/xwiki-tools/trunk/xwiki-configuration-resources/
src/main/resources/xwiki.properties.vm
===================================================================
--- platform/xwiki-tools/trunk/xwiki-configuration-resources/src/
main/resources/xwiki.properties.vm 2008-10-15 13:15:33 UTC (rev 13575)
+++ platform/xwiki-tools/trunk/xwiki-configuration-resources/src/
main/resources/xwiki.properties.vm 2008-10-15 13:18:38 UTC (rev 13576)
@@ -3,3 +3,15 @@
# As time progresses more and more component will get their
configurations from
# this file.
+
#-------------------------------------------------------------------------------------
+# Cache
+
#-------------------------------------------------------------------------------------
+
+#-# [Since 1.7M1]
+#-# The cache component implementation to use as "normal" (can be
local or distributed depending on the implementation)
+#-# cache component.
+# cacheHint=jbosscache
+
+#-# [Since 1.7M1]
+#-# The cache component to use as local cache component.
+# localCacheHint=jbosscache/local
\ No newline at end of file
_______________________________________________
notifications mailing list
notifications(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/notifications
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs