version

Checking version of file in Ruby on Windows

Is there a way in Ruby to find the version of a file, specifically a .dll file? ...

How to add a version number to an Access file in a .msi

I'm building an install using VS 2003. The install has an Excel workbook and two Access databases. I need to force the Access files to load regardless of the create/mod date of the existing databases on the user's computer. I currently use ORCA to force in a Version number on the two files, but would like to find a simpler, more elegant ...

Which version of rails should I start with?

I have been dabbling with Ruby for some time now and also was thinking of learning RoR they released a new version for it. :) So now should I start learning RoR v1.2 or v2.x especially keeping the following in mind I couldn't find any great free books/in-depth tutorials on RoR 2.x yet I want to learn RoR with the eventual goal of doin...

What version numbering scheme do you recommend?

My question is, which version-naming scheme should be used for what type of project. Very common is major.minor.fix, but even this can lead to 4 number (i.e. Firefox 2.0.0.16). Some have a model that odd numbers indicate developer-versions and even numbers stable releases. And all sorts of additions can enter the mix, like -dev3, -rc1, ...

How does versioning work with Flex remote objects and AMF?

Suppose I use the [RemoteClass] tag to endow a custom Flex class with serialization intelligence. What happens when I need to change my object (add a new field, remove a field, rename a field, etc)? Is there a design pattern for handling this in an elegant way? ...

How can I repair "upgraded" subversion working directories?

It may sound stupid, but sometimes I run into version conflicts between two versions of subversion. I mount a directory on a development server with sshfs and then edit the code with my local Vim. For subversion stuff like updating, committing etc. I ssh on the server and do it there. However, sometimes I mix up my shells and accidently ...

How can I find the version of an installed Perl module?

How do you find the version of an installed Perl module? This is in an answer down at the bottom, but I figure it important enough to live up here. With these suggestions, I create a function in my .bashrc function perlmodver { perl -M$1 -e 'print "Version " . $ARGV[0]->VERSION . " of " . $ARGV[0] . \ " is installed.\n"' $1 } ...

How Do I Detect the Adobe Acrobat Version Installed in Firefox via JavaScript

Title says it all. I know this can be done in IE by creating an ActiveX object, but how do I do it in FF. The navigator.plugins['Adobe Acrobat'] object lets me know if it's installed or not, but it doesn't contain the version number. Any ideas? ...

How to check JRE version prior to launch?

What's the best way to determine if the version of the JRE installed on a machine is high enough for the application which the user wants to run? Is there a way of doing it using java-only stuff? I'd like the solution to work on Windows/Linux/MacOSX - if the JRE version is too low a message should be displayed. Currently I'm getting an e...

PHP Script Version Checking/Notification

How can I check the version of my script against an online file to see if it's the latest version? For clarification, I'm talking about a script I wrote, not the version of PHP. I'd like to incorporate a way for the end user to tell when I've updated the script. ...

How can I install a specific version of a Perl module?

I'm tasked with replicating a production environment to create many test/sit environments. One of the things I need to do is build up Perl, with all the modules which have been installed (including internal and external modules) over the years. I could just use CPAN.pm autobundle, but this will result in the test environment having much...

How do I obtain File Version info from a C++ exe in C#?

I need to get the File version information from an exe file originally written in C++ from a C# program. Using Assembly.LoadFile(fullpath).GetName().Version results in a BadImageFormatException. Can anyone help? Cheers, Dan ...

Changing java version

hi, i have a server - client application that runs on java 1.3; i want to change to java 1.6 step by step, meaning first few clients, than rest of the clients and finally server... i was wondering could you direct me to some common problems that can come along and what should i look after? ...

Compile a version agnostic .DLL in .NET (Using Manifests?)

Hi, SCENARIO: I have two wrappers around Microsoft Office, one for 2003 and one for 2007. Since having two versions of Microsoft Office running side by side is "not officially possible" nor recommended by Microsoft, we have two boxes, one with Office 2003 and the other with Office 2007. We compile the wrappers separately. The DLLs are i...

How to automate the tasks for releasing open-source-software?

Everyone managing open-source-software runs into the problem, that with the time the process of releasing a new version gets more and more work. You have to tag the release in your version-control, create the distributions (that should be easy with automated builds), upload them to your website and/or open-source-hoster. You have to anno...

How can I check which version of apache is installed on a Debian machine?

The subject says it all. is there a command for doing this? ...

How do I read from a version resource in Visual C++

I have a version resource in my resources in a C++ project which contains version number, copyright and build details. Is there an easy way to access this at run-time to populate my help/about dialog as I am currently maintaining seperate const values of this information. Ideally, the solution should work for Windows/CE mobile and earl...

Comparing .Net Version instance using CompareTo does not work as expected.

The Version class in .Net does not implement the CompareTo interface as I would expect, it seems to handle the compare alphanumerically instead of comparing the four numbers. Maybe not a bug, but a 'feature'. Can anyone shine a light on why the compare (and also the standard <, = and > operators) do not work as I would expect below? ...

How to find out which version of .NET Framework executable needs to run?

I've got an executable file, and I would like to know which versions of the .net framework this file needs to be started. Is there an easy way to find this information somewhere? (So far I tried ildasm and dumpbin without any luck) ...

Getting .NET Framework version in VB.NET

Anyone know the <%= %> or Response.Write() code for getting the version of .Net my web app is running on? ...