将所有jar作为IntelliJ中的依赖项添加到存储库中
问题描述:
我的项目中有一个savant存储库,我想将repo中包含的所有jar都添加到IntelliJ的从属列表中。我可以一次添加一个罐子,但我希望能够一次添加它们。
I have a savant repository in my project and I want to add all of the jars contained within the repo to IntelliJ's depenedcies list. I can add the jars one at a time, but I want to be able to add them all at once.
有没有办法添加在所有目录/子目录中找到的所有jar?
Is there a way to add all the jars found within all the directories/subdirectories?
详细信息: IntelliJ 12
Details: IntelliJ 12
更新:我无法更改存储库结构,它在ant构建时自动填充。
Update: I can not change the repository structure, it is auto populated when ant builds.
答
支持从目录添加jar,但不是递归,请投票支持此功能请求。
Adding jars from a directory is supported, but not recursively, please vote for this feature request.