I thought I'd try to build the latest SmartGWT LGPL from subversion as detailed here:
http://code.google.com/p/smartgwt/wiki/BuildingFromSVN
The svn command pulled out version 2033. I followed the directions but ant gives me this error:
Clearly something fundamental is not right here. :o} I noticed that BuildingFromSVN page is over 3 years old. Perhaps the instructions need updating?
This is a Linux box (Ubuntu) with OpenJDK 1.6.0 and GWT 2.4.0 downloaded as part of the Google Plugin for Eclipse. Should that work?
I'm not really sure how all this fits together (which is why I'm going through the build exercise) but I can't help thinking there's an underlying Javascript library involved. Is that what the SmartClient product is? I have little clue about Javascript, so this is an area I've avoided to date. Should SmartClient be added somewhere? The ant scripts refer to an environment variable called SC_HOME which I don't have. Hmmm....
http://code.google.com/p/smartgwt/wiki/BuildingFromSVN
The svn command pulled out version 2033. I followed the directions but ant gives me this error:
Code:
d@ubuntu:~/dev/third_party/smartgwt_svn/trunk$ ant Buildfile: /home/d/dev/third_party/smartgwt_svn/trunk/build.xml [echo] Using GWT from : /opt/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201205091048-rel-r37/gwt-2.4.0 build: [echo] Using GWT from : /opt/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201205091048-rel-r37/gwt-2.4.0 main: [echo] Using GWT from : /opt/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201205091048-rel-r37/gwt-2.4.0 write_ver: compile: [gwt.javac] /home/d/dev/third_party/smartgwt_svn/trunk/main/build.xml:25: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [gwt.javac] Compiling 658 source files to /home/d/dev/third_party/smartgwt_svn/trunk/build/out/main/bin [gwt.javac] /home/d/dev/third_party/smartgwt_svn/trunk/main/src/com/smartgwt/client/widgets/calendar/Calendar.java:87: com.smartgwt.client.widgets.calendar.Calendar is not abstract and does not override abstract method addDropCompleteHandler(com.smartgwt.client.widgets.events.DropCompleteHandler) in com.smartgwt.client.widgets.events.HasDropCompleteHandlers [gwt.javac] public class Calendar extends Canvas implements DataBoundComponent, com.smartgwt.client.widgets.calendar.events.HasDayBodyClickHandlers, com.smartgwt.client.widgets.calendar.events.HasDayHeaderClickHandlers, com.smartgwt.client.widgets.calendar.events.HasEventChangedHandlers, com.smartgwt.client.widgets.calendar.events.HasEventClickHandlers, com.smartgwt.client.widgets.calendar.events.HasEventRemoveClickHandlers, com.smartgwt.client.widgets.calendar.events.HasEventMovedHandlers, com.smartgwt.client.widgets.calendar.events.HasEventAddedHandlers, com.smartgwt.client.widgets.calendar.events.HasEventRemovedHandlers, com.smartgwt.client.widgets.calendar.events.HasEventResizedHandlers, com.smartgwt.client.widgets.calendar.events.HasDateChangedHandlers, com.smartgwt.client.widgets.calendar.events.HasBackgroundClickHandlers, com.smartgwt.client.widgets.calendar.events.HasBackgroundMouseDownHandlers { [gwt.javac] ^ [gwt.javac] /home/d/dev/third_party/smartgwt_svn/trunk/main/src/com/smartgwt/client/widgets/grid/ListGrid.java:65: com.smartgwt.client.widgets.grid.ListGrid is not abstract and does not override abstract method addDropCompleteHandler(com.smartgwt.client.widgets.events.DropCompleteHandler) in com.smartgwt.client.widgets.events.HasDropCompleteHandlers [gwt.javac] public class ListGrid extends Canvas implements DataBoundComponent, com.smartgwt.client.widgets.grid.events.HasHeaderClickHandlers, com.smartgwt.client.widgets.grid.events.HasRecordDropHandlers, com.smartgwt.client.widgets.grid.events.HasRecordExpandHandlers, com.smartgwt.client.widgets.grid.events.HasRecordCollapseHandlers, com.smartgwt.client.widgets.grid.events.HasDataArrivedHandlers, com.smartgwt.client.widgets.grid.events.HasDrawAreaChangedHandlers, com.smartgwt.client.widgets.grid.events.HasFieldStateChangedHandlers, com.smartgwt.client.widgets.grid.events.HasEditCompleteHandlers, com.smartgwt.client.widgets.grid.events.HasEditFailedHandlers, com.smartgwt.client.widgets.grid.events.HasEditorExitHandlers, com.smartgwt.client.widgets.grid.events.HasRowEditorEnterHandlers, com.smartgwt.client.widgets.grid.events.HasRowEditorExitHandlers, com.smartgwt.client.widgets.grid.events.HasEditorEnterHandlers, com.smartgwt.client.widgets.grid.events.HasCellSavedHandlers, com.smartgwt.client.widgets.grid.events.HasCellOutHandlers, com.smartgwt.client.widgets.grid.events.HasCellOverHandlers, com.smartgwt.client.widgets.grid.events.HasCellContextClickHandlers, com.smartgwt.client.widgets.grid.events.HasCellMouseDownHandlers, com.smartgwt.client.widgets.grid.events.HasCellMouseUpHandlers, com.smartgwt.client.widgets.grid.events.HasCellClickHandlers, com.smartgwt.client.widgets.grid.events.HasCellDoubleClickHandlers, com.smartgwt.client.widgets.grid.events.HasRowOutHandlers, com.smartgwt.client.widgets.grid.events.HasRowOverHandlers, com.smartgwt.client.widgets.grid.events.HasRowContextClickHandlers, com.smartgwt.client.widgets.grid.events.HasRowMouseDownHandlers, com.smartgwt.client.widgets.grid.events.HasRowMouseUpHandlers, com.smartgwt.client.widgets.grid.events.HasRecordClickHandlers, com.smartgwt.client.widgets.grid.events.HasRecordDoubleClickHandlers, com.smartgwt.client.widgets.grid.events.HasCellHoverHandlers, com.smartgwt.client.widgets.grid.events.HasRowHoverHandlers, com.smartgwt.client.widgets.grid.events.HasSelectionChangedHandlers, com.smartgwt.client.widgets.grid.events.HasSelectionUpdatedHandlers, com.smartgwt.client.widgets.grid.events.HasHeaderDoubleClickHandlers, com.smartgwt.client.widgets.grid.events.HasFilterEditorSubmitHandlers, com.smartgwt.client.widgets.grid.events.HasGroupByHandlers, com.smartgwt.client.widgets.grid.events.HasViewStateChangedHandlers, com.smartgwt.client.widgets.grid.events.HasBodyKeyPressHandlers { [gwt.javac] ^ [gwt.javac] /home/d/dev/third_party/smartgwt_svn/trunk/main/src/com/smartgwt/client/widgets/form/DynamicForm.java:101: com.smartgwt.client.widgets.form.DynamicForm is not abstract and does not override abstract method addDropCompleteHandler(com.smartgwt.client.widgets.events.DropCompleteHandler) in com.smartgwt.client.widgets.events.HasDropCompleteHandlers [gwt.javac] public class DynamicForm extends Canvas implements DataBoundComponent, com.smartgwt.client.widgets.form.events.HasSubmitValuesHandlers, com.smartgwt.client.widgets.form.events.HasItemChangeHandlers, com.smartgwt.client.widgets.form.events.HasItemChangedHandlers, com.smartgwt.client.widgets.form.events.HasItemKeyPressHandlers, com.smartgwt.client.widgets.form.events.HasFormSubmitFailedHandlers, com.smartgwt.client.widgets.form.events.HasHiddenValidationErrorsHandlers, com.smartgwt.client.widgets.form.events.HasAsyncValidationReplyHandlers { [gwt.javac] ^ [gwt.javac] /home/d/dev/third_party/smartgwt_svn/trunk/main/src/com/smartgwt/client/widgets/grid/ColumnTree.java:74: com.smartgwt.client.widgets.grid.ColumnTree is not abstract and does not override abstract method addDropCompleteHandler(com.smartgwt.client.widgets.events.DropCompleteHandler) in com.smartgwt.client.widgets.events.HasDropCompleteHandlers [gwt.javac] public class ColumnTree extends Layout implements DataBoundComponent, com.smartgwt.client.widgets.grid.events.HasNodeSelectedHandlers { [gwt.javac] ^ [gwt.javac] /home/d/dev/third_party/smartgwt_svn/trunk/main/src/com/smartgwt/client/widgets/tile/TileGrid.java:66: com.smartgwt.client.widgets.tile.TileGrid is not abstract and does not override abstract method addDropCompleteHandler(com.smartgwt.client.widgets.events.DropCompleteHandler) in com.smartgwt.client.widgets.events.HasDropCompleteHandlers [gwt.javac] public class TileGrid extends TileLayout implements DataBoundComponent, com.smartgwt.client.widgets.tile.events.HasRecordClickHandlers, com.smartgwt.client.widgets.tile.events.HasRecordDoubleClickHandlers, com.smartgwt.client.widgets.tile.events.HasRecordContextClickHandlers, com.smartgwt.client.widgets.tile.events.HasSelectionChangedHandlers { [gwt.javac] ^ [gwt.javac] /home/d/dev/third_party/smartgwt_svn/trunk/main/src/com/smartgwt/client/widgets/viewer/DetailViewer.java:64: com.smartgwt.client.widgets.viewer.DetailViewer is not abstract and does not override abstract method getAutoFetchTextMatchStyle() in com.smartgwt.client.widgets.DataBoundComponent [gwt.javac] public class DetailViewer extends Canvas implements DataBoundComponent { [gwt.javac] ^ [gwt.javac] Note: Some input files use or override a deprecated API. [gwt.javac] Note: Recompile with -Xlint:deprecation for details. [gwt.javac] Note: /home/d/dev/third_party/smartgwt_svn/trunk/main/src/com/smartgwt/rebind/BeanProperty.java uses unchecked or unsafe operations. [gwt.javac] Note: Recompile with -Xlint:unchecked for details. [gwt.javac] 6 errors BUILD FAILED /home/d/dev/third_party/smartgwt_svn/trunk/build.xml:35: The following error occurred while executing this line: /home/d/dev/third_party/smartgwt_svn/trunk/build.xml:18: The following error occurred while executing this line: /home/d/dev/third_party/smartgwt_svn/trunk/main/build.xml:25: Compile failed; see the compiler error output for details. Total time: 2 seconds
This is a Linux box (Ubuntu) with OpenJDK 1.6.0 and GWT 2.4.0 downloaded as part of the Google Plugin for Eclipse. Should that work?
I'm not really sure how all this fits together (which is why I'm going through the build exercise) but I can't help thinking there's an underlying Javascript library involved. Is that what the SmartClient product is? I have little clue about Javascript, so this is an area I've avoided to date. Should SmartClient be added somewhere? The ant scripts refer to an environment variable called SC_HOME which I don't have. Hmmm....
Comment