build

Xcode build phases

Hey guys I was wondering if in an xcode build phase if it was possible to get the users root directory. Right now I am trying to copy it to "~/" but it says that doesn't exist Is there another way to get the user directory (or the users short name)? Or is there a system folder I can write to that won't run into permission problems? ...

ant check internet connection

Is there a way to check in ant if an internet connection is available. ...

How can I call Nant scripts from Maven?

I'm working on a mainly Java based project, that also has a couple of components written in C++. The project is currently built using Ant scripts which invoke Nant to build the C++ components. We are in the process of moving to Maven and I was wondering if anyone could recommend the best way to build Nant scripts using Maven. I'm awar...

Nant Build script undifined Issue

Hi, I have the following code in a nant build script: <project name="fgs"> <property name="build.dir" value="build"/> <property name="build.bin.dir" value="${build.dir}/bin"/> <fileset id="provider.1.0-references" basedir="${build.bin.dir}"> <include name="thenameofadllfile.*"/> </fileset> <macrodef name="build-dist"> <at...

CMake Eclipse Build Configurations

I want to generate a Eclipse CDT project with CMake where the resulting Eclipse project contains the defined build types as selectable build configurations from within the IDE. For example: if(CMAKE_CONFIGURATION_TYPES) set(CMAKE_CONFIGURATION_TYPES PRODUCT_A PRODUCT_B) set(CMAKE_CONFIGURATION_TYPES "${CMAKE_CONFIGURATION_TYPES}"...

How to load a snapshot in Jazz source control?

So Jazz source control lets you snapshot a repository workspace. But how would I load a particular snapshot of a workspace on the command line? Doesn't seem like a lot of point to a snapshot if I can't load the project as it was at that point in time...? ed... I have found a 'new... repository workspace from snapshot' in the RAD plugin...

Visual Studio not rebuilding after content file change

I have a unit test project which contains a few XML files for data driven tests. These files are set to Build Action Content and Copy if newer or Copy always. For the most part, this works fine. However, when I change one of the data files without changing any code, Visual Studio will not trigger a build action at all, and no XML files ...

How to create nested element for ant task?

Is it possible to create the nested element for any ant task. For e.g. <copy todir="../backup/dir"> <fileset dir="src_dir"/> <filterset> <filter token="TITLE" value="Foo Bar"/> </filterset> </copy> Here for the task copy we are having nested element as filterset. Now, i would like to create my own nested element en...

Build mode is always debug

I have a ASP.NET application that I am trying to build in release mode, but upon inspection (Assembly Information) it is always showing up in debug mode. I've also changed the Web.config entry to specify that the compilation mode should not be debug, but still no luck. Does anyone have any ideas how to get my build into release mode? ...

Suggestions for big Client/Server project layout and Ivy setup

Hi all, I have a reasonably large (thousands of files) project which is divided between client (100% C#) and server (95% Java with a bit of C#). I have recently introduced Ivy as a test into the server only and it works fine, fetching dependencies and publishing. I could have another ivy config/setup for the client but I should reall...

building rpm for Fedora:13 on openSUSE Build Server

Hi, I've been trying to build the latest package of "rpm" for Fedora 13 in the openSUSE Build Service, ( totally unmodified, taken directly from F-14 ) but for some reason, after building, when it gets to all my other packages, the OBS stops because installing the packages gives me a "cpio" error. Did I do something wrong, or is there s...

Building Perl for OS X - Architecture-Specific Compile Options

Thanks to a suggestion from Chas. Owens, I have been having fun playing with Perlbrew to have various Perl builds in my home directory. My question is more generally on building a newer Perl under OS X however. I have OS X 10.6.4 Snow Leopard running on a very recent MacBook Pro. After a small diversion getting gcc properly setup under...

How to ‘partly compile’ Java in Eclipse?

My Eclipse is configured 'Project'->'Build Automatically'. There are large number of Java files in my project. Once one java file is modified, all java files are compiled under the project. It spends much time really. My question is how to configure Eclipse as 'partly compile' which merely compiles related java files. Does it make sense...

Build failed in xcode 3.2.3

Hi frends, I have upgraded my iphone sdk from 3.1.3 to 3.2.3. But now i have a problem. The project i m working on is not compiling in new sdk. I have changed the target info settings also i.e. base sdk is set to iphone device 4.0. I have follwing build error: Internal error occurred while creating dependency graph: ASSERTION FAILURE in...

Simple setup for maven hbm2ddl

I am setting up maven to take annotated java classes and produce some DDL which varies depending on the database. Is there a better way to do this? It seems like I should be able to filter the input to the hbm2ddl plugin (as part of a pipeline) rather than tell it to operate on the output of resource filtering (which I then must filter...

Cleaning Visual Studio custom build step output

I've created a custom build step in Visual Studio 2010 that produces multiple files by running a command-line tool. The step creates these files as it should when invoking a build, but on a clean, it only cleans the first file I listed as an output of the step in the "Outputs" field of the custom build step. I've separated individual fil...

What build tool should I use for MonoTouch development?

I want to create build scripts for my MonoTouch apps. Basically, something that'll compile the application, run tests, zip into into an IPA file, check the source into SVN and write a message to the test log and email the beta testers. Just small scale stuff. What should I use? I'm looking at xbuild, but wondering if it's quite there ye...

Meaning of COPY Command Used by Visual Studio Build?

I don't quite understand the \ and \.. syntax in the compile error I'm getting Error 6 The command " copy c:\project\new\.. \new\bin\x64\debug\garmin.dll c:\project\new\bin\x64\Debug\ " exited with a code 1. Can anyone explain this to me? ...

How do I run JUnit tests during my Ant build script while omitting test classes from my resulting jar?

I'm using the Hello World with Ant tutorial from the Ant manual to learn about Ant. The last part of the tutorial involves adding JUnit tests to the project. I've got everything working as described in the tutorial and am now going on to make some minor changes. One of the changes I would like to make is to run the tests during a typi...

NUnit tests are executed slower by MSBuild than by NAnt

I am in the process of porting a NAnt build script to MSBuild 4.0 and I am seeing a rather interesting behaviour. MSBuild is slightly faster when executing filesystem and compilation tasks, but takes twice as long to run NUnit tests. Here's some background info: I am using nant-0.91-alpha2 and MSBuild 4.0 I am using NUnit v2.5.7 NAn...