Mercurial > hg > graal-compiler
diff src/share/tools/IdealGraphVisualizer/build.xml @ 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 | 30369db7f5d2 |
children | 2b0039543e31 |
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>