Author: echatellier Date: 2010-12-17 16:00:16 +0100 (Fri, 17 Dec 2010) New Revision: 3067 Url: http://chorem.org/repositories/revision/lima/3067 Log: Rename script from go.sh to lima Added: trunk/lima-swing/src/main/assembly/lima Modified: trunk/lima-swing/src/main/assembly/bin.xml Modified: trunk/lima-swing/src/main/assembly/bin.xml =================================================================== --- trunk/lima-swing/src/main/assembly/bin.xml 2010-12-09 13:58:19 UTC (rev 3066) +++ trunk/lima-swing/src/main/assembly/bin.xml 2010-12-17 15:00:16 UTC (rev 3067) @@ -51,7 +51,7 @@ <source>src/main/assembly/lima.exe</source> </file> <file> - <source>src/main/assembly/go.sh</source> + <source>src/main/assembly/lima</source> <fileMode>0755</fileMode> </file> </files> Copied: trunk/lima-swing/src/main/assembly/lima (from rev 3066, trunk/lima-swing/src/main/assembly/go.sh) =================================================================== --- trunk/lima-swing/src/main/assembly/lima (rev 0) +++ trunk/lima-swing/src/main/assembly/lima 2010-12-17 15:00:16 UTC (rev 3067) @@ -0,0 +1,34 @@ +### +# #%L +# Lima Swing +# +# $Id$ +# $HeadURL$ +# %% +# Copyright (C) 2008 - 2010 CodeLutin +# %% +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this program. If not, see +# <http://www.gnu.org/licenses/gpl-3.0.html>. +# #L% +### +#!/bin/sh +MX=512M +cd `dirname $0` +if [ -n "$JAVA_HOME" ]; then + $JAVA_HOME/bin/java -Xmx$MX -Xms$MX -jar ./lima.jar $* +else + java -Xmx$MX -Xms$MX -jar ./lima.jar $* +fi +cd "$OLDPWD" +
participants (1)
-
echatellier@users.chorem.org