Author: chatellier Date: 2010-12-17 16:45:00 +0000 (Fri, 17 Dec 2010) New Revision: 428 Log: Update coser script Added: trunk/coser-ui/src/main/assembly/coser Modified: trunk/coser-ui/src/main/assembly/bin.xml Modified: trunk/coser-ui/src/main/assembly/bin.xml =================================================================== --- trunk/coser-ui/src/main/assembly/bin.xml 2010-12-17 16:41:42 UTC (rev 427) +++ trunk/coser-ui/src/main/assembly/bin.xml 2010-12-17 16:45:00 UTC (rev 428) @@ -51,7 +51,7 @@ <source>target/coser.exe</source> </file> <file> - <source>src/main/assembly/go.sh</source> + <source>src/main/assembly/coser</source> <fileMode>0755</fileMode> </file> </files> Copied: trunk/coser-ui/src/main/assembly/coser (from rev 207, trunk/coser-ui/src/main/assembly/go.sh) =================================================================== --- trunk/coser-ui/src/main/assembly/coser (rev 0) +++ trunk/coser-ui/src/main/assembly/coser 2010-12-17 16:45:00 UTC (rev 428) @@ -0,0 +1,33 @@ +### +# #%L +# Coser :: UI +# +# $Id$ +# $HeadURL$ +# %% +# Copyright (C) 2010 Ifremer, Codelutin, Chatellier Eric +# %% +# 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 coser.jar $* +else + java -Xmx$MX -Xms$MX -jar coser.jar $* +fi +cd "$OLDPWD"
participants (1)
-
chatellierï¼ users.labs.libre-entreprise.org