Mercurial > hg > truffle
changeset 3140:8b46295cd398
IdealGraphVisualizer: when packaging a build, drop memory presets (-Xms, -Xmx) from default_options and let the executing VM choose reasonable defaults
author | Peter Hofer <peter.hofer@jku.at> |
---|---|
date | Mon, 04 Jul 2011 12:29:28 +0200 |
parents | c16d0e36a577 |
children | 2b0039543e31 |
files | src/share/tools/IdealGraphVisualizer/build.xml |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/tools/IdealGraphVisualizer/build.xml Mon Jul 04 12:05:23 2011 +0200 +++ b/src/share/tools/IdealGraphVisualizer/build.xml Mon Jul 04 12:29:28 2011 +0200 @@ -5,4 +5,9 @@ <project name="IdealGraphVisualizer" basedir="."> <description>Builds the module suite IdealGraphVisualizer.</description> <import file="nbproject/build-impl.xml"/> + + <target name="build-launchers" depends="suite.build-launchers"> + <!-- Drop memory presets (-Xms, -Xmx) from default_options of packaged builds and let the executing VM choose reasonable defaults --> + <replaceregexp file="${build.launcher.dir}/etc/${app.name}.conf" byline="true" match="^default_options=.*" replace='default_options="--branding idealgraphvisualizer"' /> + </target> </project>