build

Naming of build scripts

We do our build-management with Ant, we have to build scripts, one to create a dispatchment for our customer, with hash informations, the sourcecode, installation-guide etc., the other build-file lies in the created artefact, and is the build for the customer which creates the war file from the sourcecode. for the build-file which creat...

What path / environment variables are used when executing post build steps?

I'm trying to perform the following post build step in a VS2008 project: sn.exe **some arguments** And keep on getting the error 'sn.exe' is not recognized as an internal or external command, operable program or batch file. What path / environment variables are used when executing the post build steps? I had assumed that it wa...

How to remove App_LocalResources from Build Process

We have a Large-scale Application and it have dozens of resx file to localize application these files build each time and take much time to build and the build process goes longer how to remove these kind of files from build process ...

qt 4.6 for winCE: hello world app takes ages to start

Hi, I'm using qt 4.6 porting a j2me app to native Windows mobile 6 professional. All is working ok but my app takes about 10 seconds to startup that is too much in my opinion. Even a simple hello world app takes about 8 seconds to start. I've tried recompiling qt using a lot of -no-something, like this: c:\Qt\4.6.0\configure.exe -qconfi...

Merits of bmake

Apart from the fact that bmake is an BSD equivalent of GNU make, I could not clearly understand it's advantages over GNU make. Can anyone help me? I was able to find only one resource that was bit helpful. More help or pointers are appreciated. Thanks, Prabhu ...

ant to maven - multiple build targets

I have an ant build that is currently being converted to maven. However, the ant build has 2 build targets - one that builds the entire app, and one that builds a jar from some of those files (only a few). In ant, it's easy to have multiple build targets to handle this, but I'm trying to determine the best way to handle this in maven. I...

Ant - append a list of file names

Greetings all, I need to write an Ant target that appends together (comma-delimited) a list of '.jar' file names from a folder into a variable, which is later used as input to an outside utility. I am running into barriers of scope and immutability. I have access to ant-contrib, but unfortunately the version I am stuck with does not hav...

Configuring variable DESTDIR in qmake

Hello I'm using qmake for building a project of mine. I have been trying to set the DESTIR variable of qmake with a value that depend of the compiler used. Actually, I want that the binary of my project, after builded, be placed in a directory that has the name of the compiler used to build it. Something like this... My current directo...

Web applications: Development to Production

Here is my company's current process for moving changes from our development server to our production server: Files that need updated are brought down from production, to ensure no changes were made in production only (no it shouldn't happen; but yes, it does happen). Old development files are given a ~ prefix as a sort of "backup". De...

Rules for when .NET referenced assembly is put in bin\debug

How does .NET (or Visual Studio) build decide whether or not to copy a referenced assembly to your bin/debug or bin/release directory? (This is an .exe console program.) On my machine, I had the referenced assembly in the GAC. A co-worker copied my bin/release to their machine, and it wouldn't run because the referenced asssembly was...

What should expericenced Unix programmer to be aware of using Microsoft Tools?

I come from UNIX world, I'm quite familiar with Linux, Solaris, Cygwin and MinGW development. Recently I ported one of my big projects (cppcms) to support MSVC, including building static and dynamic libraries with CMake. And I get all the time absolutely weird issues: I had CMake build issues because Windows programming lacks namin...

TFS: cannot set up new build

Hi, I have set up TFS Build Service on one machine in the network. Now I want to create a build. When logging to Team Explorer (under my personal TFS account) I see a Build subfolder in my project folder. However there is a small red cross icon Does it have to do with my account rights? I belong to Contributors group. How can I creat...

Choosing a scripting/build tool

Hi, We are currently working on a project with both actionscript and Java. Up to now, we were using Ant as our main build tool, but the dumb amount of duplication it implies and the lack of flexibility (we are building a pretty large amount of small sub-projects, and copying all of the build files every time is a pain) are pushing us t...

generating library version and build version

Hi all, I have a library that I build and release to the customers. The platform is linux. I was wondering if there is any way to generate library version and build version as part of the build? This will help me to co-relate any issues reported by the different customers with a particular version of the build. Thanks. ...

ant keeps recompiling

Hi, I expected ant to figure out when not to recompile the files which are up to date - unfortunately it keeps happening. My build target contains only: <javac srcdir="configuration" destdir="${build_env}"> <compilerarg value="-Xlint"/> </javac> In verbose ant output I get: conf: [javac] MissingConfigurationException.java added as ...

Android make error: gcj issue

Hello. I'm using SuSE 11.2. It has GCC 4.4 installed by default. I've downloaded and built from sources GCC 4.3.4 while leaving 4.4 as well. I've also altered environment variables - CC, CPP, CXX and PATH - to point to GCC 4.3 binaries. And when I run Android 1.5 make, I get following error: make: * No rule to make target ../../../../bi...

Building Cairo for Windows with MinGW (Problems linking libpng)

I'm trying to build cairo on Windows using MinGW (and MSYS). I am following the instrucions on Compiling GTK+ 2.16.4 for Windows, except that I'm using the latest versions whenever possible, i.e: zlib-1.2.3 libpng-1.2.42 pixman-0.17.4 cairo-1.8.8 This works pretty well up until when I try to build the actual cairo. The configuration ...

Add new resource to existing ResourceCollection (path) in ANT build script

I've got a build script that builds multiple components and jars them up. I currently build a path like so: <path id="project.class.basepath"> <fileset dir="${lib.dir}"> <include name="**/*.jar" /> </fileset> <fileset dir="${path.to.base}/components"> <include name="*/build/lib/*.jar" /> </fileset> </path> ...

How do I halt Maven when JUnit Fails?

I am running Junit tests from Maven. The ant script has <junit failureproperty="failproperty" errorproperty="errorproperty"> <classpath refid="classpath" /> <test name="${unit-test-suite}" /> <formatter type="brief" usefile="false" /> </junit> <echo> --...

Is there a way to fix the imported project error for Microsoft.CSharp.targets, other than changing the reserved property to $(MSBuildBinPath)?

So I am getting the error: The imported project "C:\Microsoft.CSharp.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. When I run this command: %WINDIR%\Microsoft.NET\Framework\v2.0.50727\msbuild.exe MyProject.csproj /target:publish I found others stating that...