Can ivy or ivyDE add related jars into JAVA build path library automatically in Eclipse?

一笑奈何 提交于 2019-12-04 07:53:55

It would if you use the Ivy Eclipse plugin. If you have it installed, you'll need to add the IVY runtime to the build path of the project. This can be done via Project Properties->Java Build Path under the Libraries tab, select Add Library then select IvyDE Managed Dependencies.

Once that's done, an Ivy resolve will add all the jars specified in ivy.xml to the project's build path.

You need to add ivysettings.xml file to your project and set it in Preferences (Window --> Preferences --> Ivy --> Settings: Ivy settings path). When it is absent, ivy doesn't know where to look for dependencies.

(Maybe it is enough to add the file to one of your projects, but I'm not sure.)

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