release

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

喜夏-厌秋 提交于 2019-12-02 14:25:02
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 the checkin process: Exception while executing SCM command. Detecting the current branch failed: fatal:

How to Create the Upload File for Application Loader?

杀马特。学长 韩版系。学妹 提交于 2019-12-02 14:21:52
When I use Application Loader, I get to the point where it asks me to "Choose..." the file to be uploaded. If I understand correctly, it supposes to be the appName.app file I see under "Products" on my app bundle (I right click it and select "Show in Finder" to get to the specific file in library; then I'm supposed to ZIP it and the ZIP file is what I will choose in Application Loader). First, am I correct with this assumption? if yes... What should I define different in XCode than the way I used to build the application for testing (on simulator and on my personal iPhone)? Should I change the

Why do release builds sometimes crash while debug builds do not?

百般思念 提交于 2019-12-02 14:18:35
问题 I figured out that my app crashes on many occasions with the release build (for instance the build for TestFlight). But the debug build does not. Why is this even possible? What makes a release build so different from the debug build? And how can I figure out what is causing the crash in a release build? I modified my Run scheme to use the TestFlight build configuration, and when I use this, the app crashes. Xcode also can't attach itself to the app after installing and running it on the

Release build not working when run without debugging in VS2010

 ̄綄美尐妖づ 提交于 2019-12-02 11:40:13
I encountered following problem: I write program in c++ using VS2010. Debug build works properly when run with/without debugging in VS. When I launch built executable directly it also works. Release build works when run with debugging in VS and alsp when I launch build executable directly. Unfortunately, program does not work when I run release build in VS -without debugging-. Window is created and then program crashes quickly (without any error message). Since it crashes when run without debugging I don't know how to identify what causes the problem. Any ideas what might be causing this?

Jenkins + Gradle + Artifactory: Couldn't read generated build info

假装没事ソ 提交于 2019-12-02 11:02:43
I'm trying to push my artifacts to Artifactory with Jenkins Pipeline, which call Gradle tool. I am following the examples published on GitHub: Example1 Example2 My Jenkins Pipeline script: stage('Perform Gradle Release') { //ssh-agent required to perform GIT push (when tagging the branch on release) sshagent([git_credential]) { sh "./gradlew clean release unSnapshotVersion -Prelease.useAutomaticVersion=true -Prelease.releaseVersion=${release_version} -Prelease.newVersion=${development_version}" } // Create an Artifactory server instance def server = Artifactory.server('my-artifactory') //

Memcpy vs Memmove - Debug vs Release

一个人想着一个人 提交于 2019-12-02 10:27:41
I got really strange behavior for my x64 multithreading application. The execution time in debug mode is faster than in release mode. I break the problem down and found the issue: The debug modus optimize (!Note optimition is off!) the memcpy to memmove, which peforms faster. The release mode use still memcpy (!note optimition is on). This problem slows down my multithreading app in release mode. :( Anyone any idea? #include <time.h> #include <iostream> #define T_SIZE 1024*1024*2 int main() { clock_t start, end; char data[T_SIZE]; char store[100][T_SIZE]; start = clock(); for (int i = 0; i <

How to destroy/release resources used in 1 activity/layout?

杀马特。学长 韩版系。学妹 提交于 2019-12-02 08:37:41
How do I release resources used in 1 activity? So I got 3 layouts and activity for each layout, but the problem is when I switch between those activities my app crashes and I get this: I started getting this error ever since I added adds to my application. My whole logcat http://i.imgur.com/t5G94dC.png XML Layout: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads" android:id="@+id/RelativeLayout1" android:layout_width="match_parent" android:layout_height="match_parent"

Convert/cast CFReadStreamRef to NSInputStream (iOS5)

北慕城南 提交于 2019-12-02 04:05:30
问题 I am trying to port my app to iOS5. I am using a TCP connection to a server via CFSockets. My problem now is the conversion (cast) from CFReadStreamRef to NSInputStream (same with write). With iOS4 I could use the toll-free bridging, but with automatic reference counting of iOS5 this isn't possible anymore. This is what I get: error: Automatic Reference Counting Issue: Cast to 'NSInputStream *' of a non-Objective-C to an Objective-C pointer is disallowed with Automatic Reference Counting Code

Convert/cast CFReadStreamRef to NSInputStream (iOS5)

霸气de小男生 提交于 2019-12-02 00:36:29
I am trying to port my app to iOS5. I am using a TCP connection to a server via CFSockets. My problem now is the conversion (cast) from CFReadStreamRef to NSInputStream (same with write). With iOS4 I could use the toll-free bridging, but with automatic reference counting of iOS5 this isn't possible anymore. This is what I get: error: Automatic Reference Counting Issue: Cast to 'NSInputStream *' of a non-Objective-C to an Objective-C pointer is disallowed with Automatic Reference Counting Code: CFReadStreamRef readStream; CFWriteStreamRef writeStream; CFStringRef strRef =

配置文件整理

北战南征 提交于 2019-12-01 22:37:52
spring_mvc配置 所需jar包: commons-logging-1.1.3.jar spring-aop-4.1.6.RELEASE.jar spring-beans-4.1.6.RELEASE.jar spring-context-4.1.6.RELEASE.jar spring-context-support-4.1.6.RELEASE.jar spring-core-4.1.6.RELEASE.jar spring-expression-4.1.6.RELEASE.jar spring-web-4.1.6.RELEASE.jar spring-webmvc-4.1.6.RELEASE.jar web.xml(myeclise path:/projectname/WebRoot/WEB-INF/web.xml) <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns