![]() |
![]() |
![]() |
Eclipse and build number I'd like to have a build number incremented automatically in a Java application (built using Eclipse). I suppose I could do this by generating a file with a batch, in a pre-build step, but I was wondering if there was a 'classic' solution, or a plugin I've missed.
GP
If you aren't using Ant to make your builds, you should check it out: http://ant.apache.org/
Sam
Thanks ! You're right, I'm not using Ant, and I should really give it a try, especially if it solves my problem.
GP
Use Ant to get your builds to one step so you can be cool like Joel!
Sam
Well, I must admit I've never been comfortable with makefiles, nor with xml-as-code, that's probably why I've stayed away from Ant until now - my one-click builds rely on plain old ".bat". But I know that's the best tool at the moment - am I wrong ?
GP
Once you have your build number, don't forget to have it auto-label your code.
Paul Vincent Craven
Er, what do you mean exactly ?
GP
Ant is now out of style. The latest craze is Maven.
geek
|