-
Notifications
You must be signed in to change notification settings - Fork 28
Missing EventBinder.gwt.xml #15
Comments
Are you using Maven? Maven should automatically generate the file with the correct name based on module.gwt.xml. It should also already be there if you download the jar directly. It is kind of unfortunate that non-Maven users have to make the change manually. @tbroyer, what's your opinion on best practice here? |
Hi, Nope I am not using maven. I am building with ant. I don't get it why it is necessary for maven to move around source files? Vassilis |
@vasvir It's really not clear to me what your problem is, and what you're trying to do. The JAR contains There's no such file in the sources because it's generated from the So: what are you trying to do? and what is your problem exactly? |
Hi, Thanks for the detailed answer. I was trying to build it with ant. Why I didn't use directly the jar? I think it was depending on GWT 2.5 and I wanted to use 2.6. Maybe a misunderstanding of my part. I didn't guess that producing the gwt.xml was the job of a maven plugin. I thought it was a defect or an indication that I was missing something (indeed). Anyway it works for me (for now) from my non maven build. Vassilis |
Thanks for the explanation Thomas. I pushed v1.0.2 yesterday with support for GWT 2.6, so if you download the new jar you might be able to use it directly. |
@vasvir no need to recompile just for a different dependency version (unless there are braking changes), a GWT lib is just a JAR with both compiled classes and java sources (and other resources; and possibly a v1.0.1 was built (and tested) against GWT 2.5.1 but works just as well as v1.0.2 with GWT 2.6 (there was no other change than updating the dependency in the |
Hi,
The documentation states in the client project's .gwt.xml one should add
In the git checkout there is no such file. There is only module.gwt.xml
If I copy this to the proper location the compile runs fine.
cd gwteventbinder/
cp eventbinder/src/main/module.gwt.xml eventbinder/src/main/java/com/google/web/bindery/event/EventBinder.gwt.xml
Am I missing something?
The text was updated successfully, but these errors were encountered: