mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
Increased the heap size of the GWT compiler to 256 MiB
svn path=/nixpkgs/trunk/; revision=18481
This commit is contained in:
parent
a270563c80
commit
f08928cfe6
@ -16,7 +16,7 @@ cat > $out/bin/gwt-compile <<EOF
|
||||
export LD_LIBRARY_PATH=$libPath
|
||||
export LIBXCB_ALLOW_SLOPPY_LOCK=1 # Workaround for bug in Java AWT implementation
|
||||
|
||||
$jdk/bin/java -Xmx128m -cp "\$CLASSPATH:$out/$name/gwt-user.jar:$out/$name/gwt-dev-linux.jar" com.google.gwt.dev.Compiler \$@
|
||||
$jdk/bin/java -Xmx256m -cp "\$CLASSPATH:$out/$name/gwt-user.jar:$out/$name/gwt-dev-linux.jar" com.google.gwt.dev.Compiler \$@
|
||||
EOF
|
||||
chmod 755 $out/bin/gwt-compile
|
||||
|
||||
@ -26,6 +26,6 @@ cat > $out/bin/gwt-shell <<EOF
|
||||
export LD_LIBRARY_PATH=$libPath
|
||||
export LIBXCB_ALLOW_SLOPPY_LOCK=1 # Workaround for bug in Java AWT implementation
|
||||
|
||||
$jdk/bin/java -Xmx128m -cp "\$CLASSPATH:$out/$name/gwt-user.jar:$out/$name/gwt-dev-linux.jar" com.google.gwt.dev.GWTShell \$@
|
||||
$jdk/bin/java -Xmx256m -cp "\$CLASSPATH:$out/$name/gwt-user.jar:$out/$name/gwt-dev-linux.jar" com.google.gwt.dev.GWTShell \$@
|
||||
EOF
|
||||
chmod 755 $out/bin/gwt-shell
|
||||
|
Loading…
Reference in New Issue
Block a user