build

Visual Studio 2010 environment variable

I've set an environment variable named %SDK% in windows. Can I use it somehow in .csproj file? Something like: <ItemGroup> <Reference Include="SomeDll"> <HintPath>%SDK%\SomeDll.dll</HintPath> </Reference> </ItemGroup> I've tried %SDK% and $(SDK) and it does not work. Any ideas? ...

How to handle multiple database schema creation scripts with Maven?

I have an application in development that supports several databases including SQL*Server 2008, Oracle 10G, Oracle 11G, MYSQL 5, etc. Already within Maven I have done three things: 1) There is a profile for each database so that the system can use it for integration testing during the build. 2) Maven invokes the hibernate3 plugin to ...

What kind of machine do we need for C# developer

Hello, I need to know what kind of machine is the best for a C# developer with Visual Studio 2008 software. We have a solution with 30 - 40 projects, and every time we build the solution it takes about 2 minutes. So if a developer builds this application 20 - 30 times a day, we have a lot of waiting time. Is it the hard drive we need t...

Preventing build breaks - using a pre-commit build

What methods are available for preventing sloppy developers from breaking builds. Are there any version control systems which have a system of preventing check-in of code which breaks the build. Thanks ...

rspec-2.0 and rcov

The verify_rcov task is no longer available in new rspec-2.0. just curious on how you will tackle this issue. I certainly can do what rspec 1.x did - check the html file to get the number. Is there better way for this? ...

Visual Studio - error LNK2005 in debug mode

I'm integrating 3rd party code into my MFC app under Visual Studio 2010.When in Debug mode the following build error occurs: 1>LIBCMT.lib(invarg.obj) : error LNK2005: __initp_misc_invarg already defined in libcmtd.lib(invarg.obj) 1>LIBCMT.lib(invarg.obj) : error LNK2005: __call_reportfault already defined in libcmtd.lib(invarg.obj) 1>LI...

Visual Studio Post Build Task passing Multiple files

I have an executable file - process.exe - which takes a single file path and does something with that file (no outputs). process.exe isn't capable of accepting wildcard paths e.g. process.exe c:\project\*.ext What I want to do is select all files of a particular extension in my project (*.xmlt) and pass each one of these files into the...

Splitting a build into multiple output directories

I have a solution that uses NServicebus which contains at least 3 projects that are of interest for this scenario; a publisher, a sweep, and a webservice. Basically the sweep(s) gather data for the publisher to store in a database and then publish to subscribers. The webservice gives access to the data stored in the publishers database. ...

No dll compiled in visual studio 2008 express when built

Hi, I'm a .NET newb, so forgive me if this is a stupid question. I've inherited a website which I've amended and now need to rebuild. I've opened the .sln file in VS2008, made my changes to the files and clicked 'build > rebuild website'. This seems to run okay - it outputs a load of comments in a panel at the bottom as it's building...

which directory should I checkout our java project files into for a team build

hi all, we use svn(subversion) for our source repository. On the same box, we build our project PLUS deploy it onto an appserver. All the team members(under 10, in number) will login to the Linux (ubuntu server) box and run the build script. Question : I would like to know which directory is typically used for creating the home directo...

Building C# solutions from command line with Visual Studio 2010

Hi, I want to automate the build process for my C# solutions. How can I build C# solutions from command line so that I don't have to care for dependencies manually? ...

How to setup a good java build environment?

Java/Eclipse. Development works fine. We have either Windows or FreeBSD for build server. To deploy though I would like to do the following (in a very automated way): 1: Pull down everything from source control (perforce) 2: build all source (and all dependency projects) with configurable javac and arguments (we want to see if diff...

Build only modifiyed projects?

I have a Solution with several Projects, is there some kind of versioning control within VS2010, so on build only projects with modifiyed files to be rebuilded? ...

Oracle JDeveloper - build

I am new to Oracle JDeveloper and Oracle ADF framework. If I do some changes in java files, I do stop oc4j and rebuild in project level, and starting it again. Is that the right way of doing it or do we have any partial/swap build options there? Thanks ...

GNU make scope of variable

I have some makefile: $(PROGRAM_NAME): index.o @echo "linking" @echo $(index_o) //linking export index_o:=. index.o: $(MAKE) -C some_dir index.o at some_dir makefile export index_o:=$(index_o)/index.o index.o: @echo "compiling" @echo $(index_o) //compiling output: compiling ./index.o linking . need ou...

How to also change the location of index files when changing the default build location in Xcode?

I'm using Xcode version 3.2.2. If I follow these steps with Xcode: create a new Cocoa application called "Test" in Info change the "Build Products Path" to "_build" build project I find that there is still a "build" directory being created called: build/Test.build/Test.pbxindex/<various files> These look like the files that Xcode...

What's the preferred way to include QML sources in your application build?

I am building an application with mixed UI technologies (mostly C++ with some QML components included). Suppose I have a QML item which I want to show inside a QDeclarativeView using syntax like this: view = new QDeclarativeView(QUrl::fromLocalFile("foobar.qml")); I have added foobar.qml to my project in Qt Creator which automaticall...

How to open a blend 4 project in Visual Studio 2010 without having Blend

Hello, I just discovered Expression Blend 4 and was amazed by the possibilities it supplies. After having created an HMI prototype in blend, I tried to send it to a colleague who doesn't have Blend, but he couldn't build it. I googled around and found a Blend 4 SDK, which he installed. Unfortunately, he still cannot build the projec...

Process management using Ant

Are there any ant tasks out there for listing running processes and optionally killing them, something that is not platform dependent (i.e wraps both tasklist and ps) ? ...

mingw. how to use static and dynamic linking both

lets make the simpliest application: result: ok. it works. lets add some SDL with default dynamic linking here! result: works great. at stdout.txt we can see "puchuu" lets change our makefile a little. just group 2 object files to the static lib: result: Who is to blame? Me or mingw developers? is it clear to...