build-process

Build Server/CI Setup - Using Latest Component in Application

I have finally started to take the time out to grok the continuous integration process. I have started putting together a build server at home and trying to grok how to deal with different situations in building. If I have component "A", which is used by application "B" - what is the "best practice" for telling the build server to compi...

How to create source distribution with self sustainable maven build?

What I want to do is to create source code distribution of my application with all dependencies and burn it on DVD. So that I could build it in 100 years (well, ok, you know what I mean...). No online dependencies on libraries or maven plugins! I know that Ant would be better for this, but I'm using maven in my project. I'm not going to...

building jahia from source, having problems

I am trying to build jahia from source for a project at school. From the instructions online, all I seem to find to run is maven install which fails... any help would be much appreciated. ...

Daisy CMS having touble building

after reading through the README.txt's throughout the entire SVN i have followed them but still am missing a few dependencies that are necessary for Fortify Sourceanalyzer to build. these dependencies are DocumentEditorForm org.outerj.daisy.sync.AttributeType org.outerj.daisy.sync.SyncState org.outerj.daisy.sync.System...

Can Pre-Build Events Raise Warnings?

Hi, I have a custom tool which is set up as a pre-build event, it does some multi-language processing on the source code before it builds. I was wondering if it was possible for that tool to generate warnings which can be seen in visual studio's list of build warnings, either by outputting a specific string to the console (or by some ...

Building non-webapp maven2 based project with extra non-essential files and batch files

I'm just beginning to grasp the setup of maven2 while porting over a simple project of mine. I've ran through the package command line example on the Sonatype web site but I'm a bit confused of how I could expand and change the packaging of this project. I've tried to find more information on this subject but I think I'm either thinking ...

How important are build server times to rapid development?

When i say “time” I am including everything that happens in a build (compilation, unit testing, code coverage, static analysis etc) I guess what I am getting at is what is the build time threshold before I should look at either upgrading hardware or splitting up into smaller builds. At the moment I am leaning towards 5 minutes. ...

Should I install an SDK on the build server??

(this is a .net build server) I'm getting the following error: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1679,9): error MSB3091: Task failed because "LC.exe" was not found, or the .NET Framework SDK v2.0 is not installed. The task is looking for "LC.exe" in the "bin" subdirectory beneath the location spe...

How can I make Visual Studio's build be very verbose?

I need to get a hold of every flag, every switch used in the build process by the Visual Studio binaries. I tried to obtain a verbose output by using vcbuild, but I wasn't able. What do I have to do to see everything performed by Visual Studio for me? It's not necessary to obtain the output in the build window. Anywhere would be fine. ...

How to unconditionally copy headers in Xcode?

I have set a header file's role in Xcode to private so that it will get copied to the desired location by the Copy Headers build phase. It works as expected if there is not already a header file of that name in the target location. But if there is an existing file, it does not overwrite it. Even if the header file has changed in the proj...

Re-execute target when specified as dependency to multiple rules

I have the following GNU makefile: .PHONY a b c d a: b c b: d c: d d: echo HI I would like the target 'd' to be run twice -- since it is specified as a dependency by both b & c. Unfortunately, the target 'd' will be executed only once. The output of running make will simply be 'HI', instead of 'HI HI'. How can I fix this? Th...

Multiple rules specify the same phony dependent, dependent only executes once

I have a question regarding the GNU makefile example below: .PHONY: $(subdirs) build x y subdirs = a b c build: x y x: target=prepare x: $(subdirs) y: target=build y: $(subdirs) $(subdirs): $(make) -f $@/makefile $(target) When I run make, I expect make to be called for each sub-directory specifying the target 'prepare' then...

Executing scripts from a database project in visual studio

I am trying to add some stored procedure to a build process in visual studio (using MSBuild). I have a database project (*.dbp) added to my solution, however unlike some of the other database projects available in VS i cannot build or run it. ( I believe this is the project file i want as I am using SQL2000) How can i get the SQL scr...

Calling an excel macro from build script

I am looking to call an excel Macro as part of a build script. I was trying to use powershell to call into excel. I was using the following article as a reference: http://www.microsoft.com/technet/scriptcenter/resources/qanda/sept06/hey0908.mspx This approach did not work due to the fact that there seems to be a bug that only allows ...

Adding an assembly reference to a script task in NAnt

I'm struggling to get NAnt's script task to pick up a reference to a DLL outside the working folder. <target name="UpdateDBs"> <script language="c#"> <references failonempty="true"> <lib> <include name="\\srv-dev\sharedassemblies\OurCompany\DataTransfer\OurCompany.DataTransfer.dll" /> </lib> </references> ...

How can I validate all the code enclosed between the <% and %> brackets of aspx files at build time?

I'm starting to use Asp.net MVC. It is recommended to use the <% and %> tags to embed the source code in the HTML, since it's easier to read. Unfortunately though Visual Studio can't detect any errors in the code at compile time. This is a very bad thing. For example: <body> <form action="LogOn.aspx"> <div> <d...

Win32 paths as targets/dependencies

Is it possible to have a GNU makefile with a target/dependent containing a win32 path name? I'm currently using the win32 3.81 version of GNU make, and it seems to have difficulties with drive letters. For example: C:\MyTarget.obj : c:\MySource.cpp cl /c C:\MySource.cpp The above makefile snippet will generate errors. In partic...

perfect makefile

I'd like to use make to get a modular build in combination with Continuous Integration, automatic unit testing and multi-platform builds Similar setups are common in Java and .NET, but I'm having a hard time putting this together for make and C/C++. Any thoughts? My requirements: fast build; non recursive make (stackoverflow what i...

Renaming files during ANT copy

I'd like to copy a directory of files, and rename some of them in the process. When I run the script below, nothing copies. If I comment the glob mappers in the file below, the files are copied (without the renaming) Thanks for any help. James <?xml version="1.0" ?> <project name="Create project structure" default="main"> <target nam...

Is there a way to make the Maven build independent of the network connection?

I'm working in a Continuous Integration environment and part of the automated build process includes the compilation of Maven managed projects. What I want to know is if there is a way to make the Maven build independent of the network connection. Currently we have the all the jar's that we need installed in the repository but the pro...