release

What explains best the difference between [myVar dealloc] and [myVar release]?

I think I know the difference, but don't know how to explain that correctly. dealloc removes the memory reserved by that variable totally and immediately. release decrements the retain counter of that variable's memory by -1. if it was 1, then it's 0, so it would have the same effect as dealloc in that moment. is that right? or is the...

iphone hierarchical TableView memory never released

Hello, in the very good book "Beginning iPhone Development" (Apress), in the Chapter 9, they explain how to build an application with a navigation controller and hierarchical table views. If you launch the application with Instrument/Activity monitor, the application working well but with a big problem : each time you drill down from tab...

Exploring new version control systems. My biggest need: Reliable merging

I am a release engineer for a team of 35 programmers. We are working on PHP, Java, C# and SQL. We currently use Subversion, which has worked okay for about a year. We are going through a phase where conflicts are becoming more and more common. Our application footprints are growing, so performance is becoming an issue for checkouts and c...

Visual Studio 2005 C++ runtime new exception

I have a VS 2005 C++ project with both Debug and Release builds. I've attempted the following 4 things: Build a Debug executable through Visual Studio, and run it through Visual Studio. Run the executable built in (1) externally via command line (Cygwin) after cd'ing to vstudio/debug. Build a Release executable through Visual Studio, ...

How to automatically detect and release DLLs that have really changed ?

Whenever we recompile an exe or a DLL, its binary image is different even if the source code is the same, due to various timestamps and checksums in the image. But, our quality system implies that each time a new DLL is published, related validation tests must be performed again (often manually, and it takes a significant amount of time...

iPhone touch methods not working with release build

Hey all, I'm having a strange issue where a custom control I've built for the iPhone works perfectly when building in debug mode but only works partially when built in release mode. The main wrapper view is a subclass of UIView and it contains a row of "buttons" that are added as subviews. The custom button class extends UIImageView an...

How to idenfiy if the DLL is Debug or Release build (in .NET)

I'm sure this has been asked before, but google and SO search failed me. How can I identify if a DLL is a release build or debug build? ...

Returning stack data in C; Does it unallocate correctly?

I was reviewing a friend's code and got into an interesting debate on how C/C++ allocates memory on the stack and manages its release. If I were to create an array of 10 objects in a function, but return said array, does it release when the function pops (hence making the given data invalid) or is it placed into the heap (which raises th...

How to tell if a binary is release or debug in both win and *nix.

Is there a simple command line utility to inspect binaries like executable and dynamic libraries to tell if they are release or debug versions? Is there anything like that on *nix or windows? ...

Maven Release Plugin war stories

Hello, I have been given the task of exploring the maven-release-plugin before we try using it on our project. As of now, the releases are done manually on request. This process involves (skip this part if you're not interested, it's just to give you an idea): In the head, open the base POM file: Increment the numbering of the \proje...

One big release or several small ones?

When you're working on enhancements to an existing line of business application, do you think it's better to batch up changes into less frequent bigger releases, or continually ship new features in smaller releases? Assuming there are hardware upgrades or database upgrades, do you make these changes with the releases as well, or keep the...

Fast development, or stable results, which is more important for public web site/services?

This is really just me soliciting a number of opinions and as a relative newbie to this site, I hope I was correct in marking this post as a community Wiki. If I was mistaken, can someone please correct my mistake. Anyways, here is the scenario. I am developing a web application and a number of services in support of that application....

What do you use for Staging / Deployment Artifact Servers?

I am thinking about writing my own release storage server and before I do this, I'd like to know what people use to see integration instead of create. So what do you use to store your builds for internal access? I'm looking for a web app that allows me to upload artifacts and then reference them by various tags so I can group them toge...

Asp.net release build vs debug build

Hi, How do I determine if my app was compiled as "release" instead of "debug"? I went to VS 2008 Project Properties > Build and set the configuration from Debug to Release but I noticed no change? This is an ASP.NET project. ...

Objective-C release of singletons

Hi, Im pretty new to objective-c programming and releasing of objects is my greatest headache. I'm always doubting on what need to be released, and my times I've end up releasing the wrong variable and getting a BAD EXEC crash. I've read apple's guide on memory management, but I cant always go from their examples to my code. One of the...

Metadata file '...\Release\project.dll' could not be found in Visual Studio

Recently I started to get this message randomly. I have a solution with several projects in it. Current build mode is Debug and all projects' configuration is set to Debug. But when I try to run the main project - sometimes it gives me a few errors all of which are "Metadata file '...\Release\projectX.dll' could not be found" - and, look...

Is it safe to use Free instead of Release for modal forms in Delphi?

The Delphi online help says that Release should be used to remove a form from memory. However, in many examples for modal forms I have seen this construct: MyForm := TMyForm.Create(nil); try MyForm.ShowModal; finally MyForm.Free; end; Is Free a safe way to destroy a modal form? As I can see in the source for ShowModal, Application...

ClickOnce in Release mode doesn't publish

Just doing some testing/prototyping with ClickOnce. Does anyone know why I can publish with CLickOnce when its set to 'debug' mode but not when its set to 'release' mode? I dont even get an error message for the latter. The output folder remains empty as nothing has happened. Once I switch to Debug mode and do the publishing everythin...

define ant property from environment with default value

Hello Friends, I would like my build script to act property for release and development environments. For this I would like to defined a property in ant, call it (for ex.) fileTargetName fileTargetName will get it's value from the environment variable RELEASE_VER if it's available, if it is not available it will get the default value ...

What's the difference between compilation debug="false" and Release mode?

In ASP.NET, what's the difference between building a project with in the Web.config and with Release mode in the Configuration Manager? When would you use one and not the other? ...