release

“You don't have a SNAPSHOT project in the reactor projects list.” when using Jenkins Maven release plugin

依然范特西╮ 提交于 2019-11-28 18:30:30
I'm using SVN, Maven 3.0.3 on the latest version of Jenkins and the Maven Release plugin. I'm trying to use the Maven release plugin (through Jenkins) do a dry run and so am executing the options … Executing Maven: -B -f /scratch/jenkins/workspace/myproject/myproject/pom.xml -DdevelopmentVersion=53.0.0-SNAPSHOT -DreleaseVersion=52.0.0 -Dusername=***** -Dpassword=********* -DskipTests -P prod -Dresume=false -DdryRun=true release:prepare But the dry run is dying with the error below … [JENKINS] Archiving /scratch/jenkins/workspace/myproject/myproject/pom.xml to /home/evotext/hudson_home/jobs

Google Maps are not showing in signed apk

北慕城南 提交于 2019-11-28 17:28:36
问题 I know this is a common question and usually the solution is to generate a separate key for release. I've done it several times and my API key in developers console contains two different SHA1-fingerprints: one for debug from AndroidStudio and on for release from my own keystore. I have signed the app with the same keystore and enabled Google Maps Android API v2 in the console. But still the maps activity shows just the white screen with 'Google' in the left bottom corner. Are there any

Building C# Solution in Release mode using MSBuild.exe

独自空忆成欢 提交于 2019-11-28 17:07:43
I am able to build a solution using MSBuild.exe, but my issue is I can only manage to get it to build in DEBUG mode. I need to build my solution in Release mode using MSBUILD. Here is what I've tried Process msbuild = Process.Start("C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\MsBuild.exe", solutionfilepath + " /P:Config=Release"); and Process msbuild = Process.Start("C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\MsBuild.exe", solutionfilepath + " /P:Configuration=Release"); Abdullah Saleem MsBuild.exe [Path to your solution(*.sln)] /t:Build /p:Configuration=Release /p

“Git fatal: ref HEAD is not a symbolic ref” while using maven release plugin

我怕爱的太早我们不能终老 提交于 2019-11-28 15:35:25
问题 I get the following error output while running the Maven release plugin prepare step i.e. mvn release:prepare --batch-mode -DreleaseVersion=1.1.2 -DdevelopmentVersion=1.2.0-SNAPSHOT -Dtag=v1.1.2 -X from an Atlassian Bamboo plan. However doing the same in the command line works fine. The full error stack is below. Any ideas how can this be solved? [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.4.2:prepare (default-cli) on project hpcmom: An error is occurred in

Proguard: IllegalArgumentException - Unexpected error while evaluating instruction

强颜欢笑 提交于 2019-11-28 13:41:57
I'm trying to build a release apk with the proguard enabled. I'm getting the error below. I will attach the full stacktrace below. Unexpected error while evaluating instruction: Class = [*] Method = [myMethod(Ljava/lang/String;Ljava/util/Map;)V] Instruction = [532] aload_3 v3 Exception = [java.lang.IllegalArgumentException] (Value is not a reference value [proguard.evaluation.value.UnknownIntegerValue]) Unexpected error while performing partial evaluation: Class = [*] Method = [myMethod(Ljava/lang/String;Ljava/util/Map;)V] Exception = [java.lang.IllegalArgumentException] (Value is not a

database backup scripts

孤者浪人 提交于 2019-11-28 10:09:39
冷备脚本: run{ shutdown immediate; startup mount; allocate channel c1 device type disk; allocate channel c2 device type disk; backup database format '/u01/backup/rman/db_%d_%T_%U.bak'; backup current controlfile format '/u01/backup/rman/ctl_%d_%T_%U.bak'; alter database open; release channel c1; release channel c2; } 热备脚本: run{ allocate channel c1 device type disk; allocate channel c2 device type disk; backup database format '/u01/backup/rman/db_%d_%T_%U.bak' plus archivelog format '/u01/backup/rman/ar_%d_%T_%U.bak'; backup current controlfile format '/u01/backup/rman/ctl_%d_%T_%U.bak'; release

cordova “release” behaves differently to “debug” regarding SSL

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-28 06:58:28
I have very difficult and totally ungoogleable problem with cordova. A program, working perfectly being compiled in --debug mode, ceases working after compilation in --release mode. I made sure the source is identical, and the effect is constant. The only difference between --debug build and --release build is that the --release build fails to open any SSL connections . This problem is localized very narrow, in my case it is the following line: Socket = new WebSocket('wss://376.su/'); a friend of mine has reported the same error occurrence in the line: <img src="https://blabla" />; UPD: the

Build and Deploy a Web Application with TFS 2017 using Web Deploy Package

北城以北 提交于 2019-11-28 05:54:36
问题 My problem is similar to this Build and Deploy a Web Application with TFS 2015 Build But, the solution is not working for me. I am working on Continuous Integration, and I have to Deploy a Web Application, and others Website, with the website I don't have problems creating the .zip Package for the deploy. I am using /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(Build.StagingDirectory)\\" Then I am using

Release or set to nil retained members

帅比萌擦擦* 提交于 2019-11-28 05:44:20
问题 Is it better to set my retained member vars to nil or to release them when I am cleaning up? Setting a retained var to nil seems a safer way to release an object without risking a double release call on it. Update: Let me elaborate that I'm referring to member vars that have been set to have the retain property i.e.: @property (nonatomic, retain) SomeClass* mInstanceVar; 回答1: It's best practice to release your instance variables first, and then set them to nil in your -dealloc method. I

How do I create a release build in Xcode?

本小妞迷上赌 提交于 2019-11-28 05:43:23
Why is it that when I build an application, Xcode creates a debug build? I want to create a release build. How can I do this? Helge Becker It is done over building an Archive version. First connect a iOS device to your MAC. Then select that device as target in xcode. Now click on the tab "Product" and click on "Archive" Product / Scheme / Edit Scheme.. And from the menu that comes up, select Release under "Build Configuration" . Xcode 8 and 9 I found this question because I had already finished debugging my app and I wanted to make a release build for the app store. I always forget which menu