How to Tell Eclipse to Include Standard .jar Library for All Projects

后端 未结 4 1042
暗喜
暗喜 2020-12-08 17:36

I realize that in eclipse you can specify certain .jar libraries to add for individual projects, but I was wondering if it was possible to make it such that eclipse automati

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-08 17:53

    You can adapt a dependency control and build system like maven and put your dependency jars are properties for the maven modules. This way maven is in charge of putting the jars in a shared place in the maven repository and reusing them across projects. You can then use the Maven eclipse project generator to create your workspace for eclipse. If you project is getting rather big with lots of individual projects in the workspace this is a great automation solution.

提交回复
热议问题