build

eclipse serveral ant build file

Hi, currently I'm developing in eclipse 3.5 in different project web applications for tomcat 6.0.24. For each of this project I have written a ant build file to generate the war file to deploy the project to the tomcat container. So I have to run for each project the ant build file (a lot of clicks, and a waste of time). Question: Is...

Why does PowerShell fail to build my .net solutions? ("file is being used by another process")

I've written a PowerShell script to build several .net solutions one after the other. It simply makes several calls to tfget (to get latest) followed by devenv.exe (to build the .sln files). Here's the code: tfget -item $SolutionPath -overwrite -recurse -ev +errors ... $out = invoke-expression "devenv.com /rebuild debug $SolutionPath" ...

Build Systems for PHP Web Apps

I want to start automating more of my web development process so I'm looking for a build system. I write mostly PHP apps on Mac OS X and deploy Linux servers over FTP. A lot of my clients have basic hosting providers so shell access to their servers is typically not available, however remote MySQL access is usually present. Here is what ...

Ant: project dependencies in a flat project layout with ivy

Hello, I have two (Eclipse-) projects. Project A depends on project B, but the projects aren't nested i.e. project A is not a subproject of project B. Apache Ivy is responsible for the dependency management. When I run the compile task in Project A, is there any way to trigger the compile task (in project B) automatically (for example ...

Maven + SSDM Build and Runtime Environment Automation

Preface: My Company, like most, has several run-time environments and several release versions which themselves are composed of different versions of various jars. For example, let us consider release versions 1.1, 1.2, and 1.3 of Software X, which may be deployed to a developer computer, testing, or production. Software-x-1.1 is it...

Convert Android project to 'regular' Java project inside Eclipse ?

Ive inherited some code which started out as an Android project but really is just an API to be used by other applications. Hence, the 'build' process usually just produces a JAR file. The problem Im having is that I get errors from the Android build tools in my console which seem to fire everytime I make a change to some files. How do I...

Help -- trying to build Apache ODE source code with Buildr

Hi, i am trying to build APACHE ODE source code with Buildr using Ruby. I installed ruby and installed Buildr with it, but when i run the command rake package on the root of APACHE ODE source code it gives me this error C:\workspace2\APACHE_ODE_1.X>rake package --trace (in C:/workspace2/APACHE_ODE_1.X) rake aborted! uninitialized consta...

Having problems building Cairo on x64 CentOS

I've done this many times on 32 bit CentOS and everything went ok without a hitch. But now, on x64 CentOS, I can't get cairo to find pixman. Pixman 0.18.0 is installed in /usr/local/lib (which I believe is the usual location). Configure for Cairo 1.8.10 can't find it: checking for cairo's image surface backend feature... checking for ...

How does one build Mono with only the ECMA covered parts?

I'm trying to figure out how to build Mono without the patented, non ECMA components, such as Winforms. Miguel de Icaza said that Mono would be split in two, so that we could build only the parts under Microsoft's Community Promise. It doesn't seem like this has happened yet. Is there any way to do this yet? ...

What default targets do you have in your typical ant buildfile?

Do you have some predefined set of targets which all build.xml files you create contain? For example, a lot of ant manuals suggest the following list of targets: init clean compile build jar test javadoc dist deploy webapp What is the most large build file you met in your life? How many targets did it have and what are they? How ofte...

I have DevExpress 9.1 source code, and I want to debug in it, how to do it ?

Hi everryone, It took me two days to try to build the DevExpress source code to make debugging. But can not do it, anyone know how to debug the DLL which is not? MQ ...

How to do clean and build in eclipse using Ant.

Hi Is it possible to do clean and build a project using ant in eclipse ...

Building external code trees with SCons

Hello, I'm trying to use SCons for building a piece of software that depends on a library that is available in sources that are installed in system. For example in /usr/share/somewhere/src. *.cpp in that directory should be built into static library and linked with my own code. Library sources have no SConscript among them. Since libra...

How to not increment the build.number in Ant?

I have many targets in my build.xml for Ant. Generally I am running two via a shell script, one to construct the application and one for cleaning up. The shell script checks the exit status of the construction to see if it should clean up or leave the clutter behind so I can determine what went wrong and fix it. So went all is going w...

How to assemble a multi-project ant build system

At my new gig, they use Ant and cannot be persuaded to move to Maven. I've looked everywhere for a decent example of how a multi-project ant build system should be assembled. The apache site falls short. I'm looking specifically for best practices to: Automatically build local projects that are dependencies of a project Share artifac...

Building an AIR application with ANT

I keep getting "Java Heap Space" error. What is the JVM Memory requirements to build AIR apps with ant? ...

precompiled header .pch files are machine sensitive?

Hi, experts, I tried to reuse the .pch to speed the build using the following way: use /Yc on stdafx.cpp to create the .pch files to a folder exclude stdafx.cpp in the project, and modify the link option It success in my machine, but failed in another, got the error message: error C2011: '*' : 'struct' type redefinition So first I ...

Ant build classpath jar generates "error in opening zip file"

Hey folks, I have a project built in eclipse with a dependencies on 3rd party jars. I'm trying to generate a suitable build file for ant - using eclipses built-in export->ant buildfile feature as a starting block. When I run the build target I get the following error: [javac] error: error reading /base/repo/FabTrace/lib/apache/geronim...

ojspc always returns 0 on errors

In my Ant build.xml file, I am trying to compile JSPs using ojspc. The files are being compiled, however, the build process is still running to completion when the JSP compilation has errors. This is part of my build.xml: <java fork="true" jar="${env.ORACLE_HOME}\j2ee\home\ojspc.jar" resultproperty="result"> <jvmarg value="-Djava.co...

.NET Application using a native DLL (build management)

I have a .NET app that is dependent on a native DLL. I have the .NET app set as AnyCPU. In the post-build step, I plan to copy the correct native DLL from some directory (x86 or AMD64) and place it in the target path. However, this doesn't work. On a 64-bit machine, the environment variable PROCESSOR_ARCHITECTURE is "x86" in Visual Stu...