release-management

Deployment of war file on Tomcat

穿精又带淫゛_ 提交于 2019-12-02 17:38:36
Is there a way to deploy a given war file on Tomcat server? I want to do this without using the web interface. Just copy the war file into the $TOMCAT_HOME/webapps/ directory. Tomcat will deploy the war file by automatically exploding it. FYI - If you want you can make updates directly to the exploded directory, which is useful for development. There are several ways to deploy a Tomcat webapp: Dropping into $CATALINA_HOME/webapps, as was already mentioned. Using your build scripts to deploy automatically via the manager interface (that comes with Tomcat). Here are the two ways for Maven : use

Getting software version numbers right. v1.0.0.1 [closed]

好久不见. 提交于 2019-12-02 17:12:30
I distribute software online, and always wonder if there is a proper way to better define version numbers. Let's assume A.B.C.D in the answers. When do you increase each of the components? Do you use any other version number tricks such as D mod 2 == 1 means it is an in house release only? Do you have beta releases with their own version numbers, or do you have beta releases per version number? I'm starting to like the Year.Release[.Build] convention that some apps (e.g. Perforce) use. Basically it just says the year in which you release, and the sequence within that year. So 2008.1 would be

Best practices for deploying tools & scripts to production?

左心房为你撑大大i 提交于 2019-12-02 14:44:23
I've got a number of batch processes that run behind the scenes for a Linux/PHP website. They are starting to grow in number and complexity, so I want to bring a small amount of process to bear on them. My source tree has a bunch of cpp files and scripts, organized with development but not deployment in mind. After compiling all the executables, I need to put various scripts and binaries on a cluster of machines. Different machines need different executables, scripts, and config files for their batch processes. I also have a few of tools that I've written that belong on every machine. At the

Canary release strategy vs. Blue/Green

三世轮回 提交于 2019-12-02 13:48:56
My understanding of a canary release is that it's a partial release to a subset of production nodes with sticky sessions turned on. That way you can control and minimize the number of users/customers that get impacted if you end up releasing a bad bug. My understanding of a blue/green release is that you have 2 mirrored production environments ("blue" and "green"), and you push changes out to all the nodes of either blue or green at once, and then use networking magic to control which environment users are routed to via DNS. So, before I begin, if anything I have said so far is incorrect,

CGLayerRef in NSValue - when to call retain() or release()?

混江龙づ霸主 提交于 2019-12-02 08:25:58
I am caching some graphics onto CGLayers and then storing them in NSValue objects using @encode (so as to store them in an array). I just wanted to make sure that I handle the retain/release correctly... I cache the graphics and store them in the array something like this: // Create an NSMutableArray "newCache" CGLayerRef drawingLayer = CGLayerCreateWithContext(context, bounds.size, NULL); CGContextRef drawingContext = CGLayerGetContext(drawingLayer); // Do some drawing... [newCache addObject:[NSValue valueWithBytes:&drawingLayer objCType:@encode(CGLayerRef)]]; CGLayerRelease(drawingLayer); //

Is there a way to do nested variables in VSTS Release Management

☆樱花仙子☆ 提交于 2019-12-01 20:32:24
I have a few variables created in Variable Groups with the following names: CodeNetworkShare.Dev CodeNetworkShare.Test CodeNetworkShare.Prod I imported this variable group in my Release Definition. Then I tried the following ways to use this in Release definition I created a local variable in the Release Definition as follows: Name = CodeNetworkShare1 Value = $(CodeNetworkShare.$(Release.EnvironmentName)) I tried to use it directly in the task using the following expression: $(CodeNetworkShare.$(Release.EnvironmentName)) Neither of the above approaches worked. Is there any other way I can get

What release management solutions are worth investigating? [closed]

时光总嘲笑我的痴心妄想 提交于 2019-11-30 23:57:53
In organisations where you have large numbers of applications, written in a myriad of languages running on innumerable platforms and databases how do folks manage the release of builds and patches, particularly when some of the releases are 3rd party? I know there a whole bunch of "Release Management" applications out there, but I'd be interested to know what experiences people have had. To clarify, this isn't a question on configuration management, although that might be a small part of it. I'm more interested in managing software releases and the interdependencies and prerequisites that stem

How can i change the Package family name in uwp windows 10

∥☆過路亽.° 提交于 2019-11-30 21:15:13
I want to change the key mentioned in fig., when i change the certificate file it changes to the another temporary key, and the publisher folder is creating with this key as name. but i want it as a meaningful name. is it possible.? if anybody knows, please help me. Together, these elements declare the identity of your app, establishing the "package family" to which all of its packages belong. Individual packages will have additional details, such as architecture and version. The package family name is the combination of YourProjectName and TemporaryKey . And the Temporaraykey is a hash value

Migrating to maven from an unusual svn directory structure?

岁酱吖の 提交于 2019-11-30 07:37:45
Contrary to a 'normal' svn directory structure I'm using the following structure: trunk/ project1/ project2/ project3/ ... branches/ project1-branch/ project1/ project2/ ... project2-branch/ project1/ project2/ ... tags/ project1/ V1 V2 ... As you see I don't have separate triples (trunk/branches/tags) for each project. For development I do a checkout of trunk (sometimes a sparse checkout) containing all the projects I need (there are dependencies between the projects and some projects are simply libraries). The benefits that I see in this are: Update and checkin is easy, because I have a

multi module maven project with parent pom and svn layout

ⅰ亾dé卋堺 提交于 2019-11-30 06:54:00
I currently have about 16 projects that I build with maven that get deployed to the same application server that make up something like a "portal". I have built a parent pom to handle common dependencies and plugin configurations. Currently, my SVN structure looks similar to this: portal_root +project1 +tags +branches +trunk +project2 . . . +projectn pom.xml The individual projects are each separately deployed. That is, project1 doesn't have a dependency on project2 and each can be modified and deployed without having to modify anything else. This presents a problem with SVN as if another