[teiid-commits] teiid SVN: r1117 - trunk/build/kit-embedded/bin.

teiid-commits at lists.jboss.org teiid-commits at lists.jboss.org
Fri Jul 10 12:15:39 EDT 2009


Author: rareddy
Date: 2009-07-10 12:15:38 -0400 (Fri, 10 Jul 2009)
New Revision: 1117

Modified:
   trunk/build/kit-embedded/bin/run.bat
   trunk/build/kit-embedded/bin/run.sh
   trunk/build/kit-embedded/bin/shutdown.bat
   trunk/build/kit-embedded/bin/shutdown.sh
Log:
TEIID-259: Making Server scripts always run from TEIID_HOME, so that we always have consistent ${user.dir}, irrespective of where it is executed from.

Modified: trunk/build/kit-embedded/bin/run.bat
===================================================================
--- trunk/build/kit-embedded/bin/run.bat	2009-07-10 16:05:15 UTC (rev 1116)
+++ trunk/build/kit-embedded/bin/run.bat	2009-07-10 16:15:38 UTC (rev 1117)
@@ -54,6 +54,8 @@
 	echo A new key with keystore generated at %KEYSTORE_FILE%    
 )
 
+cd %TEIID_HOME%
+
 echo ===============================================================================
 echo.
 echo   Teiid Bootstrap Environment

Modified: trunk/build/kit-embedded/bin/run.sh
===================================================================
--- trunk/build/kit-embedded/bin/run.sh	2009-07-10 16:05:15 UTC (rev 1116)
+++ trunk/build/kit-embedded/bin/run.sh	2009-07-10 16:15:38 UTC (rev 1117)
@@ -47,6 +47,7 @@
     TEIID_HOME=`cd $DIRNAME/..; pwd`
 fi
 export TEIID_HOME
+cd $TEIID_HOME
 
 # Setup the JVM
 if [ "x$JAVA" = "x" ]; then

Modified: trunk/build/kit-embedded/bin/shutdown.bat
===================================================================
--- trunk/build/kit-embedded/bin/shutdown.bat	2009-07-10 16:05:15 UTC (rev 1116)
+++ trunk/build/kit-embedded/bin/shutdown.bat	2009-07-10 16:15:38 UTC (rev 1117)
@@ -46,6 +46,8 @@
 rem JPDA options. Uncomment and modify as appropriate to enable remote debugging.
 rem set JAVA_OPTS=%JAVA_OPTS% -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y
 
+cd %TEIID_HOME%
+
 echo ===============================================================================
 echo.
 echo   Teiid Bootstrap Environment

Modified: trunk/build/kit-embedded/bin/shutdown.sh
===================================================================
--- trunk/build/kit-embedded/bin/shutdown.sh	2009-07-10 16:05:15 UTC (rev 1116)
+++ trunk/build/kit-embedded/bin/shutdown.sh	2009-07-10 16:15:38 UTC (rev 1117)
@@ -47,6 +47,7 @@
     TEIID_HOME=`cd $DIRNAME/..; pwd`
 fi
 export TEIID_HOME
+cd $TEIID_HOME
 
 # Setup the JVM
 if [ "x$JAVA" = "x" ]; then




More information about the teiid-commits mailing list