What is the best way to share common code (such as domain classes) between two or more projects?

后端 未结 7 1841
野的像风
野的像风 2021-02-02 11:33

We are developing a Web application consisting of two Eclipse projects. One project is an HTTP-based RESTful Web service; the other project is a Web site. Both

相关标签:
7条回答
  • 2021-02-02 12:23

    Imho, this depends on your build system, not your IDE.

    So, if you

    • use plain Eclipse to build and like to keep things simple, just add a third project and add a dependecy.
    • use osgi, you'd properly already have created a new osgi project.
    • use a build tool, like maven or gradle, then setup a multi-project build.
    0 讨论(0)
提交回复
热议问题