开发者

Can Google App Engine / GWT plugin work with multi-module projects?

开发者 https://www.devze.com 2023-01-31 04:45 出处:网络
The getting started tutorial for Google App Engine / GWT describes a very simple application using a single eclipse project (module). I\'m porting a JPA / Hibernate based project to GAE and have a ser

The getting started tutorial for Google App Engine / GWT describes a very simple application using a single eclipse project (module). I'm porting a JPA / Hibernate based project to GAE and have a service laye开发者_如何学JAVAr module. It all compiles but when I attempt to run as a web-app from eclipse, obviously it doesn't have access to the service layer.

How do I get Eclipse to build a Jar, and include it (with the src) in the GWT project module - i.e. deployed to the WEB-INF/lib directory?

I can't believe that Google are not addressing this and seem to have just skimmed over this gaping hole.


You should use Ant and setup an Ant Builder that executes when you save your java classes to create the Jar

This should accomplish what you are looking for.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号