ClientBundle Resources Path in GWT

浪子不回头ぞ 提交于 2019-12-12 04:54:29

问题


I have a maven gwt project, and I'm using ClientBundle to package my image resources within the project. I would like to place the images in /src/main/resources as should be done in maven instead of src/main/java/com/mycompany/myproject/client as gwt wants.

Is there any way I can achieve this?

Thank you, Sammy


回答1:


I got it; I can place the image at src/main/resources/com/mycompany/myproject/client and it will be resolved correctly ;)



来源:https://stackoverflow.com/questions/2027408/clientbundle-resources-path-in-gwt

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!