Ant bndtools:如何获取jar文件或插件的最新版本
我是bndtools的新手。我想知道是否有任何方法可以检索我的jar文件的最新版本?我的lib文件夹有很多JARs版本(My-Api-1.0.50、My-Api-1.0.85、My-Api-1.0.90) 我通过使用ant解决了依赖关系。我的JARs文件保存在lib文件夹中。我想在我的bnb.bnb中使用它。但是我需要使用最新的版本 而不是:Ant bndtools:如何获取jar文件或插件的最新版本,ant,osgi,osgi-bundle,bndtools,Ant,Osgi,Osgi Bundle,Bndtools,我是bndtools的新手。我想知道是否有任何方法可以检索我的jar文件的最新版本?我的lib文件夹有很多JARs版本(My-Api-1.0.50、My-Api-1.0.85、My-Api-1.0.90) 我通过使用ant解决了依赖关系。我的JARs文件保存在lib文件夹中。我想在我的bnb.bnb中使用它。但是我需要使用最新的版本 而不是: -buildpath: lib/My-Api-1.0.90.jar;version=file 我想要类似的解决方案或替代方案: -buildpa
-buildpath: lib/My-Api-1.0.90.jar;version=file
我想要类似的解决方案或替代方案:
-buildpath: lib/My-Api-[**latestVertion**].jar;version=file
请告知??谢谢我想通过以下方式解决此问题:
- 只在ant构建脚本中使用Ivy自动添加安装Ivy插件
- 重命名检索到的Jar(MyApi latest.Jar)
- 在我的字典里
<move tofile="lib/MyApi-latest.jar" force="true">
<fileset dir="lib">
<include name="My-Api*.jar" />
<exclude name="My-Api-latest.jar"/>
</fileset>
</move>