0

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

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

Ismail Marmoush
  • 13,140
  • 25
  • 80
  • 114

3 Answers3

0

You can use build tools like Maven to achieve this.

Omnaest
  • 3,096
  • 1
  • 19
  • 18
0

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.

Andrew
  • 2,530
  • 16
  • 9
0

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

Cengiz
  • 5,375
  • 6
  • 52
  • 77