I have a method, which I wish to execute on the UI message pump and thus do the following:
private void SomeMethod() {
BeginInvoke(new MethodInvoker(MethodToInvoke));
}
private void MethodToInvoke() {
// This method contains code that I wish to execute on UI message pump.
}
Now, the above works just fine when I create a Debug build of…
I'm following a tutorial to set up a skeleton application for tomcat :
http://maestric.com/doc/java/spring/setup#build_files
But I don't understand how build.properties and build.xml actually works.
I have a big solution with more than 40 projects. Almost half of them are test projects.
In my project we use both Code Contracts, Code Analysis, Style Analysis.
I want to be able to build the projects that are not dependent in parallel on my quad core CPU.
How can I setup msbuild to build the projects in parallel?
I'd like to hard code the build date into my application (DD-mmmm-YYYY), but how do I embed this constant into the code?
I thought perhaps I could make a pre-build event that executes a *.bat file that updates a textfile which is resourced, but it sounds pretty involved. What's the best approach?
Hi volks,
I copied my sources from my lokal dev (everything works fine) to my repository and from there I did a checkout on my remote dev.
Now when I try to build everything I get this error:
devel:/var/www/myproject# ./symfony
doc:build-model
doctrine generating model classes
file+ …
Hi there, does anyone know how I can have the post build action execute without doing a build?
There are loads of xcopy commands and it would be nice to use them on their own... but you cannot put them into a separate cmd file because of all the VS macros.
thanks
Kris
How do you keep your build version number for a war file ?
in ant, in maven?
is there a way to simplify things?
also, how do you keep your change log? [ie so that version number could tell how newer version changed since the last build] ?
I have a nightly team build that is reporting errors from the test step but zero errors in the summary. This results in a partial success.
I cant see any errors in the full build log but maybe it's just the quantity of warnings??
Anyone got any ideas?
Thanks
Are there any good reasons to modify your projects build output path from its default of "bin\debug"? Is there any benefit to pointing all your projects within a solution to a common build output location?
Goal
I am trying to write a simple device driver on Ubuntu. I want to do this using Eclipse (or a better IDE that is suitable for driver programming). Here is the code:
#include <linux/module.h>
static int __init hello_world( void )
{
printk( "hello world!\n" );
return 0;
}
static void __exit…
The problem? Performing a build on a ClickOnce solution would not be successful due to the setup.bin not being located. Ok, now what? Researched from corner to corner, install, re-install, update. Found some interesting posts to fix the issue, but most of them were focused on Team Foundation…
Build means compile and link only the source files that have changed since the last build, while Rebuild means compile and link all source files regardless of whether they changed or not. Build is the normal thing to do and is faster. Sometimes the versions of project target components can get out of…
I have an application that is supposed to aid my project in terms of pre- and post-build event handling. I'm using ndesk.options for command line argument parsing. Which gave me weird results when my project path contains spaces. I thought this was the fault of ndesk.options but I guess my own…
Have found one or two people on the interwebs with similar problems, but haven't seen a solution posted anywhere. I'm getting a build error from the code/template below, but can't figure out where the issue is or why it's occurring. It appears that the template isn't recognizing the function,…
I'm starting out on a new project and a team member has decided to use C# as the implementation language. I don't have a lot of experience in C#, but a brief reading shows that it's very capable of being a complete cross-platform vm. Beyond the language, I've been having trouble selecting…
I'm using the FTP Ant task with maven-antrun-plugin
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>ftp</id>
…
I'm facing this problem. So, I need to build the support libraries (zlib, libtiff, libpng, libxml2, libiconv) with "Multithreaded DLL" (/MD) & "Multithreaded DLL Debug" (/MDd) run-time options. But the problem is there is no direct way . I mean there is no *.sln / *.vcproj file which…
Relying on the preprocessor and predefined compiler macros for achieving portability seems hard to manage. What's a better way to achieve portability for a C project? I want to put environment-specific code in headers that behave the same way. Is there a way to have the build environment…
What does it mean to BUILD a solution/project/program? I want to make sure I have my definitions correct (so I don't sound like a idiot when conversing). In IDE's, you can (correct me if I'm wrong) compile source-code/programming-code into computer-readable machine code. You can debug…
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…
Question
Is there a way to notify teamcity when ever someone does a commit to a repository on visual svn? This is so every time someone commits to the repository a build in teamcity will trigger immediately without the developer having to wait for polling to kick in on its set time…
For the warehouse work under progress, we have a single solution with multiple projects in it
OLTP Database Project
Warehouse Database Project
SSIS ETL project
After the SSIS project is built, I want to move the binaries (XML, really) from the Bin folder to…
The complete requirements, pre-requisites, and steps to build
OpenJDK 7 port on Mac OSX are described
here. The steps are very clearly explained and here are the
exact ones I followed on my MacBook Pro 10.7.2:
Confirm the version of pre-installed Java as:…
At my current position, I’ve been doing quite a bit of Silverlight development and have also been working with TFS2010 build services to enable continuous integration. One of the critical pieces of a successful continuous build setup (and also one of…