英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。


评论