Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用子捆绑 bnd 文件的文件名作为文件本身内部没有扩展名的值。像这里 ${filename_without_extension} 有机会吗?
文件:core.bnd
-includeresource: \ @${filename_without_extension}.jar
${thisfile}为您提供当前 bnd 文件的文件。您可以替换“.bnd”扩展名:
${thisfile}
fname = ${subst;${thisfile};\.bnd$;.jar} -includeresource: @${fname}