Hi,
after I've managed to get ANT working I was trying to figure out how to import all those projects into Eclipse.
I followed the instructions in trunk/eclipse/README.txt step by step and finally I got a working workspace.
But I did some changes to the source where I don't know if I did something wrong or there are just some files outdated.
When someone can tell me if the following changes are required, to get the Eclipse projects working, I will make a patch with all those small changes.
Or when some of the changes I did should be fixed in another way I would be happy to know how.
1) Some JSNI-implementations does Eclipse see as an error. Can be fixed be prepending the full package name before the class name.
Error: History could not be resolved to a type | History.java | line 127 | Google Web Toolkit Java Problem
Affected:
- user/src/com/google/gwt/user/cellview/client/CellBasedWidgetImplStandard.java
- user/src/com/google/gwt/user/client/History.java
- user/src/com/google/gwt/user/client/impl/DOMImpl.java
- user/src/com/google/gwt/user/client/Timer.java
2) In a ui binder file a stylesheet can't be resolved: user/test/com/google/gwt/uibinder/test/client/WidgetBasedUi.ui.xml
Error: CSS file com/google/gwt/uibinder/test/client/Menu.css is missing WidgetBasedUi.ui.xml | line 110 | Google Web Toolkit UiBinder Problem
3) In a ui binder some field reference generates an error. I didn't know how to solve that, so I removed it.
Any ideas how to prevent the error in user/test/com/google/gwt/uibinder/test/client/WidgetBasedUi.ui.xml?
Error: Field reference to foo: "bar" is undefined | line 204 | Google Web Toolkit UiBinder Problem
4) I was not able to launch the Hello sample or the Showcase project until I added a classpath entry for the gwt-codeserver project. Otherwise the launch configuration failed to start.
Error: Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.google.gwt.dev.codeserver.CodeServer [...]
Would be great when someone has a look at these changes and suggests if I should submit it as a patch or not.
- Jakob