knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kris...@apache.org
Subject [knox] branch master updated: KNOX-1815 - Removed Windows scripts (#67)
Date Mon, 11 Mar 2019 14:12:33 GMT
This is an automated email from the ASF dual-hosted git repository.

krisden pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git


The following commit(s) were added to refs/heads/master by this push:
     new 771c964  KNOX-1815 - Removed Windows scripts (#67)
771c964 is described below

commit 771c964495699938705c6702b497723f4d73cb30
Author: Sandor Molnar <smolnar@apache.org>
AuthorDate: Mon Mar 11 15:12:29 2019 +0100

    KNOX-1815 - Removed Windows scripts (#67)
---
 gateway-release/home/bin/gateway.cmd         | 41 ------------------------
 gateway-release/home/bin/knoxcli.cmd         | 35 ---------------------
 gateway-release/home/bin/ldap.cmd            | 47 ----------------------------
 gateway-shell-release/home/bin/knoxshell.cmd | 35 ---------------------
 4 files changed, 158 deletions(-)

diff --git a/gateway-release/home/bin/gateway.cmd b/gateway-release/home/bin/gateway.cmd
deleted file mode 100644
index 306644c..0000000
--- a/gateway-release/home/bin/gateway.cmd
+++ /dev/null
@@ -1,41 +0,0 @@
-@echo off
-REM Licensed to the Apache Software Foundation (ASF) under one or more
-REM contributor license agreements. See the NOTICE file distributed with
-REM this work for additional information regarding copyright ownership.
-REM The ASF licenses this file to You under the Apache License, Version 2.0
-REM (the "License"); you may not use this file except in compliance with
-REM the License. You may obtain a copy of the License at
-REM
-REM http://www.apache.org/licenses/LICENSE-2.0
-REM
-REM Unless required by applicable law or agreed to in writing, software
-REM distributed under the License is distributed on an "AS IS" BASIS,
-REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-REM See the License for the specific language governing permissions and
-REM limitations under the License.
-
-REM Start/stop script location
-set APP_BIN_DIR=%~dp0
-
-REM The app's jar name
-set APP_JAR=%APP_BIN_DIR%gateway.jar
-
-if not exist "%JAVA_HOME%"\bin\java.exe (
-  echo Error: JAVA_HOME is incorrectly set.
-  exit /b 1
-)
-set JAVA=%JAVA_HOME%\bin\java
-
-if "%1" == "--service" (
-  echo ^<service^>
-  echo   ^<id^>knox-gateway^</id^>
-  echo   ^<name^>knox-gateway^</name^>
-  echo   ^<description^>This service runs the Knox Gateway^</description^>
-  echo   ^<executable^>%JAVA%^</executable^>
-  echo   ^<arguments^>-jar "%APP_JAR%"^</arguments^>
-  echo ^</service^>
-  exit /b 0
-)
-
-"%JAVA%" -jar "%APP_JAR%"
-exit /b %ERRORLEVEL%
\ No newline at end of file
diff --git a/gateway-release/home/bin/knoxcli.cmd b/gateway-release/home/bin/knoxcli.cmd
deleted file mode 100644
index 6283806..0000000
--- a/gateway-release/home/bin/knoxcli.cmd
+++ /dev/null
@@ -1,35 +0,0 @@
-@echo off
-REM  Licensed to the Apache Software Foundation (ASF) under one or more
-REM  contributor license agreements.  See the NOTICE file distributed with
-REM  this work for additional information regarding copyright ownership.
-REM  The ASF licenses this file to You under the Apache License, Version 2.0
-REM  (the "License"); you may not use this file except in compliance with
-REM  the License.  You may obtain a copy of the License at
-REM
-REM      http://www.apache.org/licenses/LICENSE-2.0
-REM
-REM  Unless required by applicable law or agreed to in writing, software
-REM  distributed under the License is distributed on an "AS IS" BASIS,
-REM  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-REM  See the License for the specific language governing permissions and
-REM  limitations under the License.
-
-REM Start/stop script location
-set APP_BIN_DIR=%~dp0
-
-REM The app's jar name
-set APP_JAR=%APP_BIN_DIR%knoxcli.jar
-
-if not exist "%JAVA_HOME%"\bin\java.exe (
-  echo Error: JAVA_HOME is incorrectly set.
-  exit /B 1
-)
-set JAVA=%JAVA_HOME%\bin\java
-
-"%JAVA%" -jar "%APP_JAR%" %*
-
-if not %ERRORLEVEL% == 0 (
-  exit /B %ERRORLEVEL%
-)
-
-exit /B 0
diff --git a/gateway-release/home/bin/ldap.cmd b/gateway-release/home/bin/ldap.cmd
deleted file mode 100644
index b3c4539..0000000
--- a/gateway-release/home/bin/ldap.cmd
+++ /dev/null
@@ -1,47 +0,0 @@
-@echo off
-REM Licensed to the Apache Software Foundation (ASF) under one or more
-REM contributor license agreements. See the NOTICE file distributed with
-REM this work for additional information regarding copyright ownership.
-REM The ASF licenses this file to You under the Apache License, Version 2.0
-REM (the "License"); you may not use this file except in compliance with
-REM the License. You may obtain a copy of the License at
-REM
-REM http://www.apache.org/licenses/LICENSE-2.0
-REM
-REM Unless required by applicable law or agreed to in writing, software
-REM distributed under the License is distributed on an "AS IS" BASIS,
-REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-REM See the License for the specific language governing permissions and
-REM limitations under the License.
-
-REM Script location
-set APP_BIN_DIR=%~dp0
-
-REM  The app's home dir
-set APP_HOME_DIR=%APP_BIN_DIR:~0,-5%
-
-REM The apps conf dir
-set APP_CONF_DIR=%APP_HOME_DIR%\conf
-
-REM The app's jar name
-set APP_JAR=%APP_BIN_DIR%ldap.jar
-
-if not exist "%JAVA_HOME%"\bin\java.exe (
-  echo Error: JAVA_HOME is incorrectly set.
-  exit /b 1
-)
-set JAVA=%JAVA_HOME%\bin\java
-
-if "%1" == "--service" (
-  @echo ^<service^>
-  @echo   ^<id^>knox-demo-ldap^</id^>
-  @echo   ^<name^>knox-demo-ldap^</name^>
-  @echo   ^<description^>This service runs the Knox demonstration LDAP server^</description^>
-  @echo   ^<executable^>%JAVA%^</executable^>
-  @echo   ^<arguments^>-jar "%APP_JAR%" "%APP_CONF_DIR%"^</arguments^>
-  @echo ^</service^>
-  exit /b 0
-)
-
-"%JAVA%" -jar "%APP_JAR%" "%APP_CONF_DIR%"
-exit /b %ERRORLEVEL%
\ No newline at end of file
diff --git a/gateway-shell-release/home/bin/knoxshell.cmd b/gateway-shell-release/home/bin/knoxshell.cmd
deleted file mode 100644
index 2202198..0000000
--- a/gateway-shell-release/home/bin/knoxshell.cmd
+++ /dev/null
@@ -1,35 +0,0 @@
-@echo off
-REM  Licensed to the Apache Software Foundation (ASF) under one or more
-REM  contributor license agreements.  See the NOTICE file distributed with
-REM  this work for additional information regarding copyright ownership.
-REM  The ASF licenses this file to You under the Apache License, Version 2.0
-REM  (the "License"); you may not use this file except in compliance with
-REM  the License.  You may obtain a copy of the License at
-REM
-REM      http://www.apache.org/licenses/LICENSE-2.0
-REM
-REM  Unless required by applicable law or agreed to in writing, software
-REM  distributed under the License is distributed on an "AS IS" BASIS,
-REM  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-REM  See the License for the specific language governing permissions and
-REM  limitations under the License.
-
-REM Start/stop script location
-set APP_BIN_DIR=%~dp0
-
-REM The app's jar name
-set APP_JAR=%APP_BIN_DIR%knoxshell.jar
-
-if not exist "%JAVA_HOME%"\bin\java.exe (
-  echo Error: JAVA_HOME is incorrectly set.
-  exit /B 1
-)
-set JAVA=%JAVA_HOME%\bin\java
-
-"%JAVA%" -jar "%APP_JAR%" %*
-
-if not %ERRORLEVEL% == 0 (
-  exit /B %ERRORLEVEL%
-)
-
-exit /B 0


Mime
View raw message