versioning

How to deal with a Java serialized object whose package changed?

对着背影说爱祢 提交于 2019-11-29 07:12:32
问题 I have a Java class that is stored in an HttpSession object that's serialized and transfered between servers in a cluster environment. For the purpose of this explanation, lets call this class "Person". While in the process of improving the code, this class was moved from "com.acme.Person" to "com.acme.entity.Person". Internally, the class remains exactly the same (same fields, same methods, same everything). The problem is that we have two sets of servers running the old code and the new

What versions of Swift are supported by what versions of Xcode?

雨燕双飞 提交于 2019-11-29 07:06:09
问题 I develop apps in Swift for a living. I enjoy the language and follow it as closely as I can. Yet, still, certain facts slip through, whether by me being blindsided, or by Apple being very quiet about them. Today, I discovered that Swift 3.3 and 3.4 exist. I was under the assumption that 3.2 was the last version of 3, for use in migrating to 4, 4.2, and 5. This misconception is mostly due to the fact that Swift.org, the official Git repo, and Xcode Release Notes don't mention them at all . So

How to detect which Bootstrap version is used from JavaScript?

不打扰是莪最后的温柔 提交于 2019-11-29 05:33:35
问题 I've been looking at the CSS & JavaScript from Bootstrap 3. Nothing is modularized under a common alias. For the JavaScript, it is injected into jQuery's prototype... How would it be possible to detect which version of Bootstrap is included in a user's web page from a third party plugin/library point of view with JavaScript? 回答1: The version of each of Bootstrap's jQuery plugins can be accessed via the VERSION property of the plugin's constructor $.fn.tooltip.Constructor.VERSION 回答2: As

How do version numbers work for MRI Ruby?

ⅰ亾dé卋堺 提交于 2019-11-29 05:10:46
A recent question, " What happened with Ruby 1.9.2? ", made me wonder about version numbers for MRI Ruby mean. The scheme MRI Ruby uses differs from that of semver.org . How does versioning work in MRI Ruby, and what do the major (1), minor (9), teeny (3) and patchlevel (448) values mean in ruby 1.9.3p448 ? For example, what kind of changes are allowed in an increase in patchlevel, and what kind of changes are allowed in an increase of teeny? iheggie They have changed to quasi-semantic versioning starting with Ruby 2.1.0. See https://www.ruby-lang.org/en/news/2013/12/21/semantic-versioning

What is a good free utility to create a self-extracting executable with an embedded file version? [closed]

两盒软妹~` 提交于 2019-11-29 04:46:22
According to the answers to this question, I cannot embed a file version in my .msi file. The installer that I give the client needs to have a file version. So, what I want to do is create a self-extracting executable containing the msi file and the setup.exe generated by Visual Studio, and put the file version on this self-extracting executable instead. Therefore, I need a utility to create self-extracting executables which supports embedding a file version in its output. It also needs to support automatically running a file after extraction, so I can start the real installer automatically.

Properties versioning with Spring Cloud Config

余生颓废 提交于 2019-11-29 03:26:20
问题 I am probably missing something here, but what is a good solution for properties versioning? For example, in a blue-green deployment scenario with property value changes (old app version consumes the old value, new version requires the new value), how do you ensure both versions of your app can successfully co-exist (considering potential restarts and rollbacks)? One option would be to create new property names for the properties that need new values applied. This, of course, is not a good

Aligning assembly version numbers with TFS Buildnumber

◇◆丶佛笑我妖孽 提交于 2019-11-29 00:41:29
问题 I am wondering if there is a way to synchronize the build numbers (20080213.1) without using the BuildNumberOverrideTarget where I would have to generate my own build number? I basically want to use the default/built-in tfs buildnumber generator but want to access it to align my assembly versions with it. Can this be done and is it a sensible way to do it this way? 回答1: What you are asking for is very sensible and there are a number of ways to achieve this. Personally, when I do this I don't

How do you create a MANIFEST.MF that's available when you're testing and running from a jar in production?

ε祈祈猫儿з 提交于 2019-11-29 00:18:00
问题 I've spent far too much time trying to figure this out. This should be the simplest thing and everyone who distributes Java applications in jars must have to deal with it. I just want to know the proper way to add versioning to my Java app so that I can access the version information when I'm testing, e.g. debugging in Eclipse and running from a jar. Here's what I have in my build.xml: <target name="jar" depends = "compile"> <property name="version.num" value="1.0.0"/> <buildnumber file=

How can I implement “CSS versioning” (to solve cache issues) using JSF 2 h:outputStylesheet?

给你一囗甜甜゛ 提交于 2019-11-28 23:46:28
I'm starting to work with JSF 2 so I wanted to give a try to h:outputStylesheet. It works fine but then I tried to apply the "pattern" or trick of adding a query string to the request which changes with the file version to force browsers to fetch changes. Something like what is used here . Unfortunately I haven't been able to do it. Actually, when using that tag it doesn't generate a simple URL but a computed one which already has a query string. I've found some info about versioning of resouces in JSF 2 both in the spec and here , but it seems to refer to multiple versions of a resource which

Set AssemblyInfo Version numbers with MSI setup version

浪尽此生 提交于 2019-11-28 21:33:25
I am using a setup project to publish my projects. I want the version of each project to be the same as the setup version. I want to change my setup version property in Visual Studio and after building, for all project versions to be updated from this property, is this possible? Jeremy Thompson Projects have Assembly & File version numbers: (not setup versions I edited your question accordingly) Answer 1: If you want to make the Setup projects version number set the Assembly & File version numbers you need to do it with a script/exe that gets triggered by the build. This article on How To