Set localWorkersto 1(or maybe even better: your number of cores minus 1).
We use maven and in the default profile we create a module FastCompiledGuvnor, and in the full profile we make a real module Guvnor:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>2.1.0-1</version>
<configuration>
<module>org.drools.guvnor.FastCompiledGuvnor</module>
<draftCompile>true</draftCompile>
<runTarget>org.drools.guvnor.Guvnor/Guvnor.html</runTarget>
<compileSourcesArtifacts>
<compileSourcesArtifact>org.drools:drools-factconstraint</compileSourcesArtifact>
<compileSourcesArtifact>org.drools:drools-ide-common</compileSourcesArtifact>
</compileSourcesArtifacts>
<gwtSdkFirstInClasspath>true</gwtSdkFirstInClasspath>
<localWorkers>2</localWorkers>
<extraJvmArgs>-Xmx512m</extraJvmArgs>
</configuration>
...
</plugin>
... profile ...
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<configuration>
<module>org.drools.guvnor.Guvnor</module>
<draftCompile>false</draftCompile>
</configuration>
</plugin>
source
share