version

Determine What Version of PowerShell is Installed?

Hi, How can I determine what version of PowerShell is installed on a computer, and indeed if it is installed at all? Thanks, MagicAndi ...

Why is "-8+etch15" appended to this customer's PHP version string?

I had a customer report a wierd behavior related to PHP-#38146 I did var_dump(phpversion()) and I get: string(14) "5.2.0-8+etch15" What the heck is the -8, and the +etch15, some sort of Debian related extension of PHP? Related to hardened PHP or something? Does this mean they are essentially running a 5.2.0 build? ...

Show versions in .jsp pages

Hello, I need to put versions of my software in my jsp pages. Can I do it trough XML files? Can Subversion record this in files that has been versioned? thankful Daniel Alves da Fonseca Maciel ...

Which version of zlib should I use with visual c++ on visual-studio-2005?

I was wondering if anybody knew what versions of gzstream are compatible with visual-studio 2005. ...

Database versioning

Hi everyone, I have made few projects (CMS and EC system) that required to have some data versioned. Usually I come with that kind of schema +--------------+ + foobar + +--------------+ + foobar_id + + version + +--------------+ it worked great but I am wondering if there is a better to way do it. The main problem wi...

How to know which Linux Distribution I'm using?

Moved to http://superuser.com/questions/80251/how-to-know-which-linux-distribution-im-using How to know which Linux Distribution I'm using? uname -a gives Linux xxxxxx.net 2.6.9-42.0.3.EL.wh1smp #1 SMP Fri Aug 14 15:48:17 MDT 2009 i686 i686 i386 GNU/Linux How can I know this is Ubuntu/Debian/Fedora or Redhat? I uses /etc/init.d/servic...

Get "Correct" Created field for version of file in Sharepoint

Hi All, I've just encountered what appears to be a really annoying "feature" in SharePoint (it may be by design, but the scope of that is probably beyond this question). I am helping to develop an application that retrieves files and their version history for specific files stored on SharePoint. This information is uploaded to a data ...

What's the modern way of declaring which version of Perl to use?

When it come to saying what version of Perl we need for our scripts, we've got options, oh, brother, we've got options: use 5.010; use 5.010_001; use 5.10.0; use v5.10; use v5.10.0; All seem to work. perlcritic complains about all but the first two. (It's unfortunate that the v strings seem to have such flaws, since Perl 6 expects y...

android sdk version

How can i get the current android sdk version (1.5, 1.6, 2.0, etc.) programmatically ...

Is it a good idea and reliable to branch out on the php version number?

I'm working on some new components in my framework for a gettext implementation. It needs to support the dead php4 and php5+. I'm using Zend_Translate and I will implement a gettext based class for php4. I'm wondering if it's ok to rely on the phpversion function to branch out on which class to implement. Something like... $version = ...

Version numbering basics?

Hi, Suppose I have a web application with some basic functions. I want to market it. So I would like to assign a version number - something like 0.0.1. What I want to know is are there any constraints that should apply to that numbering system? Hope you understood my question, thanks in advance. ...

Detecting whether browser can load Java Applet successfully - Unexpected behaviour on Firefox

Hi, I have an ASP.NET page which loads a Java Applet. I am first checking that the client computer has the ability to run the applet (Java version etc) by giving the tag an ID of "AppletID" - then I call a function of this applet which always returns "true". So, the following line of code: var isRunning = document.getElementById('App...

Maven 2: How to package current project version in a WAR file?

I am using Maven 2 to build my Java project and I am looking for a way to present the current version number of the pom.xml to the user (using a Servlet or JSP for example). As far as I can see, the best way would be that Maven packages the version number as a text file into the WAR. This allows me to read the version from that file and...

Determine which version of Silverlight an assembly is built under

I have a Silverlight project in which I compile to both Silverlight 2 and Silverlight 3 using the instructions here which imports MSBuild targets into the csproj file from two seperate locations holding Silverlight 2 and 3 targets respectively. The build/compilation seems to work, producing two different files, but I was wondering if (a...

Tomcat - UnsupportedClassException

Hi, I have a problem deploying compiled classes in a Tomcat web application: I'm deploying a class which is to be called from a servlet, but when I run the application it fails telling me of a ServletException: Error allocating the servlet instance due to an UnsupportedClassVersionError: Bad version number in .class file. Tomcat is usin...

Tracking down the version number in OSX/xcode

I have a C/C++ program which is a Firefox plugin. I'm trying to find the version number resource. In my plist I have: Bundle versions string, short set to 5.09b and bundle version to 1.0 In my .rsrc file (yes, I'm still using rsrc files, it's not my fault.) my vers resource has a short string of 4.70 When I compile, the version on the...

How to use different packages in the same project for different versions of Delphi

We're slowly converting a big and complicated collection of Delphi 6 projects to Delphi 2007. In Delphi I can use compiler directives in dpr, dpk and pas files to make different code visible to different versions. For example: requires rtl, vcl, vclx, {$IFDEF VER180} //Delphi 2007 and later IndyCore, IndySystem, IndyProto...

Does xaml has a version?

Wpf 4.0 is a buzzword these days which is the latest version of Wpf, I want to know what is the current version of xaml? and what was the previous version of xaml as well as Wpf? ...

What are the gcc preprocessor flags for the compiler's version number?

I have run into a bug with gcc v3.4.4 and which to put an #ifdef in my code to work around the bug for only that version of the compiler. What are the GCC compiler preprocessor flags to detect the version number of the compiler? Thanks. ...

What version of Java is running in Eclipse?

How do I know what version of Java is being run in Eclipse? Is there a way to write code to find out? Is "JRE System Library [JavaSE-1.6]" in "Package Explorer" the right version? ...