versioning

Loading multiple shared libraries with different versions

笑着哭i 提交于 2019-11-28 05:03:58
I have an executable on Linux that loads libfoo.so.1 (that's a SONAME ) as one of its dependencies (via another shared library). It also links to another system library, which, in turn, links to a system version, libfoo.so.2 . As a result, both libfoo.so.1 and libfoo.so.2 are loaded during execution, and code that was supposed to call functions from library with version 1 ends up calling (binary-incompatible) functions from a newer system library with version 2, because some symbols stay the same. The result is usually stack smashing and a subsequent segfault. Now, the library which links

Execute Maven plugin goal on parent module, but not on children

走远了吗. 提交于 2019-11-28 04:49:48
We have a multi-module maven project that uses a profile that defines a buildnumber-maven-plugin to increment a build number and then check it into source control. If I define the plugin in the parent pom.xml it executes for all the child builds as well. Here's my parent pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.webwars</groupId> <artifactId>parent</artifactId> <packaging>pom<

target_include_directories prior to 2.8.12?

本小妞迷上赌 提交于 2019-11-28 04:46:55
问题 Our CMakeList.txt had a target_include_directories creep in. It broke our downlevel clients, like Ubuntu LTS, CentOS and Solaris. I know I can guard it with the following (thanks ZW), but I need something for Cmake versions 2.8.11 and earlier (the ??? ). cmake_minimum_required(VERSION 2.8.5 FATAL_ERROR) ... if (NOT CMAKE_VERSION VERSION_LESS 2.8.12) target_include_directories(...) else() ??? endif() Our directory structure is rather simple. There's one directory with header files in them, and

Auto Version numbering your Android App using Git and Eclipse

孤者浪人 提交于 2019-11-28 04:25:21
I believe that computers are the best things for doing repetitive tasks. I certainly am not, I either forget, or (mostly) don't do things in a consistent way - which isn't what I want. One of the things I am likely to do is forget to up the version information in the manifest when I publish a new version of an Android app. In the past I've worked with configured build systems that have a auto version numbering feature and I got use to it (or maybe I got lazy). I found this Stackoverflow post very useful in coming up with a solution, but it took me a while to fine tune it so it works just they

Best practices for versioning your services with WCF?

≯℡__Kan透↙ 提交于 2019-11-28 04:23:14
I'm starting to work with my model almost exclusively in WCF and wanted to get some practical approaches to versioning these services over time. Can anyone point me in the right direction? There is a good writeup on Craig McMurtry's WebLog . Its from 2006, but most of it is still relevant. As well as a decision tree to walk through the choices, he shows how to implement those changes using Windows Communication Foundation See "Versioning WCF Services: Part I" and "Versioning WCF Services: Part II" . See also: WCF Backwards Compatibility and Versioning Strategies – Part 1 WCF Backward

Do Android version code constants work with older versions?

白昼怎懂夜的黑 提交于 2019-11-28 03:50:08
问题 Can I use Android version code constants with older Android runtimes? For instance, if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.HONEYCOMB) ... would this run without crash on old devices running Android operating system before HONEYCOMB when this constant has been first defined? Assuming we compile it with recent enough SDK? 回答1: Yes, this will work. The reason for this is that android.os.Build.VERSION_CODES.HONEYCOMB is an int . android.os.Build.VERSION_CODES

Version Control for Graphics

我的未来我决定 提交于 2019-11-28 03:48:02
Say a development team includes (or makes use of) graphic artists who create all the images that go into a product. Such things include icons, bitmaps, window backgrounds, button images, animations, etc. Obviously, everything needed to build a piece of software should be under some form of version control. But most version control systems for developers are designed primarily for text-based information. Should the graphics people use the same version-control system and repository that the coders do? If not, what should they use, and what is the best way to keep everything synchronized?

Move tag one commit ahead

人走茶凉 提交于 2019-11-28 03:27:14
I have a repository with only one branch ( master ). I'm the only contributor to my repo. I've recently added a tag , both locally and pushed to GitHub. After making what I though was the last necessary commit, but now I realize I should have made one more change/commit. So what I have is: commit 124 commit 125 commit 126 <-- tag v1.0 commit 127 and I want to move the v1.0 tag to the next commit, ie: 127 , both locally and in GitHub. How can I do that? Have you ever been to a book club where members do not all use the same edition of the "book of the week"? It's a nightmare, right? Moving a

How to handle application upgrades from free to paid version while preserving any data

可紊 提交于 2019-11-28 01:42:59
问题 Here is the context. I want to have a free version and a premium version of the same application. When people buy the application, I want them to be able to "upgrade" without losing their data, i.e. the premium version should install over the free version. I want to use the same code base and just switch a setting to build the premium version. Andoid Market does not let me convert a free app to a paid app, so the trivial option is not available. I am curious if someone has tried this

How to check in delphi the OS version? Windows 7 or Server 2008 R2?

有些话、适合烂在心里 提交于 2019-11-28 00:59:55
I always used to check the windows versions by their major/minor build numbers. Strangely enough, Windows 7 and Server 2008 R2, both return the same major/minor version number combination. Confirm this by typing ver into a command prompt GetVersionEx. There is a chart of the version numbers and their associated editions here . Notice that the product type is different between 2008 R2 and Windows 7. This works, and correctly detects many Windows Product Editions, including Windows XP, Windows 7 (Home, Professional), Windows Server 2003, and Windows Server 2008, and contains code that should