versioning

Build and Version Numbering for Java Projects (ant, cvs, hudson)

What are current best-practices for systematic build numbering and version number management in Java projects? Specifically: How to manage build numbers systematically in a distributed development environment How to maintain version numbers in source / available to the runtime application How to properly integrate with source reposito...

Access Version Info for Project

I would like to display what version my App is in on the UI. It looks like I set that in Properties --> Application --> Assembler Information. Is that correct? Do I manually increment that upon releases? How do I access that programmatically? Thanks! ...

File version number in source with Vault

Is it possible to add Vault file version number into this file's source? ...

Modelling versioning when versions are related

Hi, I'm modelling a class diagram and I'm absolutely stuck with this issue: My new web application has "cards" (entries about a subject) which can be modified by the users, à là wiki. But unlike wikis, different cards hold different data. Also unlike wikis, cards are interrelated with other cards explicitly in the database. Let me show ...

Should executables contain version numbers in their names?

I develop a certain server. Till now, two versions could not be installed at the same time. We're now changing that, and the question came up: should the version number be appended to the server components or not? The server contains 3 exes and 5 dlls (some COM, some native VC++). Should any or all have their name contain the version (Se...

Best-practices for versioning of Flex applications

Can anyone recommend a way to do versioning in Flex applications? Should I embed a version string somewhere in the swf? Should the version be part of the URL? Should it be in code? ...

Version Controlled Database with efficient use of diff

I have a project involving a web voting system. The current values and related data is stored in several tables. Historical data will be an important aspect of this project so I've also created Audit Tables to which current data will be moved to on a regular basis. I find this strategy highly inefficient. Even if I only archive d...

How to fetch current subversion revision number and URL with maven

I make a checkout of some branch or tag from subversion repository and then build the project with maven. Now, I'd like to get store current revision number and URL to some file. How can I do that? That is, I'd like to get revision number and URL of whatever branch/tag I have made checkout of. I know about buildnumber-maven-plugin but...

Database design for text revisions

This question contains some excellent coverage of how to design a database history/revision scheme for data like numbers or multiple choice fields. However, there is not much discussion of large text fields, as often found in blog/Q&A/wiki/document type systems. So, what would be considered good practice for storing the history of a te...

What's the difference between a dll's FileVerison and ProductVersion?

What's the difference between a dll's FileVersion and ProductVersion? Specifically at runtime, is one used for strong binding, and the other informational? I'd like to have one set manually, and the other incremented automatically (via our CI build process) Edit: Richard answered the part I missed in the original question. It's A...

[Newbie question] What versioning system do you suggest for my website?

I'm an absolute newbie when it comes down to subversion and SVN (don't even know the difference). As I'm developing a pretty big website I'm looking for a way to take care of different versions (PHP, CSS, JavaScript files and MySQL database) and to make backups. I would like to use a web based system so I have an external backup. I'm not...

Build numbers in sync across many tools or not?

We currently have many office products and a embedded product. They all have the same version scheme major.minor.build number.svn revision. With nightly and manual builds incrementing the build number. From a development support front this makes it really easy to manage 'correct version', but the in-field support guys panic when one too...

Database - Data Versioning

I've read a few questions on SO (such as this one) in regards to versioning your data within a database. I liked some of the suggestions that were mentioned. I have for the longest time wanted (needed) to revision many of my tables but never got around to it. Being a programmer with only simple database work under my belt I was wonder...

project management / multiple versions

I am looking here for some hints and tips on how to manage multiple versions of a projet. Currently I have a development version of the application which includes some improvements and new functionnalities. In meanwhile I have to do some bug resolving. It is easy to fix the bugs on files that have not been touched by new functionnalitit...

Database schema changes needed yearly. Which Strategy should be used?

Hello, Every year our company holds a conference/stand where participants can show their products. We have a web-application which let the participants sign up for the conference. They can enter information such as the name of their company, billing information, and so on. It seems as if the requirements for what information the ...

Efficient storage of binary files in a git repository

I would like to have a git repository that consists mainly of binary files. I need to keep track of the changed, added and removed files to the repository, but I don't want for git to version the content of the files themselves. In other words, I just need for git to keep track of changes (change log), but not the content. Is this ev...

versioning of notes in asp.net

what is the best way to allow users to edit their notes, maintain versions of the notes on each edit and also allow them to compare the selected versions of the notes. the notes would probably be entered using a WMD editor similar to the one on SO. i would be building this up on ASP.net. something similar to writeboards on basecamp. ...

Software Versioning: Difference in Windows Installer and .Net Version

Microsoft is promoting .Net for over 8 years now. .Net assemblies are versioned using 4# versioning like major.minor[.build[.revision]]. Ref here While, Windows Installer still suggests 3# versioning like major.minor.build. Ref here With the difference in versioning in two systems. It is not straight to map .Net assemblies version to...

Versioning assemblies of distributed application with hot fixes

We are developing an application with components on multiple physical tiers, sharing many assemblies as well as having some exclusive to each tier. I am wanting to know what the typical versioning strategy is for release hot-fixes, or only a few components of the application. Our issue tracking software contains a version number for ...

How to have an auto incrementing version number (Visual Studio)?

I want to store a set of integers that get auto incremented at build time: int MajorVersion = 0; int MinorVersion = 1; int Revision = 92; When I compile, it would auto-increment Revision. When I build the setup project, it would increment MinorVersion (I'm OK with doing this manually). MajorVersion would only be incremented manually. ...