开发者

where and how are the version numbers given in mercurial using eclipse IDE?

I am using mercurial plugin for eclipse. I am new to version control.

I want to know how the numbers like 0.1, 0.6, 1.8 etc. are given through plugin.

Do we manually give the name whil开发者_开发百科e saving the final copy( like "project v1.0")?


In eclipse plugins, the version numbers come from the OSGi headers in the MANIFEST.MF. ex:

Bundle-SymbolicName: org.eclipse.ui; singleton:=true
Bundle-Version: 3.7.0.qualifier

We set the major.minor.micro version manually based on API versioning guidelines, like http://wiki.eclipse.org/Version_Numbering

When PDE UI exports this plugin, or PDE build (or another build system) builds it, the build system substitutes something useful for the "qualifier" token in both the MANIFEST.MF and the jar name itself.

For example, org.eclipse.ui_3.7.0.I20110526-0100.jar


It is handled by Mercurial itself.

Yes, you can tag your revisions with meaningful names instead of automatically generated revision numbers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜