sangohan / gwt-chronoscope

Automatically exported from code.google.com/p/gwt-chronoscope
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Error in DomTextLayer.java #122

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1.Create application in GWT 1.6 or 1.5 
2. Add ./lib dir and download chronoscope-0.7.jar and gwtexporter.jar
3.Follow these instructions: http://timepedia.org/chronoscope/docs/gwt/

What is the expected output? 

A webpage with a chart on it.

What do you see instead?

[ERROR] Errors in 'jar:file:/root/java/gwt/HelloChart/lib/chronoscope-
0.7.jar!/org/timepedia/chronoscope/client/browser/DomTextLayer.java'
[ERROR] Line 289: Type mismatch: cannot convert from Element to Element

What version of the product are you using? 

chronoscope-0.7.jar with gwt 1.6 and 1.5

On what operating system?

Tested on Linux Ubuntu

Original issue reported on code.google.com by pkirklew...@gabaedevelopment.com on 13 Jun 2009 at 3:21

Attachments:

GoogleCodeExporter commented 9 years ago
I have this same issue (running the demo for chronoscope) on GWT 1.7.1 and 
would be
very interested in the solution/workaround to this problem.  I am trying to run 
this
within Eclipse on windows.  Regards.

Original comment by shunichi...@gmail.com on 9 Nov 2009 at 8:44

GoogleCodeExporter commented 9 years ago
Have the same issue here in GWT 1.7.1 with chronoscope-0.85, but the error is 
on line
291: Element elem = ci.createStructure(rfm.url, (int) b.x, (int) (b.y + 1), 
(int)
b.width, (int) b.height); in DomTextLayer.class

Looks like a mismatch with:
com.google.gwt.dom.client.Element; in ClippedImageImpl.class and
com.google.gwt.user.client.Element; in DomTextLayer.class

Haven't tried the snapshot jar yet.

Original comment by piemm...@googlemail.com on 14 Nov 2009 at 2:46

GoogleCodeExporter commented 9 years ago
Try a more recent build from 
 http://timefire-repository.googlecode.com/svn/mavenrepo/org/timepedia/chronoscope/

Original comment by socon...@gmail.com on 27 Jul 2010 at 7:50

GoogleCodeExporter commented 9 years ago
Shouldn't be an issue in more recent builds.  Try 
http://code.google.com/p/gwt-chronoscope/downloads/detail?name=chronoscope-2.0-S
NAPSHOT.jar

Original comment by timepedia@gmail.com on 20 Aug 2010 at 8:39