-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UiBinder file location in gwt-lib artifacts #33
Comments
Even if you explicitly declare (unfortunately, I have no idea why I have added the Maybe we should rather just remove it as |
I didn't try to declare it explicitly (I removed it when moving from the "official" gwt-maven-module to your's) but I guess it should work fine if I do (can try it if you like). I stumbled over this when I tried to run
When I move the However as you said, running |
There is also another issue when the UiBinder files are in |
This is a feature ;-) Resources can be "filtered", so they have to be processed by I think we should just remove the filter. |
I get into the same situation after migrating from mojo gwt-maven-plugin, I created this issue #32 but as @tbroyer said, just adding the resources solves the problem. But, if this problem is common from people coming from mojo plugin, probably removing the filter or adding some warning if ui.xml o gwt.xml are found in sources might be nice. |
Ah right. I hadn't realized at the time that the behavior would be different between |
Fixed by a15aa99, and released in 1.0-rc-3. |
I guess this is by design but probably should be documented:
In a
gwt-lib
library one has to put the UiBinder files (i.e.SomeView.ui.xml
) into theresources/PACKAGE
folder, so that they are packaged when runningmvn package
.If they UIBinder files are in the
src/main/java/PACKAGE
folder, they are not packaged.The text was updated successfully, but these errors were encountered: