build

which one is primary config file for an application that written by WPF?

We write an application with WPF. When we build this project, 3 files is generate for us in addition to : > OurApplication.exe > OurApplication.exe.config their names are: > OurApplication.vshost.exe > OurApplication.vshost.exe.config > OurApplication.vshost.exe.manifest first, what are these files? secondly, which one of this conf...

Execute Ant action always and independently from target

Hello all! Is there a way to specify actions like <copy> in an Ant buildfile that get executed every time the build file gets read by ant (regardless of the target which is called)? The background is: I want a *.properties-file to be automatically created from a template when it's not present. I know, I could specify a target which doe...

What is the best practice for asp.net 3.5 build management for fast-changing line of business apps

I work with two other developers for a medium-sized company writing internal applications in asp.net. We have about 10 discrete web applications, about 5 class libraries, and probably two dozen assorted command line and WinForms apps. Management expects us to be able to roll out an application multiple times per day, as required by the...

TFS 2010 B2 64-bit build agent "unknown state"

Our TF Server is installed on a Windows 2008 Server (32-bit) and the build service is installed on a 2008 Server 64-bit. When attempting to get the build service going, the agent is reported as being in an unknown state. When testing connections between the controller and agent, everything is fine but it is impossible to successfully bui...

I want to use NAnt's foreach to iterate files in a folder, how to force alphabetic iteration?

I have an NAnt task "ship" to package my current .sql scripts into a build, then name the build with an incrementing int {######} and copy it to a build folder. I have another NAnt task which executes those build scripts. They must execute in order, but in my last attempt, they were not. Can I "force" NAnt to work alphabetically? Tha...

Unit testing - when multiple projects all have their own set of App_Config files

Here's the situation: I've got a solution with multiple unit testing projects, each targeting a specific assembly in the application. These unit test projects require a set of App_Config* files in order to execute (i.e. connectionStrings.config, appSettings.config, etc). When I run the tests from within VS.NET using TD.NET or ReSharper,...

Build automation for Delphi + Oracle

Hi all, at my work we are presently looking for a automated build tool. We have googled quite a bit, but there are so many possibilities we are not sure which tool is the best option, to be honest. We are not even sure there is one that fits our needs. It should have as many as possible from following features: Integration with Subv...

Build different products out of common base (Java)

I'm looking for a way of packaging different products out of a common base. This could be, for example, for packaging a light version of a product or a specially customized edition. The differences between my different products are mainly the following: Producing different configuration files (text files) out of a single one (could b...

Help with rake dependency mapping.

I'm writing a Rakefile for a C++ project. I want it to identify #includes automatically, forcing the rebuilding of object files that depend on changed source files. I have a working solution, but I think it can be better. I'm looking for suggestions for: Suggestions for improving my function Libraries, gems, or tools that do the work f...

Problem with ant file

Hi guys, I have this build.xml file http://gist.github.com/315109 . Every task runs smoothly, but test. I don't know why I'm getting (if I run ant with -v) something like this: [junit] The ' characters around the executable and arguments are [junit] not part of the command. EDIT: As pointed out, seems like that messag...

How to get a modified generated Android IInterface file in an apk?

I'd like to add a step to the Android build process in Eclipse, which will modify the generated IInterface files that are based on aidl files. I've written a custom rewriter, which does the rewriting. I inserted this rewriter as a custom builder in Eclipse between the Android Pre Compiler and the Java Builder. The problem is that the ...

Java Netbeans JAR building and running

I have several packages in my Netbeans project. One of these packages has a main method, which is set as the main method for the project. I use clean and build and the Jar is created successfully, however when I try and run the .jar file The application does not run correctly. The Main.class that I am running has buttons that create i...

How to make Boost::GIL work with PNG & JPEG IO?

Boost::GIL has almost perfect tutorial and manual. I find it troublesome to lack guide on building and using Boost::GIL work with PNG & JPEG IO. Does anyone have experience or have successfully did that? Please kindly advise! Thanks! EDIT: Answer lies here: http://opensource.adobe.com/wiki/display/gil/Downloads ...

How do I get Maven to use the correct repositories?

Hi all, I just checked out some projects and need to build them, however I installed Maven quite some time ago (6 months maybe?) and really haven't used it since - the pom.xml for the project I have doesn't have this "http://repo1.maven.org/myurlhere" anywhere in it - it has the absolute url where the maven repo is for the project, but m...

TFS 2008: Questions about auto Builds, Labels and general versioning

Hi all, a bit of background first... I am setting up a versioning numbering system for our project which currently only has a development branch, but we are now moving towards our first deployment. We are using TFS and we use nightly builds on our dev branch. The way we are probably going to go with this is that when we get ready for ...

Which batch file command launches and builds and compiles a VS2008 solution file?

I am writing a Windows batch script in order to automate the process of launching Visual Studio 2008, building and compiling the solution file, so that instead of manually launching VS2008 and then pressing F5, I can just run my batch file (or perhaps call it). However, the command below doesn't seem to do the job: devenv /build de...

Ivy loading unnecessary dependencies?

I'm migrating a maven project to ant + ivy (it's an arbitrary decision, and it has to be done ). The thing is that comparing both WAR files, the ant and the maven one, the former has a lot more 3rd party jars than the first one... At first I thought that they were transitive dependencies but when I run mvn dependency:tree they don't...

iPhone Distribution Build Out of memory failure?

I keep getting an out of memory failure when I try to do the distribution build of my app. The app only gets up to a max of 12 megs of real memory when testing it in Instruments. Why is this happening? My app folder is only 18 megs without the build folder in it. Turns to 80 megs with the build folder. But this doesn't seem like a l...

Ant scp task not working, even with jsch on ant/lib

I need to copy a war file via scp. I have added the jsch-0.1.42.jar to $ANT_HOME/lib but I'm still getting this error: Cause: the class org.apache.tools.ant.taskdefs.optional.ssh.Scp was not found. This looks like one of Ant's optional components. This is the result of running ant -diagnostics just in case: http://...

How to add system property equivalent to java -D in Ant

Hi. I need to set java -Djava.library.path=/some/path and I want to do it when I am running my ant script, building my jar. I think I have to use <sysproperty key="java.library.path" value="/some/path"/> but it doesnt work. I cannot make the syntax work. The only thing I have Googled and found is sysproperty in conjunction with <...