Eclipse 3.4 GWT 1.6 project - how to reference source from other projects?

前端 未结 8 1909
迷失自我
迷失自我 2020-12-14 02:23

I\'ve got a GWT 1.6 project in Eclipse 3.4 and am trying to reference source from another (non-GWT) project in my workspace. I\'ve added the project to my

8条回答
  •  遥遥无期
    2020-12-14 02:58

    GWT doesn't know about that other code because it is not in the client directory of your project. You need to add the source path for the other code to the .gwt.xml file. Just added it to the xml as follows

    
    

    common is the directory where the extra code is for this example.

    Check out the XML Element Reference section of this doc

提交回复
热议问题