ftr-extras build errors

4 views
Skip to first unread message

Rikard

unread,
May 7, 2009, 11:09:42 AM5/7/09
to ftr-gwt-library
Hi,

when trying to build ftr-extras (rev. 249) (needed in ftr-cal-demo
no?) I get the following errors

[javac] Compiling 24 source files to\ftr\ftr-gwt-library-extras
\target\classes
[javac] \ftr\ftr-gwt-library-extras\src\main\java\eu\future\earth
\gwt\client\IntBox.java:73:
getValue() in eu.future.earth.gwt.client.IntBox cannot implement
getValue() in com.google.gwt.user.client.ui.HasValue; attempting to
use incompatible return type
[javac] found : int
[javac] required: java.lang.String
[javac] public int getValue() {
[javac] ^
[javac] \ftr\ftr-gwt-library-extras\src\main\java\eu\future\earth
\gwt\client\LongBox.java:69:
getValue() in eu.future.earth.gwt.client.LongBox cannot implement
getValue() in com.google.gwt.user.client.ui.HasValue; attempting to
use incompatible return type
[javac] found : long
[javac] required: java.lang.String
[javac] public long getValue() {
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 2 errors

BUILD FAILED

In gwt 1.6 TextBox have a String getValue that wasn't there in gwt
1.5, so now ftr-extras overrides a method...

This is not a problem to use ftr-date i guess, but when running ftr-
demo

/Rikard

mcativa

unread,
May 12, 2009, 3:10:18 AM5/12/09
to ftr-gwt-library
I have a similar error. Did you found a solution?

Rikard Hultén

unread,
May 13, 2009, 3:23:29 AM5/13/09
to ftr-gwt...@googlegroups.com
I haven't tried to, I just don't run the demo... using the calendar in a project is no problem.

2009/5/12 mcativa <mca...@gmail.com>

Marteijn Nouwens

unread,
May 13, 2009, 5:57:50 AM5/13/09
to ftr-gwt-library
THe demo should work without the extra being compiled. This project is
not maintained anymore. The code that is inside ftr-gwt-library-extras
can be used freely and copied as such if somebody needs it.

Marteijn

On 13 mei, 09:23, Rikard Hultén <rikardhul...@gmail.com> wrote:
> I haven't tried to, I just don't run the demo... using the calendar in a
> project is no problem.
>
> 2009/5/12 mcativa <mcat...@gmail.com>
Reply all
Reply to author
Forward
0 new messages