build

How to use property Array in ant Task?

I have created an Ant task, wherein i would like to have an property array? First of all, is it possible? Does ant allows us to have a property array? public class MyTask extends Task { private String tokens[] = null; public void setTokens(String[] _tokens) { //... } public void execute() { // iterator over ...

Managing COM type library as a dependency.

We have a win32 unmanaged application that has an API we distribute as a type library. Several other applications we build depend on the TLB from the legacy application being registered to build. Each product is still under active development, including the items exposed/accessible to the type library. While trying to find the best ...

Is anyone using Maven/NAR for any large scale C/C++ projects?

And, what has your experience been? Do you think that Maven has been well suited to your project, and how would you advise others on following your path? Thanks in advance! ...

Unable to copy file "obj\Debug\project.dll" to "bin\project.dll". Access to the path 'bin\project.dll' is denied.

i am having this error when trying to build a solution in visual studio 2008. What does that mean? ...

compile time high in weblogic 10.0 and frequent compilation happens

our application takes around 2.5 hrs to clean build through IDE, but once clean build it will take only 5 to 10 mins for all small change compilations, but in my system, sometimes build happens for longer time again and again, and even if the code is fully built, if i exit and restart the workshop with build automatically enabled, it wi...

Xcode Crash while "build and archive"

Hello i have snow leopard 10.6.3 installed via iAtkos..everything runs good even XCode as well.I can successfully build iPhone apps run them on the simulator and the device but when i use the "build and archive" option( for adhoc distribution or itunes connect ) XCode simply crashes..does anybody have a solution for this? thanks in advan...

How do I make a (minimal) runnable jar file from a scala eclipse project

I have made a runnable jar using this process: http://garyboone.com/2009/06/creating-single-file-runnable-jars-in-scala-and-eclipse/?wscr=1366x768 editing the ant build.xml to include scala-library.jar (5.9 MB) Isn't i possible somehow to get eclipse to extract the needed parts of scala-library.jar? So I can get a smaller, less bloated ...

Crossplatform building Boost with SCons

I tried hard but couldn't find an example of using SCons (or any build system for that matter) to build on both gcc and mvc++ with boost libraries. Currently my SConstruct looks like env = Environment() env.Object(Glob('*.cpp')) env.Program(target='test', source=Glob('*.o'), LIBS=['boost_filesystem-mt', 'boost_system-mt', 'boost_progr...

Create a hadoop jar with external dependencies using Gradle

How do I create a hadoop jar that includes all dependencies in the lib folder using Gradle? Basically, similar to what fatjar does. ...

GCC virtual memory exhausted: Permission denied

I'm trying to compile a particular .cpp file in a large project, and I'm getting the following error from GCC: virtual memory exhausted: Permission denied The file in question is ~25k in size, and less than 600 lines of C++ code. I understand what it means to run out of virtual memory, but I'm not sure what the "Permission denie...

How to build/test Scala without IDE dependence?

I'm well into learning Scala now and enjoying it very much; I hope to start future projects in it, rather than Java. What I'm enjoying less is the (relatively) poor IDE support. I've found both IDEA and Eclipse with the Scala Plugin (including nightly builds) to be a bit unreliable or difficult to use - I want something I can always de...

Upgrading xcode loses simulator option

Due to other issues I was having in my project I decided to upgrade my xcode to XCode 3.2.4 iOS SDK 4.1. Now I no longer have the option to pick simulator but instead when I choose 'Device' it deploys to the Simulator!!! Under 'Project Settings I can select 'Base SDK' as either device or simulator. I tried uninstalling XCode full and r...

How to get Ant to copy properties file to classes directory.

I have a project which I can build and deploy correctly using Ant I want to build a war file to deploy the project. I can get everything working except I cannot get the properties file to appear in the classes directory. My properties file is located here: ${resources_dir}/${app}/Report.properties This is the war section of my buil...

How do I specify checkstyle version when using gradle 0.9-rc-1 code-quality plugin?

I've been using maven2 for a while now, and I'm trying out gradle build tool at the moment. One of the things I would like to do is to run checkstyle, but my current project is using checkstyle 4.4 with rules that don't seem to be compatible with the latest version of checkstyle which gradle code-quality plugin is using. Sure, I can and...

Building Flex Builder projects from commandline

I have several Flex Builder projects which depend on each other (both libraries and "applications", i.e. projects which generate an SWF), and want to compile them from commandline. I know there is the fb.exportReleaseBuild ant-Task, but unfortunately it doesn't work on Linux and only comes with Flex Builder. Is there any other way to bu...

Dojo Build with NLS - requireLocalization(..) fail?

My question, while at first somewhat similar to this one, seems to be a more basic question - and might be signaling a bug in the build system. I've created a custom build for my dojo application. I only build one layer right now, here's what the profile script/object looks like: dependencies = { stripConsole: "all", action: "...

Using ant to edit/append data to a text file

I am trying to add a property to a .jad file in my ant build process. Is there a task in ant to do this? All I need to do is add a line of text to the end of a text file but I cannot find a task to do this. ...

Eclipse PDE Build: how to organize plugins and features with the "fetch" step skipped?

Hello, I'm building my Eclipse plugin by means of Eclipse PDE build, i e I've defined all the required targets in "custom.xml" But I do not want to fetch my plugins from a repository, so I'm skipping this step. However, all plugins have to be located under plugins directory, and all the features have to be located under features folder...

Overriding a default option(...) value in CMake from a parent CMakeLists.txt

I am trying to include several third-party libraries in my source tree with minimal changes to their build system for ease of upgrading. They all use CMake, as do I, so in my own CMakeLists.txt I can use add_subdirectory(extern/foo) for libfoo. But the foo CMakeLists.txt compiles a test harness, builds documentation, a shared library wh...

Missing msvcr100.dll

I made a program in Visual Studio 2010 on Windows 7 64-bit. When I try to run it on Windows XP 32-bit I got message that msvcr100.dll is missing. When I try to copy that file from Win7 to WInXP I got message that msvcr100.dll is wrong. How to set biulding in VS so msvcr100.dll would not be necessary? ...