[英]How to group library jars under WEB-INF/lib in a web application using eclipse ide
until now am copying all of my dependency jars to WEB-INF/lib folder for web applications developing in eclipse, its complicated to identify those jars when it is more numbers. 直到现在,我都将所有依赖项jar复制到WEB-INF / lib文件夹中,以便在eclipse中进行开发的Web应用程序使用,当数量更多时,要识别这些jar十分复杂。 for example in an application with struts and hibernate frame works i am copying all jars of struts (more than 60 jars) and of hibernate (more than 15) directly to lib folder.
例如,在具有struts和休眠框架的应用程序中,我将所有jar的struts(超过60个jar)和hibernate的所有jar(超过15个)直接复制到lib文件夹中。
Question is : How i could group those jars as libraries under WEB-INF/lib folder ? 问题是:我如何将那些jars分组为WEB-INF / lib文件夹下的库?
If it's just to keep an overview of all your libraries, you could consider organising them into User Libraries . 如果只是为了概述所有库,则可以考虑将它们组织到User Libraries中 。
Another option (not for everyone) would be to have separate projects for each set of libraries (of course they'd need to export those and be included in dependent projects). 另一个选择(并非对每个人都适用)是为每组库有单独的项目(当然,它们需要导出这些项目并包含在从属项目中)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.