build

How to add option to select list in jquery

My select list is called dropListBuilding. The folliowng code seems to not work: for (var i = 0; i < buildings.length; i++) { var val = buildings[i]; var text = buildings[i]; alert("value of builing at: " + i.toString() + " is: " + val); $("#dropListBuilding").addOption(val, text, false); } This line dies: $("#dr...

Can you prevent MSBuild.exe from running Build Events?

I'm building a number of projects via a script, and the occasional use of custom build events causes a great deal of difficulty for the build system. If it is possible, I'd like to invoke MSBuild.exe in such a was as to block the execution of any build events. In the long run, this is not an issue for build automation - submitters of p...

error: ISO C++ forbids declaration of ‘iterator’ with no type

Hi, I am trying to build/run an old C++ system. I've already been able to built it in Ubuntu 9.10 with g++4.4 Now I'm trying to build in Ubuntu 8.04 with g++4.2. And I am getting the following errors: stringmap.h:353: erro: ISO C++ forbids declaration of ‘iterator’ with no type stringmap.h:353: erro: extra qualification ‘stringmap<_Tp>...

VB.NET app works in IDE but throws an error when compiled and run on another machine

I have created an application using VB.NET in VS2008. When I run the app in the IDE on my development machine it works fine. It also works fine when I build it and run it as an exe on any machine that also has Visual Studio installed (at least 2005 and 2008 anyway) However, when I try to run the compiled executable on any machine with...

OS X Services Bundle

I'm trying to build a standalone service for Snow Leopard. It builds just fine, it shows up in the services menu, but when I try to run it, the executable is not recognized (it reports a Bash error 126 in the Console). I built it out of a Cocoa bundle template. Is there something special in building bundles that I may have missed and ne...

Why does Delphi 2009 sometimes (more often that not) insist I build?

I have noticed that with Delphi 2009, I often get strange errors when compiling, such as recursive unit use, and sometimes just (seemingly) random errors which point to white space at the end of a unit. These are not really errors, because a full build will fix any of the problems, and I can carry on. I suspect that generics have someth...

Getting started with autotools

Anyone recommend how a person could get started with autotools in building a C project? ...

Shark was unable to find symbol information for this address range - iPhone

I'm trying to use Shark to determine which method(s) are taking the most time in my iPhone app. After sampling, I get this: Clicking the "!" button yields: Shark was unable to find symbol information for this address range. Typically this happens because the application was compiled without symbols or they have been subsequ...

buildforge problem

when i tried to run the job i am getting the error saying that No server could be found matching all conditions please any one help me on this ...

What components in FAST ESP can be versioned for builds and deployment?

I needed to understand what are the FAST ESP components that can be versioned in source control? Are there any best practices to follow for the same so that can be used for regular builds and deployment? ...

Elegant way building url request with parameters

There must me a more elegant way to build a URL with parameters in .NET then for example Response.Write("<a href=HeadOfMarketView.aspx"+Session["HOM"] != null ? Session["HOM"]+">Head of Market</a> / ") I mean the concatenation of strings is a litte bit old school, no? ...

In VB6 is linking to a tlb generated from an ocx the same as linking to an ocx directly

The reason I am asking is I have an ocx that I don't want to register on the build machine but I would still like to build against it. If the tlb route is not the right direction any hints on how to accomplish this would be appreciated. Thanks ...

Can .local files be used during VB6 compile to avoid registering COM ocx and dll files

In an attempt to keep my build machine clean can .local files be used during the compile of an application or is there a better way to keep the bloat off the machine. ...

If I registered a TLB do I still need to register the ocx in order to compile?

I am trying to compile a vb6 application and I can't register the ocx files. In order to attempt to compile I have replaced the Object= lines in the .vbp file with Reference= lines to the TLB instead of the OCX. Now when I compile I get the following type of errors. Line 125: Class KimgpLib.KImgp of control KImgp1 was not a loaded cont...

Using an external tool for C# builds in Visual Studio

When using Visual Stdio 2008, you can make a C++ project build with an internal tool rather than having the IDE invoke MSVC directly. This improves the consistency of builds across platforms if a cross-platform build system is used. However, I cannot figure out how to do the same as a C# project. It would be possible to simply register ...

Visual Studio 2005 build problem

Cheers, I have Microsoft VS 2005 installed (full version). And when I'm trying to build or debug my solution (with 10 projects) a windows installer window opens and says: The feature you are trying to use is on cd-rom or other removable.... So I then put my VS2005 CD and VS does his thing and than my build and debug processes are work...

Xcode file system

I am using Xcode as part of my build for OS X, but since it is not the only IDE used, files may be added from the file system directly. As far as I can tell, there are two ways of adding folders: Folder reference picks up all the changes on the file system but does not register any of the files as sources. Recursive copy allows for th...

SVN Externals in a different SCM

At a previous workplace we used svn externals to update dependent projects when a shared component was updated. This made it easy to see anything that those changes broke, as well as update dependent projects to the latest version of a shared component automatically without any intervention. At a new workplace we are using cc.net with s...

How to open and run a specific script from the command line in eclipse

I am trying to run an automated suite every day at the same time, so I want to create a task to open eclipse and execute the main script every day. Is there a way to do this from the command line? ...

How do I specify the files to include in a WAR file?

I need to create a WAR file that just contains static content files (gifs, jpgs, html, js, etc). I have a directory structure that contains all the files and need to create the WAR file via an ANT (1.5.1) build task. Right now I just have this in the ANT task: <war destfile="${output.file}" webxml="WEB-INF/web.xml" basedir="${basedir}">...