version

Best way to detect IronPython

I need to write a module which will be used from both CPython and IronPython. What's the best way to detect IronPython, since I need a slightly different behaviour in that case? I noticed that sys.platform is "win32" on CPython, but "cli" on IronPython. Is there another preferred/standard way of detecting it? ...

C# .NET Application Crashes Immediately After Starting

I was experimenting with the Assembly and File version number. Though my program runs well from the IDE, but after creating a Setup file and installing the application crashes with InvalidDeploymentException. What should I do to resolve the matter? ...

How to detect the language of MS Excel.

Hi guys, I'm trying to figure out a way of detecting the language of an installed version of Excel (ideally from C++). I need this to resolve an issue with computers on which the language of Excel differs from the Windows language (see this problem). ...

Why does Maven 3 give up supporting application $version declaration?

As you see from the title, I want to ask that the case of in Maven 3 there is no support for $version in pom.xml anymore. Do we have to really write a constant every time in each project in every pom.xml and related configuration files again and again? How can we avoid doing this? How can we use a versioning method like $version? ...

Release management with a distributed version control system

We're considering a switch from SVN to a distributed VCS at my workplace. I'm familiar with all the reasons for wanting to use a DVCS for day-to-day development: local version control, easier branching and merging, etc., but I haven't seen that much that's compelling in terms of managing software releases. Here's our release process: ...

BlackBerry project version number

I have a BlackBerry Java project in Eclipse. It has version number written down in four different spots: in the project properties, under "BlackBerry Project Settings/General" in the JAD file, under MIDlet-1 (?) in the JAD file, under MIDlet-Version in the ALX file, under <version> (?) And they seem uncorrelated. Changing either of t...

Version SharePoint WSP

Has any one tried to version WSP in SharePoint 2010? Thanks, ...

Finding app version number in code.

Is there a simple way to find the current version of my application from with it? I would like to add the version string to the about screen. ...

From iPhone to Android Question

(I'm coming from an iPhone dev world. ) In Android do we need to worry what OS version we compile against? In the iPhone world I would usually target a release that's at least 6 months old to limit the number of issues with installing on iPhones with old OSs. What strategy should I use when choosing what to compile against on the Andro...

How can my-program.hs get its version number from my-program.cabal at build time?

I would like my cabalised program to have a --version switch. I would like it to report the same version as is present in the .cabal file. If I have to update the version number separately in my Haskell source code as well as in the .cabal file, I will eventually get them out of sync. So, how can my program, while being compiled under...

Working with version control on a Drupal/CMS project

I was wondering how teams that develop sites using Drupal (or any other CMS) integrate version control, subversion, git or similar, into their workflow. You'd obviously want your custom code and theme files under version control but when you use a CMS such as Drupal a lot of the work consists of configuring modules and settings all of wh...

downgrade android OS 1.6 to 1.5

Hi i have HTC dev phone with Firmware 1.6 now i want to downgrade to 1.5. i follow steps which are given in this link http://androidandme.com/2009/10/beginners/guides/how-to-manually-install-the-official-t-mobile-android-1-6-on-your-g1/ but not get any result any one have solution for it than share here to downgrade Android os versio...

Word Interop compile time error

I am getting the following error when referencing the assembly Microsoft.Office.Interop.Word in my asp.net application. The type 'Microsoft.Office.Interop.Word.ApplicationClass' exists in both 'C:\WINDOWS\assembly\GAC\Microsoft.Office.Interop.Word\11.0.0.0_71e9bce111e9429c\Microsoft.Office.Interop.Word.dll' and 'C:\WINDOWS\assembly\GAC...

Could not load file or assembly 'System.Web.Silverlight' or one of its dependencies

I am a newbee to Silverlight and I am on it as I have inherited a sharepoint site that "used to" use Silverlight 2. I say "Used to" because the object tag in live .aspx pages says PARAM NAME="minRuntimeVersion" VALUE="2.0.31005.0". For some reason the development environment now produces param name="minRuntimeVersion" value="3.0.40818.0"...

Maven release bug fix versioning

I'm getting ready to deploy the first release of our software, version 1.0. Once it's out to our customer, inevitably, some bugs will be found. When I fix those bugs though, I'm not sure what "best practice" is for versioning it. When I release the fixes, would that be an entirely new version (in maven), such as 1.01 (or whatever the inc...

What would be the best way to remotely get the Wordpress version number of a website ?

I manage a large number of websites under Wordpress and I'd like to create a sort of control panel on which I would be able to see a list of all sites and the WP version they are running on. How would you do that? I should mention that the websites are hosted on different servers. ...

Ignoring build number when referencing dll

I have one solution with a .NET 4.0 project (C#) that produces a delayed signed dll, that I dotfuscate and sign. EDIT: This is how I version the dll: [assembly: AssemblyVersion("0.7.0.*")] [assembly: AssemblyFileVersion("0.7.0.0")] I have another solution with a .NET 4.0 project (C++/CLI) that references the signed dll and produces a...

Load class based on SDK version

Is there any way I can load a class based on what version of the OS the phone is running? For example: I made an app which requires 1.6+ Android. Is there a way for me to load one class or the other based on what OS the phone is running? I'm asking this specifically for contacts. The database was changed from 1.6 to 2.0 and the old versi...

integrate version control with java/j2ee web based application

Hi All, we have a requirement to provide versioning(like version control) to the files uploaded to our application which is java/j2ee web based. We support files to upload/download to the application. Users frequently do the changes to the file by downloading from my appln and modify them, then upload back to the application. as of now ...

Determining the version of Java SDK on the Mac

I have a MacBook Pro running Snow Leopard; how can I see what version of the Java SDK is installed on my Mac? ...