Eclipse WTP deployment of build path dependencies

天大地大妈咪最大 提交于 2019-12-06 10:48:51

Let's say your projects are called "util" for the one that is included and "web" for the downstream one.

  1. In util, go to Deployment Assembly page under project properties. Hit Add and select "Java Build Path Entries" option. Select jars that are on util project's build path that should packaged with it.

  2. In web, go to Build Path page and remove dependency on util. That's not how you want that dependency setup.

  3. Again in web, go to Deployment Assembly page and select Project option. Pick util on the next page. After add, you can see on the Deployment Assembly page an entry for util that you can expand to see everything else that will also be included.

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