0
在ivyconf.xml中,我有pattern='${ivy.settings.dir}/../../lib/Google Guava/[artifact].[ext]' />
。正如你所看到的,我寫了Google Guava
的模式。但是,我有一個以上的jar文件存儲在Google Guava
文件夾的同一級別的另一個文件夾中。如何給ivy模式的文件夾的URL
我試過**
來代替Google Guava
,但我認爲它在ivyconf.xml中不被支持。我應該寫什麼而不是Google Guava
,以便它搜索所有文件夾以解決依賴關係?
ivyconf.xml
<resolvers>
<filesystem name="local">
<artifact
pattern='${ivy.settings.dir}/../../lib/Google Guava/[artifact].[ext]' />
</filesystem>
</resolvers>
<modules>
<module organisation='FS' resolver='local' />
</modules>
項目結構
project
| - - - src
...
| - - - lib
| - - Google Guava
| - - guava.jar
| - - Folee
| - - folee-1.4.0.jar
可能重複的[如何修復在番石榴錯誤中找不到的配置](http://stackoverflow.com/questions/25505746/how-to-fix-configuration-not-found-in-guava-error) – 2014-08-27 13:51:05