head 1.7; access; symbols OPENPKG_E1_MP_HEAD:1.4 OPENPKG_E1_MP:1.4 OPENPKG_E1_MP_2_STABLE:1.4.2.2 OPENPKG_E1_FP:1.4.2.2 OPENPKG_2_STABLE_MP:1.4 OPENPKG_2_STABLE_20061018:1.4.2.2 OPENPKG_2_STABLE:1.4.0.2; locks; strict; comment @# @; 1.7 date 2009.03.27.10.27.27; author rse; state Exp; branches; next 1.6; commitid A7MpliL4Pef0REHt; 1.6 date 2008.06.23.06.35.25; author rse; state Exp; branches; next 1.5; commitid KdMCqXZjegyqt28t; 1.5 date 2007.12.19.09.50.49; author rse; state Exp; branches; next 1.4; commitid SuxMUSiNEkp8z1Ks; 1.4 date 2006.10.15.11.11.10; author rse; state Exp; branches 1.4.2.1; next 1.3; commitid 2VcnJRIlKy4EPLQr; 1.3 date 2006.03.10.11.19.34; author rse; state Exp; branches; next 1.2; commitid UY9zI7clZrfYUCor; 1.2 date 2005.05.10.18.14.49; author ms; state Exp; branches; next 1.1; 1.1 date 2005.05.09.21.50.33; author ms; state Exp; branches; next ; 1.4.2.1 date 2006.10.15.11.11.10; author rse; state dead; branches; next 1.4.2.2; commitid iZxwRSmmWscPXUQr; 1.4.2.2 date 2006.10.16.14.50.10; author rse; state Exp; branches; next ; commitid iZxwRSmmWscPXUQr; desc @@ 1.7 log @upgrading package: ganttproject 2.0.7 -> 2.0.9 @ text @Index: ganttproject.sh --- ganttproject.sh.orig 2008-12-14 19:34:20 +0100 +++ ganttproject.sh 2009-03-27 11:22:46 +0100 @@@@ -1,34 +1,9 @@@@ -#!/bin/bash - -GP_HOME=. -COMMAND_PATH=`echo ${0} | sed -e "s/\(.*\)\/.*$/\1/g"` -cd ${COMMAND_PATH} - +#!/bin/sh + +GP_HOME=@@l_prefix@@/libexec/ganttproject LOCAL_CLASSPATH=$GP_HOME/eclipsito.jar - -CONFIGURATION_FILE=ganttproject-eclipsito-config.xml +CONFIGURATION_FILE=@@l_prefix@@/etc/ganttproject/ganttproject-eclipsito-config.xml BOOT_CLASS=org.bardsoftware.eclipsito.Boot -LOG_FILE=$HOME/.ganttproject.log - -if [ -z $JAVA_HOME ]; then - JAVA_COMMAND=`which java` - if [ "$?" = "1" ]; then - echo "No executable java found. Please set JAVA_HOME variable"; - exit; - fi -else - JAVA_COMMAND=$JAVA_HOME/bin/java -fi -if [ ! -x $JAVA_COMMAND ]; then - echo "$JAVA_COMMAND is not executable. Please check the permissions." - exit -fi - -if [ -e $LOG_FILE ] && [ ! -w $LOG_FILE ]; then - echo "Log file $LOG_FILE is not writable" - exit -fi - -$JAVA_COMMAND -Xmx256m -classpath $CLASSPATH:$LOCAL_CLASSPATH $BOOT_CLASS $CONFIGURATION_FILE -log $LOG_FILE "$@@" - +JAVA_COMMAND=@@l_prefix@@/bin/java +$JAVA_COMMAND -Xmx256m -classpath $CLASSPATH:$LOCAL_CLASSPATH $BOOT_CLASS $CONFIGURATION_FILE $* @ 1.6 log @upgrading package: ganttproject 2.0.6 -> 2.0.7 @ text @d2 2 a3 2 --- ganttproject.sh.orig 2008-06-23 03:06:40 +0200 +++ ganttproject.sh 2008-06-23 08:21:13 +0200 d40 1 a40 1 -$JAVA_COMMAND -Xmx256m -classpath $CLASSPATH:$LOCAL_CLASSPATH $BOOT_CLASS $CONFIGURATION_FILE "$@@" >$LOG_FILE 2>&1 @ 1.5 log @upgrading package: ganttproject 2.0.5 -> 2.0.6 @ text @d2 3 a4 3 --- ganttproject.sh.orig 2007-12-17 01:51:22 +0100 +++ ganttproject.sh 2007-12-19 10:48:49 +0100 @@@@ -1,27 +1,9 @@@@ d10 1 d12 1 a12 1 d19 1 d34 7 a40 1 -$JAVA_COMMAND -Xmx256m -classpath $CLASSPATH:$LOCAL_CLASSPATH $BOOT_CLASS $CONFIGURATION_FILE $* >$GP_HOME/ganttproject.log 2>&1 @ 1.4 log @upgrading package: ganttproject 2.0 -> 2.0.2 @ text @d2 4 a5 4 --- ganttproject.sh.orig 2006-06-05 21:19:05 +0200 +++ ganttproject.sh 2006-08-06 10:45:39 +0200 @@@@ -1,27 +1,7 @@@@ #!/bin/bash d10 2 a11 1 - d32 2 d35 2 a36 3 $JAVA_COMMAND -Xmx256m -classpath $CLASSPATH:$LOCAL_CLASSPATH $BOOT_CLASS $CONFIGURATION_FILE $* - - @ 1.4.2.1 log @file ganttproject.patch was added on branch OPENPKG_2_STABLE on 2006-10-16 14:50:10 +0000 @ text @d1 34 @ 1.4.2.2 log @Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class) @ text @a0 34 Index: ganttproject.sh --- ganttproject.sh.orig 2006-06-05 21:19:05 +0200 +++ ganttproject.sh 2006-08-06 10:45:39 +0200 @@@@ -1,27 +1,7 @@@@ #!/bin/bash - -GP_HOME=. -COMMAND_PATH=`echo ${0} | sed -e "s/\(.*\)\/.*$/\1/g"` -cd ${COMMAND_PATH} - +GP_HOME=@@l_prefix@@/libexec/ganttproject LOCAL_CLASSPATH=$GP_HOME/eclipsito.jar - -CONFIGURATION_FILE=ganttproject-eclipsito-config.xml +CONFIGURATION_FILE=@@l_prefix@@/etc/ganttproject/ganttproject-eclipsito-config.xml BOOT_CLASS=org.bardsoftware.eclipsito.Boot - -if [ -z $JAVA_HOME ]; then - JAVA_COMMAND=`which java` - if [ "$?" = "1" ]; then - echo "No executable java found. Please set JAVA_HOME variable"; - exit; - fi -else - JAVA_COMMAND=$JAVA_HOME/bin/java -fi -if [ ! -x $JAVA_COMMAND ]; then - echo "$JAVA_COMMAND is not executable. Please check the permissions." - exit -fi +JAVA_COMMAND=@@l_prefix@@/bin/java $JAVA_COMMAND -Xmx256m -classpath $CLASSPATH:$LOCAL_CLASSPATH $BOOT_CLASS $CONFIGURATION_FILE $* - - @ 1.3 log @switch to bytecode distribution and upgrade version @ text @d2 4 a5 4 --- ganttproject.sh.orig 2006-02-06 17:31:40 +0100 +++ ganttproject.sh 2006-03-10 11:18:39 +0100 @@@@ -1,25 +1,7 @@@@ #!/bin/sh d8 2 d14 1 a14 1 -CONFIGURATION_FILE=$GP_HOME/ganttproject-eclipsito-config.xml @ 1.2 log @upgrading package: ganttproject 1.10.1 -> 1.10.3 @ text @d1 32 a32 13 Index: build.xml diff -Nau build.xml.orig build.xml --- build.xml.orig 2004-12-07 23:12:04.000000000 +0100 +++ build.xml 2005-05-10 19:36:04.030015107 +0200 @@@@ -163,6 +163,8 @@@@ debug="${debug}" deprecation="${deprecation}" optimize="${optimize}" + source="${source}" + nowarn="${nowarn}" includeAntRuntime="false"> @ 1.1 log @new package: ganttproject 1.10.1 (Project Planner) @ text @d3 6 a8 6 --- build.xml.orig 2005-05-09 21:20:15.199960632 +0200 +++ build.xml 2005-05-09 21:20:25.869999069 +0200 @@@@ -162,6 +162,8 @@@@ debug="${debug}" deprecation="${deprecation}" optimize="${optimize}" d11 3 a13 3 includeAntRuntime="false"> @