Thanks
That's better now.
I'm now facing an error where my ComponentManager in the tests cannot find
a suitable Parser instance.
org.xwiki.component.manager.ComponentLookupException: Can't find descriptor
for the component [role = [org.xwiki.rendering.parser.Parser] hint =
[xwiki/2.0]]
at
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:315)
at
org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:112)
at
org.xwiki.rendering.test.integration.RenderingTest.runTestInternal(RenderingTest.java:125)
--G
2011/11/29 Thomas Mortagne <thomas.mortagne(a)xwiki.com>
On Tue, Nov 29, 2011 at 10:48 AM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com> wrote:
On Tue, Nov 29, 2011 at 10:40 AM, Guillaume
Sauthier (Objectweb)
<guillaume.sauthier(a)objectweb.org> wrote:
> 2011/11/29 Guillaume Sauthier (Objectweb) <
guillaume.sauthier(a)objectweb.org>
>
>>
>>
>>> > BTW, I tried to move to latest xwiki-commons module
(3.3-milestone-1),
>>> and
>>> > I hit some issues, so I did not incorporate theses changes in what I
>>> pushed.
>>> > The first one is that the AbstractLogEnabled class is no more in the
>>> > dependencies,
>>>
>>> To get logs now you just need to get the SLF4J logger injected, see
>>>
>>>
http://extensions.xwiki.org/xwiki/bin/view/Extension/Component+Module#HComp…
>>>
>>
>> My component is not yet using logging, I suspect that there is an old
>> component somewhere in my dependencies that is using the
AbstractLogEnabled
>> class, and when the ComponentManager find
it, it cannot load that
class ...
In fact, the error comes from the fact that my code is using
DocumentModelBridge
The only artifact I found providing that interface is
org.xwiki.platform:xwiki-core-bridge
And its latest version is 3.0.1, and some components provided by this
module are still using the AbstractLogEnabled class ...
Is there a replacement for DocumentModelBridge in 3.3.x versions ?
since 3.0 all platform modules had been renamed as
org.xwiki.platform:xwiki-platform-* and some moved to commons but it's
pretty rare something is removed.
You can check in
http://maven.xwiki.org/snapshots/org/xwiki/platform/.
The bridge is non in org.xwiki.platform:xwiki-platform-bridge
s/non/now/
--G
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne
--
Thomas Mortagne
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs