开发者

How to create a GWT Library jar from existing GWT Project?

I have a working GWT project library which I include to other GWT projects that need to use it. So far its been useful enough, however I need to make it a library jar, what is the process of doing it?

I tried to export the jar usin开发者_StackOverflow社区g File->Export->JAR File process with Eclipse however when I included the jar file in the same projects where I used to include the project file, it won't work.

Any ideas?


Make sure you package *.java along with *.class. Module gwt.xml should also be placed in correct package.

See an example here.

In eclipse export wizard, make sure "Export Java Source files and resources" checkbox is checked.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜