bndtools pom repository local path

huangapple go评论85阅读模式
英文:

bndtools pom repository local path

问题

aQute.bnd.repository.maven.pom.provider.BndPomRepository;local 参数是否支持相对路径?如果是的话,基于什么位置:osgi-workspace 还是 osgi-project?

英文:

Does the local parameter of
aQute.bnd.repository.maven.pom.provider.BndPomRepository;
support relative paths? And if yes, based from where: the osgi-workspace, or the osgi-project?

答案1

得分: 1

使用类似 local=${osfile;{.}/.m2/repository;} 的宏。
这将在 bnd 执行/访问该值时创建一个绝对路径。
该宏从相对路径解析出一个绝对路径。

英文:

Use a macro like local=${osfile;{.}/.m2/repository;}
This will create a absolute path on execution/access of bnd to the value.
The macro is resolving an absolute path from the relative path.

huangapple
  • 本文由 发表于 2023年2月9日 00:07:44
  • 转载请务必保留本文链接:https://go.coder-hub.com/75388573.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定