build

TeamCity - Build triggering on specific file, Mercurial

Hi I'm trying to get my build to trigger only when i create a Tag in Mercurial. The way im trying to do this is by creating an additional Build Config (Tag Conf) for my project where I set the VCS build trigger to: +:/.hgtags (Trigger only when tags are updated) -:. (Do not trigger on any other files) Whe...

How do I build and install applications on a jailbroken iPhone without being in the iPhone Developer Program?

Hi everyone, I would like to build and install my app on my jailbroken device without paying the $99 required for the iPhone Developer Program. I have Rock and Cydia... what is the easiest way to do it (if it's possible)? Thanks. ...

When deploying an EAR into WebSphere, what's the cause of a "duplicate entry" SaveFailureException?

When attempting to install the EAR, the following exception results: Caught Exception installing ApplicationName com.ibm.ws.scripting.ScriptingException: com.ibm.websphere.management.application.client.AppDeploymentException: AppDeploymentException: [] org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: M...

Tool to create an amalgamation/combine all source files of a library into one for C/C++?

SQLite and googletest come with a very easy-to-use, single-file version which makes it a breeze to use it in other projects, as you just need to add a single source file. Both of them use home-brew tools to create the combined source file, so I wonder if there is a more generic tool for this? It should take a list of implementation/heade...

Creating an on Demand Deployment from TFS using a label

I have build scripts that builds, test, version and packages my projects as artifacts to a staging area for each of our environments ready for a versioned release to a given environment (and labels the changeset). I want to stop doing this automatically and only deploy on demand. My problem is I am using TFS and the friction is just im...

Iphone build error - literal-pointer symbol(s) not found

Sorry I imagine I'm missing something basic here. Before I write up a bunch of details on the specifics of the class I'd appreciate a nudge or smack on the head about the meaning of this build error. I have a subclass of NSObject SiteAnnotation that should be conforming to the MKAnnotation protocol. It is #imported in the ViewController...

Example using build number in version string when building Android project via ant ?

We are using Hudson to automate our Android build. I need to incorporate the build number into the version string used in our app. Was wondering if anyone had an example of doing that before I (re?)invent that wheel. Obviously I need to replace a string value in one of our config files. ...

How to build solution using batchfile

Hi , I want to build .NET solution using batch file. I am aware that I need to use following statement devenv /build release "D:\Source Code\Source\test.sln" But I do not know how to create batch file which will execute on VS command prompt. ...

Windows Build System: How to build a project (from its source code) which doesn't have *.sln or Visual C++ proj file (*.vcproj)

I'm facing this problem. So, I need to build the support libraries (zlib, libtiff, libpng, libxml2, libiconv) with "Multithreaded DLL" (/MD) & "Multithreaded DLL Debug" (/MDd) run-time options. But the problem is there is no direct way . I mean there is no *.sln / *.vcproj file which I can open in Visual C++ and build it. I'm aware with...

python script problem once build and package it

hi expert, I've written python script to scan wifi and send data to the server, I set interval value, so it keep on scanning and send the data, it read from config.txt file where i set the interval value to scan, I also add yes/no in my config file, so is 'no' it will scan only once and if 'yes' it will scan according to the interval lev...

Makefile.win [Build Error] with DevC++ while moving the project

Heya, I always got this problem, it's not a big deal, but is very boring, maybe u can solve it :P When i make some program at school, or away from my computer, i save all the files in a USB, then i get home and i open the .dev file, but when i try compiling it, there is an error: C:\Users\Nico\Desktop\Program\Makefile.win [Build Error...

How to list TODO: in Ant build output

Related: How to use ant to check for tags (TODO: etc) in java source How can I get ant to list TODO: tags found in my code in the build output when I run it. I would like build failure to be optional (ie: a setting) if they are found. I've tried Checkstyle as suggested in the related post, but it doesn't display the text of th...

Friend Assemblies in C#

I'm trying to create some 'friend assemblies' using the [InternalsVisibleTo()] attribute, but I can't seem to get it working. I've followed Microsoft's instructions for creating signed friend assemblies and I can't see where I'm going wrong. So I'll detail my steps here and hopefully someone can spot my deliberate mistake...? Create a s...

How to exclude source files from cmake created visual studio projects based on target architecture?

I have a Windows Driver Kit solution that builds the dll for a printer driver. I then convert the binary to C-code and include it into my source so that the dll can be extracted at run time and I don't have to distribute two files, just the .exe. However, I have to build the dll for i386 and amd64 resulting in two dlls, and thus two c ...

Visual Studio 2010's Build Command: It does nothing

I'm using Visual C# 2010 Express RTM with Windows Phone Developer Tools April CTP Refresh and when I run any Build option, nothing happens. I've deleted the contents of the build output folders and that doesn't do anything. I can't even run the project, because it complains the executable is missing (XNA Game for Windows project). I've t...

Hudson build fails when a user logs out of RDP session

We are using Hudson to build mixed C++/Java projects with an Ant script. It is running in Tomcat 6, on a Win XP virtual machine. I have noticed recently that when a user logs off the machine (from a remote desktop session), builds that are currently running tend to suddenly fail without an error message. Has anyone encountered anythin...

Issues with intellisense, references, and builds in Visual Studio 2008

Hoping you can help me -- the strangest thing seems to have happened with my VS install. System config: Windows 7 Pro x64, Visual Studio 2008 SP1, C#, ASP.NET 3.5. I have two web site projects in a solution. I am referencing NUnit / NHibernate (did this by right-clicking on the project and selecting "Add Reference". I've done this for ...

Can distribute setuptools be used to port packages implemented in python 2 to 3

Found some info on porting packages from python 2 to 3 using distribute setuptools in below link. http://packages.python.org/distribute/python3.html I have a C api which could be build using python 2.x, but i need to build it in python 3.x. Can it be done using distribute. Do anyone have idea on this? ...

How can I quickly set the iPhone deployment target in Xcode?

I was reading this great article about Base SDK and Deployment targets and decided to try it out myself. The Deployment target seems to be buried in the Build settings, and not that easy to access compared to the Base SDK target (which is right there in the General tab of the project settings). To get to the Deployment settings now I hav...

TFS 2008 Build and deploy to Inetpub web folder

I have TFS2008 and have a build running, however, I want to automate the deployment of the build folder and place the build into the inetpub folder it belongs to. I.E.: Run Build After Build, automatically place the new built solution into Inetpub/wwwroot/websitefolder I have tried xcopy, robocopy and synctoy 2.1 and I cannot get an...