[Xulu-commits] r16 - trunk
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Feb 26 00:33:00 CET 2009
Author: alfonx
Date: 2009-02-26 00:32:56 +0100 (Thu, 26 Feb 2009)
New Revision: 16
Modified:
trunk/initXulu.sh
Log:
Set to UNIX line-ends (again)
Modified: trunk/initXulu.sh
===================================================================
--- trunk/initXulu.sh 2009-02-25 22:42:57 UTC (rev 15)
+++ trunk/initXulu.sh 2009-02-25 23:32:56 UTC (rev 16)
@@ -1,124 +1,124 @@
-#!/bin/bash
-#############################################################################
-# XULU Init 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.
-#
-#
-#
-#
-#
-# =====================================================================
-# Initializes the XULU folder structure after the first SVN checkout
-# by copying default configuration files from the "defaults" folder
-# to their expected location.
-#
-# The default behavior is only to copy non-existing files. If you
-# want to reset you configuration (in case of a partially
-# deleted or damaged configuration) you can use the command parameter
-# "--init" to overwrite all files with their defaults.
-#
-# Summary:
-# - copy "DefaultProperties" to main folder
-# - copy Eclipse configuration to main folder
-# - .classpath
-# - .project
-# - copy "startXulu.bat/sh" to main folder
-# - copy XULU registry files to main folder
-# - registry.xif
-# - registry_arrayGrid.xif
-# - registry_ProxyGrid.xif
-# - XULU plugin configurations
-# - plugin\GeoModelCodeGenerator\* to plugin folder
-# - plugin\GTVisualisationColorMapPlugin\* to plugin folder
-# - plugin\LoggerPlugin\* to plugin folder
-# - plugin\RasterCalculator\* to plugin folder
-# =====================================================================
-
-# Folder where to find the defaults
-SOURCE_DIR=defaults
-
-COPY_PARAM="-i"
-OK="sd"
-if [ "$1" == "--init" ]; then COPY_PARAM="-f" ; fi
-echo initXulu.sh [--init]
-echo --init Reset and overwrite all XULU configuration files without asking
-echo
-echo
-
-echo XULU settings will be reset with defaults now.
-
-
-echo DefaultProperties
-cp $COPY_PARAM $SOURCE_DIR/DefaultProperties .
-cp $COPY_PARAM $SOURCE_DIR/XuluProperties .
-
-echo Eclipse configuration
-cp -i $COPY_PARAM $SOURCE_DIR/.classpath .
-cp -i $COPY_PARAM $SOURCE_DIR/.project .
-
-echo Start scripts: startXulu.bat + startXulu.sh
-cp $COPY_PARAM $SOURCE_DIR/startXULU.sh .
-chmod +x startXULU.sh
-cp $COPY_PARAM $SOURCE_DIR/startXULU.bat .
-
-echo sample XULU registry files
-cp $COPY_PARAM $SOURCE_DIR/registry.xif .
-cp $COPY_PARAM $SOURCE_DIR/registry_arrayGrid.xif .
-cp $COPY_PARAM $SOURCE_DIR/registry_ProxyGrid.xif .
-
-echo Plugin folder
-mkdir plugin &> /dev/null
-echo Template files for GeoModelCodeGenerator plugin
-DDIR=plugin/GeoModelCodeGenerator
-SDIR=$SOURCE_DIR/$DDIR
-mkdir $DDIR &> /dev/null
-cp $COPY_PARAM $SDIR/ModelContentManager.tpl $DDIR
-cp $COPY_PARAM $SDIR/StepModel.tpl $DDIR
-cp $COPY_PARAM $SDIR/XuluModel.tpl $DDIR
-
-echo Template files for GTVisualisationColorMapPlugin
-DDIR=plugin/GTVisualisationColorMapPlugin
-SDIR=$SOURCE_DIR/$DDIR
-mkdir $DDIR &> /dev/null
-cp $COPY_PARAM $SDIR/gtcolormaps.xif $DDIR
-
-echo Template files for LoggerPlugin
-DDIR=plugin/LoggerPlugin
-SDIR=$SOURCE_DIR/$DDIR
-mkdir $DDIR &> /dev/null
-cp $COPY_PARAM $SDIR/log4j.cfg $DDIR
-
-echo Template files for LoggerPlugin
-DDIR=plugin/RasterCalculator
-SDIR=$SOURCE_DIR/$DDIR
-mkdir $DDIR &> /dev/null
-cp $COPY_PARAM $SDIR/default_filter.inp $DDIR
-
-echo Finished.
-echo
-
+#!/bin/bash
+#############################################################################
+# XULU Init 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.
+#
+#
+#
+#
+#
+# =====================================================================
+# Initializes the XULU folder structure after the first SVN checkout
+# by copying default configuration files from the "defaults" folder
+# to their expected location.
+#
+# The default behavior is only to copy non-existing files. If you
+# want to reset you configuration (in case of a partially
+# deleted or damaged configuration) you can use the command parameter
+# "--init" to overwrite all files with their defaults.
+#
+# Summary:
+# - copy "DefaultProperties" to main folder
+# - copy Eclipse configuration to main folder
+# - .classpath
+# - .project
+# - copy "startXulu.bat/sh" to main folder
+# - copy XULU registry files to main folder
+# - registry.xif
+# - registry_arrayGrid.xif
+# - registry_ProxyGrid.xif
+# - XULU plugin configurations
+# - plugin\GeoModelCodeGenerator\* to plugin folder
+# - plugin\GTVisualisationColorMapPlugin\* to plugin folder
+# - plugin\LoggerPlugin\* to plugin folder
+# - plugin\RasterCalculator\* to plugin folder
+# =====================================================================
+
+# Folder where to find the defaults
+SOURCE_DIR=defaults
+
+COPY_PARAM="-i"
+OK="sd"
+if [ "$1" == "--init" ]; then COPY_PARAM="-f" ; fi
+echo initXulu.sh [--init]
+echo --init Reset and overwrite all XULU configuration files without asking
+echo
+echo
+
+echo XULU settings will be reset with defaults now.
+
+
+echo DefaultProperties
+cp $COPY_PARAM $SOURCE_DIR/DefaultProperties .
+cp $COPY_PARAM $SOURCE_DIR/XuluProperties .
+
+echo Eclipse configuration
+cp -i $COPY_PARAM $SOURCE_DIR/.classpath .
+cp -i $COPY_PARAM $SOURCE_DIR/.project .
+
+echo Start scripts: startXulu.bat + startXulu.sh
+cp $COPY_PARAM $SOURCE_DIR/startXULU.sh .
+chmod +x startXULU.sh
+cp $COPY_PARAM $SOURCE_DIR/startXULU.bat .
+
+echo sample XULU registry files
+cp $COPY_PARAM $SOURCE_DIR/registry.xif .
+cp $COPY_PARAM $SOURCE_DIR/registry_arrayGrid.xif .
+cp $COPY_PARAM $SOURCE_DIR/registry_ProxyGrid.xif .
+
+echo Plugin folder
+mkdir plugin &> /dev/null
+echo Template files for GeoModelCodeGenerator plugin
+DDIR=plugin/GeoModelCodeGenerator
+SDIR=$SOURCE_DIR/$DDIR
+mkdir $DDIR &> /dev/null
+cp $COPY_PARAM $SDIR/ModelContentManager.tpl $DDIR
+cp $COPY_PARAM $SDIR/StepModel.tpl $DDIR
+cp $COPY_PARAM $SDIR/XuluModel.tpl $DDIR
+
+echo Template files for GTVisualisationColorMapPlugin
+DDIR=plugin/GTVisualisationColorMapPlugin
+SDIR=$SOURCE_DIR/$DDIR
+mkdir $DDIR &> /dev/null
+cp $COPY_PARAM $SDIR/gtcolormaps.xif $DDIR
+
+echo Template files for LoggerPlugin
+DDIR=plugin/LoggerPlugin
+SDIR=$SOURCE_DIR/$DDIR
+mkdir $DDIR &> /dev/null
+cp $COPY_PARAM $SDIR/log4j.cfg $DDIR
+
+echo Template files for LoggerPlugin
+DDIR=plugin/RasterCalculator
+SDIR=$SOURCE_DIR/$DDIR
+mkdir $DDIR &> /dev/null
+cp $COPY_PARAM $SDIR/default_filter.inp $DDIR
+
+echo Finished.
+echo
+
More information about the Xulu-commits
mailing list