From 38ec6e85396d34b961a3a147cea8530ad5b60b84 Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Fri, 11 Oct 2013 13:03:47 +0200 Subject: [PATCH] updated batch files --- VS2012/Installer/arangod.bat | 3 ++- VS2012/Installer/arangodump.conf | 3 +++ VS2012/Installer/arangoimp.bat | 7 ------- VS2012/Installer/arangoimp.conf | 0 VS2012/Installer/arangorestore.conf | 3 +++ VS2012/Installer/arangosh.conf | 0 VS2012/Installer/upgrade.bat | 3 ++- 7 files changed, 10 insertions(+), 9 deletions(-) create mode 100755 VS2012/Installer/arangodump.conf delete mode 100755 VS2012/Installer/arangoimp.bat mode change 100644 => 100755 VS2012/Installer/arangoimp.conf create mode 100755 VS2012/Installer/arangorestore.conf mode change 100644 => 100755 VS2012/Installer/arangosh.conf diff --git a/VS2012/Installer/arangod.bat b/VS2012/Installer/arangod.bat index c1535cb3ec..8cb914603e 100755 --- a/VS2012/Installer/arangod.bat +++ b/VS2012/Installer/arangod.bat @@ -27,7 +27,7 @@ if EXIST ".\data\LOCK" goto DEL_LOCK :DEL_LOCK echo removing lock file -del /F .\data\LOCK > NUL +del /F .\data\LOCK > NUL 2>&1 if EXIST ".\data\LOCK" ( echo ======================================================================================= echo ERROR: There appears to be a lock file which is in use. This is generally caused @@ -44,3 +44,4 @@ goto START_ARANGO arangod.exe -c arangod.conf data %* :END +pause diff --git a/VS2012/Installer/arangodump.conf b/VS2012/Installer/arangodump.conf new file mode 100755 index 0000000000..a1f540c49b --- /dev/null +++ b/VS2012/Installer/arangodump.conf @@ -0,0 +1,3 @@ +[server] +endpoint = tcp://127.0.0.1:8529 +disable-authentication = true diff --git a/VS2012/Installer/arangoimp.bat b/VS2012/Installer/arangoimp.bat deleted file mode 100755 index 20ea556b8e..0000000000 --- a/VS2012/Installer/arangoimp.bat +++ /dev/null @@ -1,7 +0,0 @@ -@echo off -:: ################################################################# -:: # script to start the ArangoDB shell in Windows -:: ################################################################# -setlocal enableextensions - -arangosh.exe -c arangosh.conf %* \ No newline at end of file diff --git a/VS2012/Installer/arangoimp.conf b/VS2012/Installer/arangoimp.conf old mode 100644 new mode 100755 diff --git a/VS2012/Installer/arangorestore.conf b/VS2012/Installer/arangorestore.conf new file mode 100755 index 0000000000..a1f540c49b --- /dev/null +++ b/VS2012/Installer/arangorestore.conf @@ -0,0 +1,3 @@ +[server] +endpoint = tcp://127.0.0.1:8529 +disable-authentication = true diff --git a/VS2012/Installer/arangosh.conf b/VS2012/Installer/arangosh.conf old mode 100644 new mode 100755 diff --git a/VS2012/Installer/upgrade.bat b/VS2012/Installer/upgrade.bat index ba60cfd8c1..755e322a0b 100755 --- a/VS2012/Installer/upgrade.bat +++ b/VS2012/Installer/upgrade.bat @@ -27,7 +27,7 @@ if EXIST ".\data\LOCK" goto DEL_LOCK :DEL_LOCK echo removing lock file -del /F .\data\LOCK > NUL +del /F .\data\LOCK > NUL 2>&1 if EXIST ".\data\LOCK" ( echo ======================================================================================= echo ERROR: There appears to be a lock file which is in use. This is generally caused @@ -44,3 +44,4 @@ goto START_ARANGO arangod.exe -c arangod.conf --console --upgrade data %* :END +pause