build

What's the difference between a regular Android APK and one included as part of a device's system image ?

We have a manufacturer that wants to pre-install our application on their Android device. We sent them the APK and even though it installs fine when used by a user, it appears to not get installed correctly when included in the manufacturer's build image. FYI, our application uses the JNI layer and some libraries built with NDK. The exce...

Get the changeset number of a triggered build in TFS 2010

Hello, can someone please tell me how I can get the changeset number, the current build of TFS 2010 was triggered for? I want to extend the build worklfow if the build was triggered by a checkin and want to do some more processing for which I need the changesetnumber of the changeset that was created by the checkin. Any ideas? Thx! ...

AntHill? How to add a project to the hill?

Anybody use AntHillPro for auto builds? If so, I'm curious how you add a .NET solution/ project to the hill (to be compiled along with everything else, etc.) This is one of those "had to be done yesterday" things but no one on my team understands how to do this (I'd expect it to be the most basic question anyone would ask when you use...

How do you handle multiple jar versions with lots of FOSS/COTS?

We have a Java product that uses a lot of FOSS/COTS software. A number of our "externals" use the same jar product, but a different version. For example, Ant 1.6.5 and Ant 1.7.0; or multiple versions of xerces. What's I'm concerned about is that the behavior of our application may change or worse, epic fail if we change the order in whic...

How do you build one piece of the Android platform?

I want to enhance Android app and I've cloned its source from android.git.kernel.org. During compile I find dependencies on platform components external to the tree, for example com.google.android.collect.* It turns out that most of these are resolved in platform/frameworks/base.git. Which raises several questions: is grabbing a pi...

Is there a tool pretty much like cmake for Java?

Hi there The best building tool for Java I know so far seems to be maven, but it still doesn't give so much flexibility as cmake at all! Anyone knows a cmake-alike tool for java? ...

How to programmatically read the date when my Android apk was built?

Is it possible to programmatially read the date when my Android apk was built? I could not find anything in the PackageInfo class. I want to expire beta versions of my app and the easiest way would be to read out such a date and expire it after a fix preiode of days, so I don't have to update the code for that eavery time I build and de...

eclipse cdt relative include path?

Hey all. I've downloaded and moved the Xerces (v3.1.1) source here: /usr/include/xerces and I can see the source in the project explorer like this: MyCppProject Binaries Includes [...] // some other directories xerces dom [...] // some other directories And, here's my simple C++ code: #include <xercesc/util/PlatformUtils...

Can I directly access MySQL from iPhone using MYSQL API ?

I have developed an iPhone application which needs to access MySQL database on the server. It builds very well on 'iPhone simulator',but when I want to build 'Device' version, it fails with error messages bolow: ld: warning: in /usr/local/mysql/lib/libmysqlclient.dylib, file was built for i386 which is not the architecture being linked ...

Jetty ant task hangs in build

I have a problem when I run Jetty task with my war file. Here is my output: [jetty] Configuring Jetty for project: Guardian [jetty] 2010-08-23 18:53:09.062:INFO::Logging to STDERR via org.mortbay.log.StdErrLog [jetty] [jetty] Configuring Jetty for web application: project [jetty] Webapp source directory = C:\Projects\GUARDIAN\build\d...

How to avoid CopyTask and MoveTask phing build exception on not existing file

I'm creating build file for phing. The problem is that it must move a file which may not exist. If it doesn't I get BuildException "Could not find file ... to copy". In the Ant there was a property failonerror which ignored the errors of move and copy tasks, but there is no similar property for phing move and copy tasks. Move phing cod...

Frustrating iPhone Build Error

Hello, I've been fighting this for a few hours now and I'm getting fed up. My project builds fine with a debug simulator build , release simulator build and a debug device build, but for some reason it won't build with a release device build. I have a static library containing my cocos2d code, and another static library containing a g...

Batch Build VS2008 Solution

I have a solution with 4 projects inside. What I want to be able to do is to change the order of the batch build (right-click solution Batch Build...). I have configured the Build Order, but this seems to make no difference. Currently, it seems to just list them in the order they appear in the solution explorer, but they have dependen...

Build errors in VS2010 when a markup file is open

Our solution has several projects(like over 100), most of which work fine. However anytime a markup file from the "main" project(which the rest of them build into) is open and we attempt to build or debug we get the following: Error 18 Value of type 'System.Collections.Generic.List(Of IInterface)' cannot be converted to 'Syste...

iPhone OpenCv build issues

I'm trying to build open_cv on the iphone. I'm a pre-compiled version of it from http://github.com/niw/iphone_opencv_test and am seeing the following build errors... "_cvCvtColor", referenced from: +[PFFaceDetection CreateIplImageFromUIImage:] in PFFaceDetection.o "_OBJC_CLASS_$_PFImageEffects", referenced from: ob...

Breaking the build for a couple days

I recently sent an email to my colleagues explaining that I need to make some changes in our shared ClearCase view which will mean that our project will be in a non-compilable state for a day or two. One guy is complaining about this. What can I do to prevent his complaining? ...

Has anyone used MikeCI or Cloudbees for their Continuous Integration

Has anyone used MikeCI or Cloudbees for their continuous integration usage? Has anyone explored the use of SaaS for build automation including guys like codesion with hosted version control for example? ...

What's exactly happening when I press F11 in NetBeans?

The NetBeans command to run an Ant build for a project is F11. I always believed that the target that it executes is named "default". I overrode the default target to do nothing other than simply flag that it ran. When I manually run the target from Ant, or by selecting the particular default target in Netbeans, I get the expected "flagg...

Make can't do this harmless command

I am using make on linux. I downloaded the GCC source code from svn checkout svn://gcc.gnu.org/svn/gcc/trunk and I got gcc version 4.6.0. I then typed in: ./configure --build=x86_64-fedora-linux-gnu --target=arm-apple-darwin --with-ecj-jar I'm running fedora 12 linux. I typed in --build because otherwise it configures it under x86_64-unk...

C++ Single Header File Structure

I want to speed up the build time of my c++ project, and I am wondering if my current structure may cause unnecessary recompilations. I have *.cc and corresponding *.h files, but all my *.cc files include a single header file which is main.h. In main.h, I include everything necessary and extern global variables and declare the function...