ftr-gwt-demo on version 1.6

9 views
Skip to first unread message

Mihai

unread,
May 1, 2009, 5:10:37 AM5/1/09
to ftr-gwt-library
Hi,

How can we build and view the demo application?

Environment:
- Google Web Toolkit 1.6.4
- java version "1.6.0_13"
- ftr-gwt-library 1.6

Errors:
- on ftr-gwt-library_home/build.bat: we have many missing dependencies
- on ftr-gwt-library_home/ftr-gwt-demo/ant run-cal-demo (the gwt
development shell window appears and the dissapears):
[console-output]
Buildfile: build.xml

run-cal-demo:

BUILD SUCCESSFUL
Total time: 1 second
[/console-output]

Any idea?
Thanks

Mihai

unread,
May 1, 2009, 5:21:00 AM5/1/09
to ftr-gwt-library
error message on "ant run-cal-demo":

[TRACE] Compiling Java source files in module 'calendar'
[TRACE] Removing units with errors
[ERROR] Errors in 'file:/C:/Users/X/Desktop/ftr-gwt-library/ftr-gwt-
demo/src/main/java/eu/future/earth/gwt/client/date/
DefaultStringEventDataDialog.java'
[ERROR] Line 19: The import com.google.gwt.event cannot be resolved
[ERROR] Line 20: The import com.google.gwt.event cannot be resolved
[ERROR] Line 21: The import com.google.gwt.event cannot be resolved
[ERROR] Line 22: The import com.google.gwt.event cannot be resolved
[ERROR] Line 36: KeyPressHandler cannot be resolved to a type
[ERROR] Line 36: ClickHandler cannot be resolved to a type
[ERROR] Line 80: The method setValue(boolean) is undefined for the
type CheckBox
[ERROR] Line 82: The method setValue(boolean) is undefined for the
type CheckBox
[ERROR] Line 103: The method addClickHandler
(DefaultStringEventDataDialog) is undefined for the type CheckBox
....
[ERROR] Errors in 'file:/C:/Users/X/Desktop/ftr-gwt-library/ftr-gwt-
demo/src/main/java/eu/future/earth/gwt/client/hordate/
DefaultHorizontalDayField.java'
[ERROR] Line 22: The import com.google.gwt.event cannot be resolved
....
[ERROR] Errors in 'file:/C:/Users/X/Desktop/ftr-gwt-library/ftr-gwt-
demo/src/main/java/eu/future/earth/gwt/client/date/
DefaultMonthField.java'
[ERROR] Line 22: The import com.google.gwt.event cannot be resolved
[ERROR] Line 31: ClickHandler cannot be resolved to a type
[ERROR] Line 40: The method addClickHandler(DefaultMonthField) is
undefined for the type Label
[ERROR] Errors in 'file:/C:/Users/X/Desktop/ftr-gwt-library/ftr-gwt-
demo/src/main/java/eu/future/earth/gwt/client/hordate/
HorizontalDemo.java'
[ERROR] Line 13: The import eu.future.earth.gwt.client.date.horizontal
cannot be resolved
[ERROR] Line 17: HorizontalViewPanel cannot be resolved to a type
...

Mihai

unread,
May 1, 2009, 5:43:25 AM5/1/09
to ftr-gwt-library
After replaced jdk64 with jdk32, I have this error:

[TRACE] Removing units with errors
[ERROR] Errors in 'file:/C:/Users/X/Desktop/ftr-gwt-library/ftr-gwt-
demo/src/main/java/eu/future/earth/gwt/client/hordate/
DefaultStringEventDataDialog.java'
[ERROR] Line 38: The import eu.future.earth.gwt.client.date.horizontal
cannot be resolved
[ERROR] Line 68: HorizontalDateRenderer cannot be resolved to a type
[ERROR] Line 72: HorizontalDateRenderer cannot be resolved to a type
[ERROR] Errors in 'file:/C:/Users/X/Desktop/ftr-gwt-library/ftr-gwt-
demo/src/main/java/eu/future/earth/gwt/client/date/
DefaultDayField.java'
[ERROR] Line 38: The method addClickHandler(ClickHandler) in the type
Label is not applicable for the arguments (DefaultDayField)
[ERROR] Errors in 'file:/C:/Users/X/Desktop/ftr-gwt-library/ftr-gwt-
demo/src/main/java/eu/future/earth/gwt/client/hordate/
HorizontalDemo.java'
[ERROR] Line 13: The import eu.future.earth.gwt.client.date.horizontal
cannot be resolved
[ERROR] Line 17: HorizontalViewPanel cannot be resolved to a type
...
[ERROR] Errors in 'file:/C:/Users/X/Desktop/ftr-gwt-library/ftr-gwt-
demo/src/main/java/eu/future/earth/gwt/client/date/
DefaultMonthField.java'
[ERROR] Line 31: The type DefaultMonthField must implement the
inherited abstract method ClickHandler.onClick(ClickEvent)
[ERROR] Errors in 'jar:file:/C:/Users/X/Desktop/ftr-gwt-library/lib/
ftr-gwt-library-extras-0.9.9.jar!/eu/future/earth/gwt/client/
LongBox.java'
[ERROR] Line 69: The return type is incompatible with
TextBoxBase.getValue()
[ERROR] Errors in 'jar:file:/C:/Users/X/Desktop/ftr-gwt-library/lib/
ftr-gwt-library-extras-0.9.9.jar!/eu/future/earth/gwt/client/
IntBox.java'
[ERROR] Line 73: The return type is incompatible with
TextBoxBase.getValue()
[ERROR] Errors in 'file:/C:/Users/X/Desktop/ftr-gwt-library/ftr-gwt-
demo/src/main/java/eu/future/earth/gwt/client/hordate/
DefaultHorizontalDayField.java'
[ERROR] Line 33: The import eu.future.earth.gwt.client.date.horizontal
cannot be resolved
...

Marteijn Nouwens

unread,
May 1, 2009, 7:22:43 AM5/1/09
to ftr-gwt-library
Please update the svn .

The Libs have been changed and ant files changed.

Marteijn

Mihai

unread,
May 1, 2009, 7:55:05 AM5/1/09
to ftr-gwt-library
Now it works. Thanks. Nice tool!
Reply all
Reply to author
Forward
0 new messages