build

Linux program in FreeBSD

...

MS Build Script accepting a list or collection of project names to build and deploy

I want to create a MS Build script (executed by way of TFS Build Server) that will accept a list of project names that need to be built, unit tested and deployed. The reason is that I want one script to serve many 'like' structured solutions. All the solutions are SOA in nature and share the same framework, project structure and deploym...

How to build custom sqlite with provider under Android?

Hi, I have a really strange problem. I need to build custom sqlite3 database engine under Android OS, but I also want to use database provider implementation. Unfortunately when examining sources of Android 1.6 I noticed that it's not so easy. Many classes including android.database.; packages use original provider, also many other pa...

More inside an IDE(eclipse cdt)

This is what I see in the Console when I clicked Project->Clean menu: g++ -O0 -g3 -Wall -c -fmessage-length=0 -osrc\hw.o ..\src\hw.cpp g++ -ohw.exe src\hw.o But I've no idea how is these command generated? Can someone elaborate the lifecycle of the command? This is the .project file: <?xml version="1.0" encoding="UTF-8"?> <projectD...

How to make #include <mysql.h> work?

I'm building an open source project from source, and it need to include <mysql.h>: #if USE_MYSQL #include <mysql.h> #endif and the compilor reports: mysql.h no such file or directory MySQL is yet another greater open source project,what do I need to do to make it work? ...

Java: Sign a JAR automatically when building from Netbeans

Hi, I want to know if Netbeans has some option/ setting that will allow me to automatically sign a jar as part of the build. Thank you! ...

Eclipse thinks there are problems with my Android project...

I have an Android project and Eclipse is telling me my project has an error with its build path. Specifically, the problem view shows "The project cannot be built until build path errors are resolved". The entire project builds just fine, meaning there are no red X's on any of the files. I can build the project outside of Eclipse, deploy...

Creating and Compiling a C++ project on Windows

I need to work on C++ project on my windows machine. My project will consist of various classes(.h and .cpp) as well as the startup file to start the application. The preliminary design is simple but the application has the potential to gain complexity as time goes by. What I need here is ideas to set up the C++ project compiler/IDE/Make...

Very odd build problem

This one has had me stumped for over a year and seems really odd and really obscure. When I build my solution, it complains about a missing referenced DLL. When I rebuild it, the problem goes away. Whenever I do a clean this returns, i.e. have to attempt a build twice before it succeeds. This is vague, but if warranted I can give a b...

Eclipse refresh taking too long

I am doing TDD on a large Java project in eclipse and am finding it frustrating because every time I run a test I have to wait 30 seconds+ for eclipse to compile and refresh. I estimate that 80%+ of that time is spent refreshing. Is there a way I can drastically reduce the amount of refreshing it is doing? I have looked at server other...

what's an effective way to build a csproj file in code?

I'd like to avoid a command line for this. I've been using the MSBuild API ( Microsoft.Build.Framework and Microsoft.Build.BuildEngine) with code that looks like this: this.buildEngine = new Engine(); BuildPropertyGroup props = new BuildPropertyGroup(); props.SetProperty("Configuration", "Debug"); this.buildEngine.RegisterLogger(this....

makefile from Linux doesn't work in OpenSolaris

In OpenSolaris OS, when I run makefile generated by Eclipse CDT on the Linux OS, I get an error on the first -include line. The same error was in FreeBSD, and was solved by executing gmake instead of make. In OpenSolaris (just installed) gmake doesn't work (command not found). What package should I install and how exactly, to build L...

What does a typical ./configure do in linux?

Why is it necessary though everything is specified in a makefile? ...

noClassDefFoundError using Scala Plugin for Eclipse

I successfully implemented and ran several Scala tutorials in Eclipse using the Scala plugin. Then suddenly I tried to compile and run an example, and this error came up: Exception in thread "main" java.lang.NoClassDefFoundError: hello/HelloWorld Caused by: java.lang.ClassNotFoundException: hello.HelloWorld at java.net.URLClassLoader$1...

can i use multiple PCH files in 1 project?

I want to use the PCH file to speed up the build, so i store the PCH file in a separate folder and reuse it when build the project later. but I have some #import *.dll in my stdafx.h. so if something changed in the *.dll, the PCH file need be recreated. my question is whether I can use multiple PCH files in 1 project, so that i can put...

Getting environment from .profile while executing a command through ssh

Hi, I am new to the linux/unix world. I would like to trigger a make on a remote machine. For this purpose i created a little script on the remote machine which i want to execute via ssh. The script looks something like this: echo "loading .profile" . ~/.profile echo "profile loaded" echo "starting gmake" cd ~/helloWorld/ gmake all ...

Splitting build cross the network?

Is there a known solution for splitting build process cross the network machines? Use case: We are an average software development company. We own around 50 development workstations (Quad Core 2.66Ghz, 4 GB ram, 200 GB raid). No need to tell that at any single moment not every machine is loaded to the max. There are 5 to 15 projects r...

How to update maven repository in eclipse?

Assuming you're already using the m2eclipse plugin, what can you do it doesn't update the dependencies to the latest in your repo. For example, on the command line you can just add the -U flag as in: mvn clean install -U to force the dependencies to be updated. Is there something like this within eclipse since it doesn't always seem...

How good is my method of embedding version numbers into my application using Mercurial hooks?

This is not quite a specifc question, and more me like for a criticism of my current approach. I would like to include the program version number in the program I am developing. This is not a commercial product, but a research application so it is important to know which version generated the results. My method works as follows: Ther...

How to build shared library (.so file) for chm reader in Android?

Hi. In my application, I want to use chm library. Can anyone tell me How to build shared library (.so file) for chm reader in Android? And which toolchain is used. what is the steps for building it? Thanx in advance. ...