fredsa / gwt-dnd

Library providing easy to use mouse or touch based drag-and-drop capabilities to GWT
44 stars 40 forks source link

Forcing IE6 / IE7 permutation using extend-property tag causes compilation error #178

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have encountered an error with GWT 2.6 against gwt-dnd-3.3.0 (RC).

I am compiling with Java 1.7 but have source/target build level designated to 
be 1.6 (using maven gwt build plug-in).

If I explicitly request IE6/IE7 permutation, using:

<extend-property name="user.agent" values="ie6" />

... I get the following error:

   [ERROR] Errors in 'com/allen_sauer/gwt/dnd/client/util/DOMUtil.java'
      [ERROR] Line 39: Rebind result 'com.allen_sauer.gwt.dnd.client.util.impl.DOMUtilImpl' cannot be abstract

The project compiles properly if the tag is not used.

What version of GWT are you using? 1.4.60? 2.0.4? Other?

   2.6

What version of the gwt-dnd jar file or library file are you using?

  3.3.0

What operating system(s) are you using? Windows? Linux? Mac?

  Windows 7 (64-bit)

Does the issue occur in web mode, development mode (formerly "hosted
mode"), both or don't know?

   Fails on compilation.

What browser(s) do you use? Chrome, Firefox, IE, Safari, other?

   Chrome, Firefox, IE, Safari

What is the browser version (if you know) from Help->About?

   Compilation related issue - browser not involved 

What steps will reproduce the problem? Please attach sample code if you
can.

  1. Use Java 1.7.x
  2. Set source build level to be 1.6
  3. Force IE6/7 permutation by adding following tag to the *.gwt.xml file:

      <extend-property name="user.agent" values="ie6" />

What is the expected output? What do you see instead?

   Project should compile, but receive the following error:

Compiling module
   [ERROR] Errors in 'com/allen_sauer/gwt/dnd/client/util/DOMUtil.java'
      [ERROR] Line 39: Rebind result 'com.allen_sauer.gwt.dnd.client.util.impl.DOMUtilImpl' cannot be abstract

Do you have a workaround?

   No

Please provide any additional information below.

Original issue reported on code.google.com by ade...@gmail.com on 7 Apr 2014 at 4:08

GoogleCodeExporter commented 9 years ago
e74ee362ab99a63afc52c33cc6768f5785b6dbb9 restores support for ie6 user.agent 
property

See attached jar

Original comment by fredsa on 8 Apr 2014 at 4:58

Attachments:

GoogleCodeExporter commented 9 years ago
When will this be pushed out as 3.3.1 (or whatever)?

Original comment by j...@thegindins.com on 23 Apr 2014 at 10:55

GoogleCodeExporter commented 9 years ago
3.3.1 just pushed to downloads

Original comment by fredsa on 3 Jul 2014 at 1:40