parallel-builds

issue with using MSBUILD with maxcpucount option

I am using MsBuild on a 4 core machine. I am giving the following command line to build 4 projects belonging to a big VC++ solution ( having more than 4 projects ALL with no mutual dependencies ). I am using Visual Studio 2008. To speed up the build time I am trying to take advantage of the maxcpucount options but it seems not working....

Using multiple cores/processors when compiling Java

I use a desktop with eight cores to build a Java application using Ant (through a javac target). Is there a way to speed up the compilation by using more than one thread or process? I know I can run several Ant tasks in parallel, but I don't think this can be applied to a single compilation target, or does it? ...