如何动态地将多个参数传递到eclipse rcp中的plugin.properties文件中

时间:2017-10-16 12:45:18

标签: eclipse-plugin eclipse-rcp

我必须在eclipse rcp中给出描述,所以我使用plugin.properties。

在属性文件版本号和构建ID中,我必须动态传递参数。

这是我的plugin.properties文件

aboutText=My Product is based on Eclipse Platform
Version No: ${versionnumber}
Build id: ${buildid} Welcome to my Product based on Eclipse Product Configuration. A RCP game is encapsulated in it with customized branding elements. This product is developed by Xing Xing Li and Ying Xi Zhao (c) Copyright by authors. All rights reserved

1 个答案:

答案 0 :(得分:0)

没有任何支持。

由于该文件是Java Properties文件,因此您可以在运行构建之前使用Ant propertyfile任务修改该文件。