build

Embedding SpiderMonkey in a portable C app.

Hi folks, I'd like to embed Mozilla's SpiderMonkey in one of my C apps. On linux, I don't think it'll be a problem (I'm a linux user) but I must confess that I'm afraid that I have no clue on how to do it on windows using MINGW (I want the app to be portable) Is it possible to, say, just use the dll that comes with firefox? (I, honnest...

Differences between build and make?

Recently, I downloaded a copy of mysql source code from their source tree. but i am not sure how can i compile the code. i do not quite understand the different processes involved in c++ software building. after i have built the code, how can i install it? or do i need to make? or how do i even know if the 'build' is successful, it print...

Using Ant date properties?

I am using Ant to build a fileset. I only want to include files in the file set that have been modified after a specific date. (See below) Ideally I would like the below datetime value to be some sort of property that is equal to the create date of the build file. E.g. I only want files included in the fileset that where modified after ...

What is the difference between compiling and building in Delphi?

With Delphi-6 there are two options: Build and Compile. I know when I run a program it compiles only the files which have changed and uses the DCUs for those which haven't. When I click build apparently it rebuilds the DCUs. What I have been wondering is, when I make a program for release (changing build settings, conditional variable...

How to specify multiple source folders in build.properties when using ant to build Android projects?

Apparently, I can specify source folders using the source.dir property in build.properties - but what if I want to specify multiple source folders ? The comments below are from the build.xml file generated by the Android SDK tools: <!-- The build.properties file can be created by you and is never touched by the 'android' tool. Thi...

Create and deploy environment-specific war builds for Tomcat during same build

I want to be able to build a war file and deploy it in multiple environments. I know I can create an ant task to get the environment and either include the files in the war, or replace the tokens as necessary. However, this would lead to as many different war files as environments (dev, QA, DR, prod, etc...). It seems that this would ...

xcode duplicates build source files process

I am using the cocos2d library. when xcode builds, it builds twice as many source files as it needs to, i.e. 162 instead of the 81 that come with the cocos2d library. this only happens when i build in release mode on the device, i.e. not device / debug nor simulator release / debug. I have tried clean all targets to no avail. I am us...

Subversion current revision number in a file

Hi, I am hosting a project on Google Code, using Subversion. I would like to tag builds with the revision number. One possibility I have researched is to use svn:keywords to substitute the revision number into some file. This isn't exactly what I want, because it will only tell when that particular file was last changed. Another optio...

Latex, TikZ and separate compilation of chapters and figures.

I have fairly large Latex document with a lot of TikZ figures inside. I have a habit of frequent recompilation and it takes forever to compile it using pdflatex. Figures in TikZ take most of the time. My question is what is the best way to split the document into separate tex files (figures/chapters) to achieve separate compilation of ...

Can assembly version been automatically updated with each TFS 2010 Build?

Hi, I'm using Visual Studio 2010 and TFS 2010. Is there a way that dll version be automatically incremented with each TFS build? Thanks ...

iPhone Xcode RELEASE configuration build error - yet DEBUG works OK

Hi, I am a fairly new iPhone developer. I have four apps in final testing stages and working to get them signed and ready for the app store. I duplicated the RELEASE configuration, and when I try to build using it I get this error: Precompile myappname_Prefix.pch<br> Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4...

Adding OAuth to Xcode project causes Xcode to not find Foundation headers (copious errors ensue)

I am using this OAuth lib: http://github.com/jdg/oauthconsumer When adding it to my project, it causes over 2000 build errors. These errors are all under the App_Preficx.pch file in the Build Results window. If you actually click on the errors, they are actually contained in every Foundation Header. I won't list them all, but here ar...

android - platform incompatible and package incompatible error when installing application on phone

i have made an android application for "Project Build Target" as Target name:: "Android 2.2" Vendor :: "Android Open Source Project" Platform :: "2.2" API Level :: "8" I am using Eclipse helios and android sdk r_06. But the phone where i am want to run my application has platform 1.6 how do make this application run on that phon...

How to improve our build and deployment process?

Hello all! Our build/deploy process is very tedious, sufficiently manual and error-prone. Could you give proposals for improvement? So let me describe our deployment strategy and build process. We are developing system called Application Server (AS for short). It is essentially servlet-based web application hosted on JBoss Web server. ...

How do you inject build-specific configuration into an APK?

I have an Android app which I distribute to several different market providers; the app is functionally the same for each, but requires certain distinct configuration parameters. Ideally I would like to produce all the individual APKs in one build step. Is there an "official" way to achieve this? I am considering an approach in which ...

Xcode (iPhone) build warnings

I just installed Xcode 3.2.3. I have a first generation iPhone that I use for testing purposes. It has 3.1.3 installed on the iPhone. On the build droplist near the upper left, there don't seem to be as many choices as there were on the older version i.e. base SDK to build against. Now there is only Device/Simulator, Debug/Release as...

Win Service project won't Build after switching to Any CPU config.

I'm trying to find a fix for my problem. After changing my .net 4.0 C# Win Service project to Any CPU/Release build configuration, I am getting this compile time error: Cannot specify /main if building a module or library It identifies the offending file as "CSC" and the project generating it is my Service project (not my accompanying ...

gcc-4.2 failed with exit code 1 in Xcode

I'm working with Xcode 3.2.3 and iOS 4.0.1 and I have downloaded an open source iPhone game to learn from but without editing anything I tried to run it in the simulator and it throws this error message: ProcessPCH /var/folders/-r/-r6hd0CEEASnoGYBU9KSlk+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/catchcat_Prefix-crjs...

Release Mode vs Debug = "false"

I'm trying to find a definite explanation of what effect compiling in release mode has on a .Net 3.5 web application versus debug="false". So far it looks like setting debug="false" has the same effect and compiling in release mode has been depreciated but I can't find any firm evidence this is the case. This question looked promising b...

Speedup GNU make build process - Parallelism?

I build a huge project frequently and this takes long time (more than one hour) to finish even after configuring pre-compiled headers. Are their any guidelines or tricks to allow make work in parallel (e.g. starting gcc in background, ...etc) to allow for faster builds? Note: Sources and binaries are too large in size to be placed in a ...