Jar/Application versioning?
icanseeMar 26 2010 — edited Mar 27 2010Is there a way with jdeveloper to increment a build number or something like that everytime the source code is built? I've used java for a long time but never really got into the deployment practices or using Ant for builds etc. because applications have always been in-house not so version dependant... so can anyone point me the right direction or help me out?
I've done some searching and most stuff comes up with Source code versioning instead of build versioning. Two things I would like to do are the following...
#1 In my javacode be able to get my major,minior,build for display in the GUI
#2 Automatically name my jar (using jdevelopers deploy to jar)
I'm using the latest jdev. This is so easy in C#/Visual Studio but I've never needed to do it in java before.