开发者

In software projects there are version numbers how do I do that for my Java project at Eclipse in automatic way?

开发者 https://www.devze.com 2023-03-05 13:08 出处:网络
In software projects there are version numbers how do I do that for my Java project at Eclipse in automatic way 开发者_JS百科?

In software projects there are version numbers how do I do that for my Java project at Eclipse in automatic way 开发者_JS百科?

I'm using Subclipse will it help me set the application version number ?


You can use build tools like Maven to achieve this.


Your question is a little vague

Version numbers(or in subversion parlance 'change sets') are generated whenever you make a 'commit' to the repository. If you wish to produce a simpler version number(sometimes called a 'release' number(i.e. release 1.0, release 1.1 etc) you can do this by generating a 'tag' which is merely a copy of a given change set and given a label(see tags). In Eclipse you can do this with the 'Team => Branch/Tag...' item found when you right click on your project in the package explorer.

If you're not familiar with the practice, I would suggest that you create a 'fake' or dummy project/repository to actually practice this on.


I recommend to use a project management tool like Maven or Gradle to build your application. These build tools will provide a version number.

0

精彩评论

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