versions

C++ : how to link against libA.so and not libA-X.Y.Z.so

I have a library A, that I develop. When I deploy it on a machine, the corresponding libA.so and libA-X.Y.Z.so are put in /usr/lib (X.Y.Z being the version number). Now I develop a library B, which uses A. When I link B, I use the flag -lA. Then "ldd libB.so" gives me : (...) libA-X.Y.Z.so => /usr/lib/libA-X.Y.Z.so (...) My problem...

How do I test the current version of GCC ?

I would like to include a different file depending on the version of GCC. More precisely I want to write: #if GCC_VERSION >= 4.2 # include <unordered_map> # define EXT std #elif GCC_VERSION >= 4 # include <tr1/unordered_map> # define EXT std #else # include <ext/hash_map> # define unordered_map __gnu_cxx::hash_map # define EXT __...

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? ...

Multiple java versions running concurrently under Windows

We have a couple of applications running on Java 5 and would like now to bring in an application based on Java 6. Can both java versions live together under Windows? Is there any control panel to set the appropiate java version for different applications? ...

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...

Is there a site which simply outputs the latest stable version numbers of php and mysql?

I want to write a little app for myself which notifies me if there is a new version of php or mysql but I would need a feed or an xml file to read it from. ...

Best visual client for Git on Mac OS X?

I'm looking for a nice, Mac OS X-like, client for Git. As an example, I use Versions for Subversion and it's exactly what I'd like to purchase for Git access. Suggestions? Versions link ...

What's in a Rails Version? Cheap Shared Rails Hosting and Versions

So I'm learning Rails and I decided to check out my cheap hosting options on GoDaddy, and their versions look like this. Are all the GEMs relevant in a normal Rails app (defining that liberally), or is just the Rails version? My guess is that is would be actionpack and rails, perhaps? If it is just the Rails version, GoDaddy is using 1....

Will there be any problem by copying a version of Java from one PC to another instead of installing it

I'd like to embed the directory and subdirectories from a current Java 1.6 update 11 into a software package that I will be installing on several other PCs and will like to know what the cons about doing this are (if any). I want to do that so that my version on Java doesn't override other versions on the PCs. ...

Flex debug mode disparities, Why ?

Hi, I have this very strange problem on a big flex app where it would run fine with the debug swf if the user has debug flash installed but will have some disparities for people with standard version of flash. These disparities include: No pop ups loose all event catching Weird positioning of a button I read somewhere that update...

How to list source versions using subversion

Hello. I am using svn to download the source code to an open source project. I want to download an older version do to compilation errors and I know you can do that, but I don't know the exact numbers (e.g. 1.2.3) that make up the version. Is there a way svn can list all of the available software versions and when they were published? T...

Which open-source projects use odd-unstable/even-stable style of versioning

One of my colleagues told me today that some projects use a weird, IMHO, way of versioning their releases. If the release is unstable, the minor version is an odd number, eg. 1.3, 1.5. On the other hand, stable releases have an even minor version number, eg. 1.2, 1.4. At first I couldn't believe my ears, it seemed unreal. Then Wikipedia...

Detecting a DLL version number using a script

I would like to write a script that can recursively scan the DLLs in a directory and generate a report of all of their version numbers. How can I detect the version number of a DLL using a script? VBScript solutions are preferred, unless there is a better way. ...

How to use an specific version of Excel in a C# program

For many reasons, I have installed on my laptop MSExcel 2003 and MSExcel 2007. I need both versions to develop specific projects for each version (Document level projects and Application level projects). Now I need to do a WinForm project that opens an Excel file, read a CustomXMLParts and write a new Excel file. I'm using a reference t...

Subversion repository has a small file size compared to working copy!?

Hi there, I'm using Versions app on a mac to handle a SVN repository for my files. My working copy is around 6MB yet my repository is only 1.4MB, and I am holding 5 revisions in the repository! How can this be? Mike ...

Running software built for .NET 3.5 on a system with only .NET 2.0 installed

How far along does software compiled for .NET 3.5 get before crashing on a system that only has .NET 2.0 installed? The application I am developing uses WPF and requires .NET 3.5, but I would like to display a user-friendly dialog (rather than crashing) if the user does not have it installed. Are there any standard ways to do this, or ...

Java Classloader - how to reference different versions of a jar

Hi All, This is a common problem. I'm using 2 libraries A.jar and B.jar and these depend on different versions of the same jar. Let's say that at runtime I need THIS.x.x.x.jar MY.jar -> A.jar -> THIS.1.0.0.jar -> B.jar -> C.jar -> THIS.5.0.0.jar I can compile the specific jar (A.jar/B.jar) against its dependency but at r...

Versions - how to add all new files

Hi, I am using Versions application for Mac Os. I am new to Versions. I have got a project that I modified recently - added a bunch of new files. Currently I manually add all new files into the repository (I have to expand all those folders with a yellow bead sign and select new files while holding APPLE key). Is there a way to automa...

use 2 different versions of same control (dll) at the same time on same machine?

Hi, I'm using a3rd party component in my project and I recently upgraded to their latest version which fixed bug 'A' unfortunately, while it solved bug 'A', another part has gotten completely unstable, so it introduced a bug 'B'. Since 'A' and 'B' are in completely different contexts, I want to have both versions of the control instal...

How does .NET/COM work with multiple versions registered via Regasm?

I have a .NET DLL (that happens to be written in C++/CLI). Parts of it I want to expose via COM. I do this and register it using "regasm my.dll /codebase". So far so good. But then I change some things and the version number of the assembly changes plus I move the dll to a different folder. I register it again and look at my COM obj...