Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Jar/Application versioning?

icanseeMar 26 2010 — edited Mar 27 2010
Is 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 24 2010
Added on Mar 26 2010
4 comments
1,342 views