wood burning stoves 2.0*
The moose likes Java in General and the fly likes Managing Application Versions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Managing Application Versions" Watch "Managing Application Versions" New topic
Author

Managing Application Versions

Chris Montgomery
Ranch Hand

Joined: Jan 14, 2004
Posts: 141
I'm interested in automating my versioning process, but haven't a clue how to approach this. I've only heard it's possible... For example, when you do a build, the process increments your version automatically.

Looking for something that tells me all the little items that need to be in place to accomplish something like this.

Also, is this approach even recommended?

Thanks!
Matt Fielder
Ranch Hand

Joined: Oct 27, 2004
Posts: 158
With no idea as to the right answer I'll take a stab at it.

Couldn't you just make a config file that holds the version number. On a check for an update, the first event would be to check that version. If it is less than the version of the updating file, continue with the update.

*EDIT - I just reread this and realize how painful that was to try to comprehend. ouch. sorry.


*thoughts from the mind of an Access/Excel developer/hacker
[ January 24, 2005: Message edited by: Matt Fielder ]
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
I put steps in my Ant build to put the current date & time into the source of one class. The application displays this at startup and has an API to obtain it at any time. See if these make any sense.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Managing Application Versions