version

Multiple Rails versions for multiple projects

I'd like to use Rails 2.2.2 for one project and Rails 2.3.2 for another. Both are installed. What is rails _2.2.2_ --version supposed to do? I've read that it makes 2.2.2 the working version -- that is, the version that will be used from that point on. But when I check rails --version, I get Rails 2.3.2. So, I also want to know what ra...

How do I change the build's SDK version in Xcode?

I'm using Xcode 2.5 on Mac 10.4.11 PPC. javac -version returns 1.5.x yet when I imported my source code and tried to build it in Xcode, I get errors all over because generics, annotations, and for-each loops are not supported in -source 1.3. I thought I found the setting to change the source version in Xcode in the above but it doesn'...

Maven check for updated dependencies in repository.

Is there a Maven plugin that allows you to check if there are newer versions of dependencies available in the repository? Say, you are using dependency X with version 1.2. Now a new version of X is released with version 1.3. I'd like to know, based on the dependencies used in my project, which dependencies have newer versions available....

How do I require a specific version of a ruby gem?

Specifically, the ruby-oci8 gem. I have both 1.0.7 and 2.0.4 installed. I want 1.0.7. I can just require oci8, but I don't get the version I want. irb(main):001:0> require 'oci8' => true irb(main):002:0> OCI8::VERSION => "2.0.4" I can require using the full path to the file, which works, but is not going to be portable: irb(main):...

Maven and version of jar in final artifact

I'm a beginner with maven 2 and I have a problem with the version of a jar in my project. I have the following dependency declared in my pom.xml: <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.1.1</version> </dependency> But when I build my war, I get version 1.0.3 of that ar...

How to import *.pyc file from different version of python?

Hello, I used python 2.5 and imported a file named "irit.py" from C:\util\Python25\Lib\site-packages directory. This files imports the file "_irit.pyc which is in the same directory. It worked well and did what I wanted. Than, I tried the same thing with python version 2.6.4. "irit.py" which is in C:\util\Python26\Lib\site-packages was i...

Hibernate's version values in Grails app

I'm looking at a database dump file, and I see many records in various tables with their version number set in values other than 0 (even 94 in one case). I understand it has to do with hibernate locking strategy, but my concern is that today is Sunday, and the site has almost no visitors so is: is this normal ? Or is there a known hibern...

App Engine - Is the memcache shared amongst versions of an app?

I know the datastore is shared amongst different versions of the same app. Is the memcache? ...

Window 2003 server SP2 detection

Is it possible to automatically detect if Window Server 2003 has SP2 installed? I'm working in InstallShield 9 install script, so I suppose I need to check some registry key? ...

Android developer phone 1 downgrade firmware

Hi Everyone, I am trying to downgrade Android developer phone 1's firmware version from 1.6. to 1.5 by following this link... http://developer.htc.com/adp.html Here I have completed till steps #7 of Update the Device Radio Firmware. while in steps 8, It start to load update.zip file. It analyze the update.zip file. and at last it sho...

Why isn't an exception thrown when the right .NET framework version is not present?

We have a .NET application which targets .NET 3.5. Our clients run it from a shared drive (very infrequently) in order to have a central config file location. We have noticed that if a workstation accesses the shared drive and runs the program, but does not have .NET 3.5 installed, nothing happens, no error, no exception, no log entr...

How to tell if the OS is Windows XP or higher?

I am trying to play with the Environment.OSVersion.Version object and can't really tell what version would indicate that the OS is Windows XP or higher (e.g. I want to exclude Windows 2000, ME or previous versions). ...

Sql server version error...655 version needed but you computer has 612 or earlier version ? error

Hi i have a error like " dbFileName cannot be opened because it is version 655. This server supports version 612 and earlier. " what should i do ? some friend of mine done a project but i guess he done it with sql 2008 and i have sql 2005 is that the reason why i got this error? can i fix it ? if i setup a newer version of sql does it ...

Detect WebKit Version 525 and Below With RegEx

I'm no good at Regular Expressions, really! I would like to specifically detect WebKit browsers below version 525. I have a regular expression [/WebKit\/[\d.]+/.exec(navigator.appVersion)] that correctly returns WebKit/5….…, really, I'd like it to return only the version number, but if the browser isn't WebKit, return null, or better s...

What java version is needed for JUnit 4.8

I am trying to run JUnit test with a 1.5 JRE, but get the error Message: java.lang.UnsupportedClassVersionError: Bad version number in .class file When I switch to JRE 1.6 (actually a JDK but that shouldn't matter, right?) everythings works fine. So the questions are: Do we really need Java 6 for the current JUnit version? what is ...

visual-studio-2008 versioninfo for all files updated from one place

The version information, displayed when the mouse cursor hovers over the file in windows explorer, is set for a file built by visual studio in the VERSION resource. I would like to set the version in one place for all the files built by a solution, preferably when I change the version in the install properties. Is there a way to do thi...

Android: Setting maxSDK version for Android 1.5 app

Hi, I've released an android app with the property <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4"/> now my app seems to crash on android 1.5 devices (i guess because i use drawable-mdpi/hdpi,...) so thought it would be good to release the same app just for 1.5 devices (not using the mdpi/hdpi-directories). but whe...

silverlight 3 and System.Core.dll version

I have a Visual Studio 2008 solution with several projects. One project is a web site with a Target Framework of ".NET Framework 3.5". One is a Silverlight 3 Application which was created with the selection (in the dropdown) of ".NET Framework 3.5". I notice that if I wish to add a reference to System.Core.dll to the website, I am p...

How to get the MSI Product version Programatically in C#

Is the MSI Product Version available to the application? I have tried, Assembly.GetExecutingAssembly().GetName().Version, but it gives me the assembly version which is a different from what I want. I can edit this value in the appropriate place, but it would be convenient if I could just show the Version Number from MSI installer. Ano...

Setting application info in Qt

Anyone have an tips on setting the application info (ie. right click on .exe->properties) from Qt? I can add arbitrary version strings to Qt resource file (qrc) and display them. But most Windows installers check the version number and I can't find a Qt way of setting these fields other than manually maintaining a separate .RC file So...