Alon Bar-Lev has uploaded a new change for review. Change subject: build: use own temp directory and preferences for gwt ......................................................................
build: use own temp directory and preferences for gwt during build, gwt generates a lots of files into temp directory which not always cleaned up. best to generate these at own project directory so once project is cleaned up these will also be cleaned up. to avoid conflicts with other running instances, set java preferences location to be in temp directory as well. Change-Id: If2551534ccf0c181fdd755c64e11328ad24b47b2 Signed-off-by: Alon Bar-Lev <[email protected]> --- M frontend/webadmin/modules/pom.xml 1 file changed, 6 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/65/20665/1 diff --git a/frontend/webadmin/modules/pom.xml b/frontend/webadmin/modules/pom.xml index 65fa8f1..c6f5b06 100644 --- a/frontend/webadmin/modules/pom.xml +++ b/frontend/webadmin/modules/pom.xml @@ -43,7 +43,12 @@ <!-- Regular expression that matches types that GWT compiler shouldn't prune (avoid dead code optimization) --> <gwt.dontPrune>-Dgwt.dontPrune=org\.ovirt\.engine\.core\.(common|compat)\..*</gwt.dontPrune> <!-- This can be overridden by setting this property in your personal settings.xml --> - <gwt-plugin.extraJvmArgs>-Xms1024M -Xmx2048M -XX:PermSize=256M -XX:MaxPermSize=512M</gwt-plugin.extraJvmArgs> + <gwt-plugin.extraJvmArgs> + -Xms1024M -Xmx2048M -XX:PermSize=256M -XX:MaxPermSize=512M \ + -Djava.io.tmpdir="${project.build.directory}/tmp" \ + -Djava.util.prefs.systemRoot="${project.build.directory}/tmp/.java" \ + -Djava.util.prefs.userRoot="${project.build.directory}/tmp/.java" + </gwt-plugin.extraJvmArgs> <!-- Control target browsers for GWT compilation, maps to 'user.agent' deferred binding property in *.gwt.xml --> <!-- By default, all modern browsers are supported, see [gwt-user.jar:com/google/gwt/user/UserAgent.gwt.xml] for a complete list --> <gwt.userAgent>ie8,ie9,gecko1_8,safari,opera</gwt.userAgent> -- To view, visit http://gerrit.ovirt.org/20665 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If2551534ccf0c181fdd755c64e11328ad24b47b2 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.3 Gerrit-Owner: Alon Bar-Lev <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
