[Xulu-commits] r17 - trunk/defaults

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Feb 26 22:06:39 CET 2009


Author: mojays
Date: 2009-02-26 22:06:38 +0100 (Thu, 26 Feb 2009)
New Revision: 17

Modified:
   trunk/defaults/startXULU.sh
Log:
Linux shell script "startXULU.sh" converted to UNIX format

Modified: trunk/defaults/startXULU.sh
===================================================================
--- trunk/defaults/startXULU.sh	2009-02-25 23:32:56 UTC (rev 16)
+++ trunk/defaults/startXULU.sh	2009-02-26 21:06:38 UTC (rev 17)
@@ -1,132 +1,132 @@
-#!/bin/bash
-#############################################################################
-# XULU Start Script - This file is part of the eXtendable Unified Land Use 
-# Modelling Platform (XULU)
-#############################################################################
-#
-#    This library is free software; you can redistribute it and/or modify it 
-# under the terms of the GNU Lesser General Public License as published by the 
-# Free Software Foundation; either version 2.1 of the License, or (at your 
-# option) any later version.
-#    This library 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 Lesser General Public License 
-# for more details.
-#    You should have received a copy of the GNU Lesser General Public License 
-# along with this library; if not, write to the Free Software Foundation, Inc., 
-# 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
-#
-#    Diese Bibliothek ist freie Software; Sie dürfen sie unter den Bedingungen 
-# der GNU Lesser General Public License, wie von der Free Software Foundation 
-# veröffentlicht, weiterverteilen und/oder modifizieren; entweder gemäß Version 
-# 2.1 der Lizenz oder (nach Ihrer Option) jeder späteren Version.
-#    Diese Bibliothek wird in der Hoffnung weiterverbreitet, daß sie nützlich 
-# sein wird, jedoch OHNE IRGENDEINE GARANTIE, auch ohne die implizierte Garantie 
-# der MARKTREIFE oder der VERWENDBARKEIT FÜR EINEN BESTIMMTEN ZWECK. Mehr 
-# Details finden Sie in der GNU Lesser General Public License.
-#    Sie sollten eine Kopie der GNU Lesser General Public License zusammen mit 
-# dieser Bibliothek erhalten haben; falls nicht, schreiben Sie an die Free 
-# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA.
-# 
-
-####################################################################
-#############   Xulu library paths and parameters   ###############
-###################################################################
-
-LIB_ROOT="lib"
-DIST_ROOT="dist"
-#DIST_ROOT="lib/xulu"
-
-XULU_LIB=$DIST_ROOT/xulu.jar
-if [ "$1" == "-useXuluJar" ]; then XULU_LIB=$DIST_ROOT/xulu.jar ; fi
-if [ "$1" == "-useXuluClasses" ]; then XULU_LIB=classes ; fi
-
-XULU_REGISTRY=./registry_ProxyGrid.xif
-XULU_LANGUAGE=de
-XULU_WORK_DIR=
-XULU_START_SCRIPTS=
-XULU_RESOURCE=resource
-
-####################################################
-#############   External libraries   ###############
-####################################################
-
-##### Where to find "schmitzm" (before Geotools!) #####
-SCHMITZM_ROOT=$LIB_ROOT/schmitzm
-
-##### Where to find "Java Advanced Imaging" #####
-JAI_ROOT=$LIB_ROOT/jai-1_1_3/lib
-
-##### Where to find "GeoTools" #####
-GT_ROOT=$LIB_ROOT/gt2-2.4.4
-
-##### Where to find gt2-arcgrid-2.1.x.jar (from SpearfishDemo) #####
-GT_ARCGRID_ROOT=$LIB_ROOT/geotoolsArcGrid
-
-##### Where to find "Adagios" #####
-ADAGIOS_ROOT=$LIB_ROOT/Adagios
-
-##### Where to find "Log4j" #####
-LOG4J_ROOT=$LIB_ROOT/log4j-1.2.14
-
-##### Where to find "JINI" #####
-JINI_ROOT=$LIB_ROOT/jini
-
-##### Where to find "R" #####
-#R_ROOT=$LIB_ROOT/JavaRInterface
-
-##### Where to find "jFreeChart" #####
-JFREECHART_ROOT=$LIB_ROOT/jFreeChart
-
-##### combine the external libs #####
-SCHMITZM_LIB=$SCHMITZM_ROOT/*
-JAI_LIB=$JAI_ROOT/*
-GT_LIB=$GT_ROOT/*
-GT_LIB=$GT_LIB:$GT_ARCGRID_ROOT/gt2-arcgrid-2.3.0-M0.jar:$GT_ARCGRID_ROOT/junit-4.4.jar
-ADAGIOS_LIB=$ADAGIOS_ROOT/AdagiosJavaLib.jar
-JINI_LIB=$JINI_ROOT/lib/*:$JINI_ROOT/lib-dl/*:$JINI_ROOT/lib-ext/*
-# set JINI_LIB=$JINI_ROOT/lib/jsk-platform.jar;$JINI_ROOT/lib/tools.jar
-LOG4J_LIB=$LOG4J_ROOT/log4j-1.2.14.jar
-#R_LIB=$R_ROOT/JRI.jar;$R_ROOT/libjri.so;$R_ROOT/libR.so # segfaulted on Intrepid
-JFREECHART_LIB=$JFREECHART_ROOT/jfreechart-1.0.6.jar:$JFREECHART_ROOT/jcommon-1.0.10.jar
-
-LIB_ALL=$XULU_LIB:$SCHMITZM_LIB:$JAI_LIB:$GT_LIB:$ADAGIOS_LIB:$LOG4J_LIB:$JINI_LIB:$JFREECHART_LIB #:$R_LIB
-
-##### combine the native libs #####
-JAI_NATIVE=$JAI_ROOT/native_linux
-
-LIB_NATIVE=$JAI_NATIVE
-
-
-##### combine Xulu starting parameters #####
-
-XULU_PARAMS=""
-
-if test -n $XULU_LANGUAGE ; then
- XULU_PARAMS="$XULU_PARAMS -l $XULU_LANGUAGE"
-fi
-
-if test -n $XULU_REGISTRY ; then
-    XULU_PARAMS="$XULU_PARAMS -rf $XULU_REGISTRY"
-fi
-
-if test -n $XULU_MODELS_LIB ;then
- XULU_PARAMS="$XULU_PARAMS -d $XULU_MODELS_LIB"
-fi
-
-if test -n $XULU_WORK_DIR; then
- XULU_PARAMS="$XULU_PARAMS -w $XULU_WORK_DIR"
-fi
-
-
-if test -n $XULU_START_SCRIPTS; then
- XULU_PARAMS="$XULU_PARAMS -s $XULU_START_SCRIPTS"
-fi
-
-##### determine java interpreter #####
-JAVA_PRG=`which java`
-
-##### start Xulu #####
-# -version:1.6.0_10  funktioniert unter linux nicht
-$JAVA_PRG -Xms300M -Xmx1000M -cp $XULU_RESOURCE:$LIB_ALL -Djava.library.path=$LIB_NATIVE -splash:resource/icons/xulu_start.png edu.bonn.xulu.XuluModellingPlatform $XULU_PARAMS $*
-
+#!/bin/bash
+#############################################################################
+# XULU Start Script - This file is part of the eXtendable Unified Land Use 
+# Modelling Platform (XULU)
+#############################################################################
+#
+#    This library is free software; you can redistribute it and/or modify it 
+# under the terms of the GNU Lesser General Public License as published by the 
+# Free Software Foundation; either version 2.1 of the License, or (at your 
+# option) any later version.
+#    This library 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 Lesser General Public License 
+# for more details.
+#    You should have received a copy of the GNU Lesser General Public License 
+# along with this library; if not, write to the Free Software Foundation, Inc., 
+# 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
+#
+#    Diese Bibliothek ist freie Software; Sie dürfen sie unter den Bedingungen 
+# der GNU Lesser General Public License, wie von der Free Software Foundation 
+# veröffentlicht, weiterverteilen und/oder modifizieren; entweder gemäß Version 
+# 2.1 der Lizenz oder (nach Ihrer Option) jeder späteren Version.
+#    Diese Bibliothek wird in der Hoffnung weiterverbreitet, daß sie nützlich 
+# sein wird, jedoch OHNE IRGENDEINE GARANTIE, auch ohne die implizierte Garantie 
+# der MARKTREIFE oder der VERWENDBARKEIT FÜR EINEN BESTIMMTEN ZWECK. Mehr 
+# Details finden Sie in der GNU Lesser General Public License.
+#    Sie sollten eine Kopie der GNU Lesser General Public License zusammen mit 
+# dieser Bibliothek erhalten haben; falls nicht, schreiben Sie an die Free 
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA.
+# 
+
+####################################################################
+#############   Xulu library paths and parameters   ###############
+###################################################################
+
+LIB_ROOT="lib"
+DIST_ROOT="dist"
+#DIST_ROOT="lib/xulu"
+
+XULU_LIB=$DIST_ROOT/xulu.jar
+if [ "$1" == "-useXuluJar" ]; then XULU_LIB=$DIST_ROOT/xulu.jar ; fi
+if [ "$1" == "-useXuluClasses" ]; then XULU_LIB=classes ; fi
+
+XULU_REGISTRY=./registry_ProxyGrid.xif
+XULU_LANGUAGE=de
+XULU_WORK_DIR=
+XULU_START_SCRIPTS=
+XULU_RESOURCE=resource
+
+####################################################
+#############   External libraries   ###############
+####################################################
+
+##### Where to find "schmitzm" (before Geotools!) #####
+SCHMITZM_ROOT=$LIB_ROOT/schmitzm
+
+##### Where to find "Java Advanced Imaging" #####
+JAI_ROOT=$LIB_ROOT/jai-1_1_3/lib
+
+##### Where to find "GeoTools" #####
+GT_ROOT=$LIB_ROOT/gt2-2.4.4
+
+##### Where to find gt2-arcgrid-2.1.x.jar (from SpearfishDemo) #####
+GT_ARCGRID_ROOT=$LIB_ROOT/geotoolsArcGrid
+
+##### Where to find "Adagios" #####
+ADAGIOS_ROOT=$LIB_ROOT/Adagios
+
+##### Where to find "Log4j" #####
+LOG4J_ROOT=$LIB_ROOT/log4j-1.2.14
+
+##### Where to find "JINI" #####
+JINI_ROOT=$LIB_ROOT/jini
+
+##### Where to find "R" #####
+#R_ROOT=$LIB_ROOT/JavaRInterface
+
+##### Where to find "jFreeChart" #####
+JFREECHART_ROOT=$LIB_ROOT/jFreeChart
+
+##### combine the external libs #####
+SCHMITZM_LIB=$SCHMITZM_ROOT/*
+JAI_LIB=$JAI_ROOT/*
+GT_LIB=$GT_ROOT/*
+GT_LIB=$GT_LIB:$GT_ARCGRID_ROOT/gt2-arcgrid-2.3.0-M0.jar:$GT_ARCGRID_ROOT/junit-4.4.jar
+ADAGIOS_LIB=$ADAGIOS_ROOT/AdagiosJavaLib.jar
+JINI_LIB=$JINI_ROOT/lib/*:$JINI_ROOT/lib-dl/*:$JINI_ROOT/lib-ext/*
+# set JINI_LIB=$JINI_ROOT/lib/jsk-platform.jar;$JINI_ROOT/lib/tools.jar
+LOG4J_LIB=$LOG4J_ROOT/log4j-1.2.14.jar
+#R_LIB=$R_ROOT/JRI.jar;$R_ROOT/libjri.so;$R_ROOT/libR.so # segfaulted on Intrepid
+JFREECHART_LIB=$JFREECHART_ROOT/jfreechart-1.0.6.jar:$JFREECHART_ROOT/jcommon-1.0.10.jar
+
+LIB_ALL=$XULU_LIB:$SCHMITZM_LIB:$JAI_LIB:$GT_LIB:$ADAGIOS_LIB:$LOG4J_LIB:$JINI_LIB:$JFREECHART_LIB #:$R_LIB
+
+##### combine the native libs #####
+JAI_NATIVE=$JAI_ROOT/native_linux
+
+LIB_NATIVE=$JAI_NATIVE
+
+
+##### combine Xulu starting parameters #####
+
+XULU_PARAMS=""
+
+if test -n $XULU_LANGUAGE ; then
+ XULU_PARAMS="$XULU_PARAMS -l $XULU_LANGUAGE"
+fi
+
+if test -n $XULU_REGISTRY ; then
+    XULU_PARAMS="$XULU_PARAMS -rf $XULU_REGISTRY"
+fi
+
+if test -n $XULU_MODELS_LIB ;then
+ XULU_PARAMS="$XULU_PARAMS -d $XULU_MODELS_LIB"
+fi
+
+if test -n $XULU_WORK_DIR; then
+ XULU_PARAMS="$XULU_PARAMS -w $XULU_WORK_DIR"
+fi
+
+
+if test -n $XULU_START_SCRIPTS; then
+ XULU_PARAMS="$XULU_PARAMS -s $XULU_START_SCRIPTS"
+fi
+
+##### determine java interpreter #####
+JAVA_PRG=`which java`
+
+##### start Xulu #####
+# -version:1.6.0_10  funktioniert unter linux nicht
+$JAVA_PRG -Xms300M -Xmx1000M -cp $XULU_RESOURCE:$LIB_ALL -Djava.library.path=$LIB_NATIVE -splash:resource/icons/xulu_start.png edu.bonn.xulu.XuluModellingPlatform $XULU_PARAMS $*
+



More information about the Xulu-commits mailing list