I have a requirement to check a plugin version number each time it runs. I am using the qualifier replacement functionality available in eclipse, but when I am just developing and run/debug from eclipse (as opposed to exporting the plugin to an archive or whatnot) the qualifier does not get replaced, e.g. version 1.2.3.qualifier stays as 1.2.3.qualifier and not changed to something like 1.2.3.201405141050, that is, the build date. I'd like the build date so it's different every time it runs. Thanks!

有帮助吗?

解决方案

From greg-449's comment: It is only the build system that deals with 'qualifier', there is nothing to update this when using Run / Debug.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top