Hi Niamande,
Can you check the the module name you return in getModuleName() is indeed
myModule.gwt.xml, i.e. the same one as works in hosted mode.

It sounds like you are somehow having a gwt-log module being included twice.

Fred


On Thu, Jul 16, 2009 at 5:05 AM, niamande <[email protected]> wrote:

>
> When I execute an unit test (that extends GWTTestCase), i've got :
>
> Loading module 'com.zzz.i18n.gwt.myMooduleTest.JUnit'
>   Loading inherited module 'com.zzz.i18n.gwt.myMooduleTest'
>      Loading inherited module 'com.zzz.i18n.gwt.myMoodule'
>         Loading inherited module 'com.allen_sauer.gwt.log.gwt-log-
> DEBUG'
>            Loading inherited module 'com.allen_sauer.gwt.log.gwt-log-
> common'
>               Loading inherited module 'com.allen_sauer.gwt.log.gwt-
> log-impl'
>                  [ERROR] The deferred-binding property named
> log_level may not be redefined.
>                  [ERROR] Line 27: Unexpected exception while
> processing element 'define-property'
> com.google.gwt.core.ext.UnableToCompleteException: (see previous log
> entries)
>        at com.google.gwt.dev.cfg.ModuleDefSchema
> $BodySchema.__define_property_begin(ModuleDefSchema.java:168)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin
> (HandlerMethod.java:223)
>        at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement
> (ReflectiveParser.java:257)
>        at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
> (AbstractSAXParser.java:501)
>        at
>
> com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement
> (AbstractXMLDocumentParser.java:179)
>
>
> In my myMoodule.gwt.xml, i use :
>        <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" />
>
> But when i use my Module, the logger works fine.
>
> I have bad configured anything ?
>
> Thanks !
> >
>


-- 
Fred Sauer
Developer Advocate
Google Inc. 1600 Amphitheatre Parkway
Mountain View, CA 94043
[email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-log" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/gwt-log?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to