build

Clean up after nant build failures.

I'm looking for my nant build script to be able to clean up after itself if a build goes wrong. I'm looking for something resembling the following execution: Target= Software.Build Target= Software.Build.Success *(depends on Software.Build succeeding)* Target= Software.Build.Failed I am looking for a solution that if the Software.Bu...

Cleanup Strategies after Building Source Code using eg. Git

I (mostly) use git to download and compile various projects from their source code, keeping my source in /usr/local/src and installing the binaries in /usr/local/bin. Following the building procedure, usually with ./configure && make && make install, I'm left with a lot of cruft that ends up as 'new' files in my local git repository. T...

Gradle download slow

I am using Gradle to do our build and it is running really slowly. When I run it in debug I see it is waiting on: 10:08:42.092 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - trying http://gwtupload.googlecode.com/svn/mavenrepo/org/apache/apache/3/apache-3.jar 10:08:42.093 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - ...

ASP.Net 4.0 App Builds Successfully But Has Errors (?)

I have an annoyance, not really a problem. In my ASP.Net 4.0 app, when I compile I get some errors of the type "Validation (CSS 2.1)". These fill up my Error List but yet the build still succeeds. So two questions: 1. Why does my build succeed if it lists errors? If it truly is a successful build, why are these errors reported as Wa...

Build And Archive Buttons Don't Do Anything in XCode 3.2.4 for me

After I use Build and Archive to produce an Ad Hoc Distribution build, the Organizer appears. When I select the build, and press Share Application, the dialog pops up, but thereafter none of the buttons work. I can't Distribute For Enterprise, Save To Disk or Email. I press the buttons and they just pop right back up. There are no error...

ant : jar and zipfileset - copy files from one JAR into another

I am currently doing this: <jar update="yes" jarfile="${pwd}/dist/${release}_installer.jar"> <zipfileset src="${pwd}/dist/app.jar" includes="com/izforge/izpack/panels/**"/> <zipfileset src="${pwd}/dist/app.jar" includes="com/xyz/img/logo.png"/> </jar> My existing installer JAR gets updated to include the file...

Store all dependent jar files in directory

I use buildr for my build process. My project setup: Project A -> Project B Project A requires ant.jar So, I want to create an output looking the following: target/a.jar target/lib/b.jar target/lib/ant.jar So far, I only managed to create a.jar inside target/ How can I persist the dependent jar files? ...

Change the executable name in Eclipse for C++

I've created a C++ project in Eclipse and currently it builds an executable called file.exe but I want to change this to "file". How do I do this? Thanks. ...

How To Detect Files Which Aren't Being Used in My Build

Hi. I have a ton of files in my source repository which aren't even used in my build. I know a few of them, but I know that there are a ton more. Our build script is pretty antiquated and is a mish-mash of MSBuild, .BAT file, Perl and more. Can anyone tell me if there is a way to run my build, and then output a list of all the files ...

Netbeans deleting a built class?

I have a NetBeans project with quite a few classes in it. I've been working on this project for the past 3 weeks, and just started having this issue today. When clicking the "Run Main Project" button in NetBeans, I see the following error: Exception in thread "main" java.lang.NoClassDefFoundError: stockscreener/Stock Caused by: java.l...

.net mvc - deploy application

Hi, I have a .net mvc 2 application. What is the usual way to hand this application to our customer (similar like war file would be)? Can I just zip the publish-ed version of the app? Or are there any smarter ways to do it, and better ways to get there then to do a publish from VS? ...

Installing ANT on Cygwin

I'm having some trouble figuring out how to istall Ant on cygwin. I want to use Ant to build Nutch. I've looked through a bunch of tutorials but I can't find anything that is low level enough for me to understand. I need something like... Download ant, put it here Open Cygwin type "export ANT_HOME=..." ... Can anyone help me out h...

Why team build doesn't create the bin folder and the linked assembly?

I work on a project I want to use team build I create a build difineation the trigger gated check-in and everything is OK, but when i check in the code the build fail and I face the following error C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets (177): Unable to copy file "bin\OTS.R...

Visual Studio 2008 always build to C:\Users\bin\Debug\MyLibrary.dll

Although I have set the output build path to: ..\..\..\..\..\..\bin\Debug\ All other projects accept the relative path above. Why not that newly added project? When I choose the FolderDialog to set the output path, press ok then I see the absolute path in the output path textbox. Now I copy paste my relative path into the output path t...

Compile MFC Code From C# Windows Application

I'm building a C# Windows App to compile & Build MFC Code i googled a-lot and I found this thread very useful Thread but i'm facing 2 problems; 1) Related To Compile as my MFC project have 4 different configuration 2 for Oracle 10 & 2 for Orace 8i but when i pass Oracle 10 Configuration in command-line it doesn't recognize it & builds t...

Are there any better ways to copy a native dll to the bin folder?

I have C# wrapper code that calls functions from a native (C++) dll. Currently, I can add a reference to the C# dll and have set the 'Copy Local' option to true. However the native dll, which is a dependency, cannot be added as a reference - so there is no 'Copy Local' option. I have tried the following approaches Using a post-build ...

Release different configurations with Maven

I'm currently migrating our build process to Maven from Ant. Our application is deployed to many different customers, each with a unique set of dependencies and and configuration. I can implement different profiles to model these and build the required wars from them. However this is a process that happens at compile time. Each release ...

psake vs. rake for .NET builds

I'm investigating build tools for use with an ASP.NET MVC 2 application. I like the idea of using a scripting language rather than XML, and have narrowed my choices down to psake or rake. I don't have much experience with Ruby or PowerShell, but am willing to learn either. I don't mind installing Ruby on my build server if that's my best...

How to build 32bit python 2.6 on 64bit Linux ?

Hi folks, I'm stuck for a full afternoon now trying to get python to build in 32bit mode. I run a 64bit Linux machine with openSUSE 11.3, I have the necessary -devel and -32bit packages installed to build applications in 32bit mode. The problem with the python build seems to be not in the make run itself, but in the afterwards run of s...

Visual Studio 2010 new project wizard manufactured MFC Dialog program doesn't compile in Debug Mode?

I've created a new project using the Visual Studio 2010's wizard. Once VS was finished generating the project I tried building it - in release mode it worked great, but in debug mode it didn't, giving the following compiler error: 1>------ Build started: Project: MyProj, Configuration: Debug Win32 ------ 1>Build started 05/10/2010 22:17...