Hi Keith,
For gwt-log-2.6.0 you'll need GWT 1.6.4. Here's the compatibility guide:
  http://code.google.com/p/gwt-log/wiki/GettingStarted

Fred



On Fri, Apr 24, 2009 at 8:32 PM, Keith Willard <[email protected]>wrote:

>
> I am just trying out gwt-log and am having some basic trouble during
> the compilation of the java-->javascript
>
> I have a 1.5ish project I have recently gotten working on 1.6 and
> tried getting a basic gwt-log logger to work.
> (I am using the new codehaus 1.1 gwt-maven plugin to run my project).
> ( While you see references to a gwt-2.6.0-SNAPSHOT  that is just the
> current gwt-log-2.6.0 I published to a local snapshot repository)
>
>
>
> I did the following
>
> 1) inserted
> <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" />
>  <set-property name="log_DivLogger" value="ENABLED" />
> into my module's .gwt.xml file
>
>
> 2) then in a popupdialog widget in the
>
> import com.allen_sauer.gwt.log.client.Log;
>
>
> ....
>
>  public void onClick(Widget sender) {
>
>      Log.debug("This is a 'DEBUG' test message");
>      hide();
>    }
>
>
> ----
>
>
>
> 3) now when when I compile this I get the following error messages.
> Any suggestions as to what I am doing wrong?
>
>
> [INFO] [gwt:compile]
> [INFO] using GWT jars from project dependencies : 1.6.1
> [INFO] Unpack native libraries required to run GWT
> [INFO] auto discovered modules
> [com.google.gwt.sample.kitchensink.KitchenSink]
> [INFO] establishing classpath list (scope = compile)
> [INFO] Compiling module com.google.gwt.sample.kitchensink.KitchenSink
> [INFO]    Refreshing module from source
> [INFO]       Validating newly compiled units
> [INFO]          Removing units with errors
> [INFO]             [ERROR] Errors in 'jar:file:/C:/Documents%20and
> %20Settings/eqkv05r/.m2/repository/com/google/code/gwt-log/gwt-log/
> 2.6.0-SNAPSHOT/gwt-log-2.6.0-SNAPSHOT.jar!/com/allen_sauer/gwt/log/
> translatable/com/allen_sauer/gwt/log/client/DivLogger.java'
> [INFO]                [ERROR] Line 72: The method getRelativeX
> (Element) is undefined for the type MouseDownEvent
> [INFO]                [ERROR] Line 73: The method getRelativeY
> (Element) is undefined for the type MouseDownEvent
> [INFO]                [ERROR] Line 79: The method getRelativeX
> (Element) is undefined for the type MouseMoveEvent
> [INFO]                [ERROR] Line 80: The method getRelativeY
> (Element) is undefined for the type MouseMoveEvent
> [INFO]                [ERROR] Line 108: The method getX() is undefined
> for the type MouseDownEvent
> [INFO]                [ERROR] Line 109: The method getY() is undefined
> for the type MouseDownEvent
> [INFO]                [ERROR] Line 115: The method getX() is undefined
> for the type MouseMoveEvent
> [INFO]                [ERROR] Line 115: The method getY() is undefined
> for the type MouseMoveEvent
> [INFO]          Removing invalidated units
> [INFO]             [WARN] Compilation unit 'jar:file:/C:/Documents
> %20and%20Settings/eqkv05r/.m2/repository/com/google/code/gwt-log/gwt-
> log/2.6.0-SNAPSHOT/gwt-log-2.6.0-SNAPSHOT.jar!/com/allen_sauer/gwt/log/
> translatable/com/allen_sauer/gwt/log/client/Log.java' is removed due
> to invalid reference(s):
> [INFO]                [WARN] jar:file:/C:/Documents%20and%20Settings/
> eqkv05r/.m2/repository/com/google/code/gwt-log/gwt-log/2.6.0-SNAPSHOT/
> gwt-log-2.6.0-SNAPSHOT.jar!/com/allen_sauer/gwt/log/translatable/com/
> allen_sauer/gwt/log/client/DivLogger.java
>
> ...which keeps going on through a number of additional gwt-log
> classes.
>
>
> --Keith
>
>
>
>
>
> >
>


-- 
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