Thank you Thomas,
I did as you said - put my resources under src/main/resources with the same package name. I have better project layout under Eclipse and maven puts them into the same package during deploy, so application runs without error.
On Tuesday, December 15, 2015 at 10:52:50 AM UTC+2, Thomas Broyer wrote:
-- I did as you said - put my resources under src/main/resources with the same package name. I have better project layout under Eclipse and maven puts them into the same package during deploy, so application runs without error.
On Tuesday, December 15, 2015 at 10:52:50 AM UTC+2, Thomas Broyer wrote:
On Tuesday, December 15, 2015 at 4:43:09 AM UTC+1, Luke Last wrote:Here's my quick stab at these, hope it helps.1. I've never seen this done differently, and personally I find it helpful to have them in the same package.The need to be in the same package (unless you use @UiTemplate), but that does not necessarily mean they have to be in the same folder.I personally like to put everything in src/main/java but YMMV; others prefer src/main/resources.Anyway, this is a Maven/Gradle issue, GWT proper doesn't care (as long as both are somehow in the classpath)
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment