Skip to content

Commit 647e566

Browse files
authored
[Issue-160] Cherry pick fixes (#174)
* [Issue-160] Cherry pick fixes * Update CHANGELOG
1 parent bb65806 commit 647e566

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ If you run into issues, you can disable the new implementation and revert to the
2626

2727
#### Bug fixes
2828
- [ISSUE-159](https://github.com/SourceLabOrg/kafka-webview/issues/159) Fix for file uploads in Windows environment. Thanks for the contribution @[quentingodeau](https://github.com/quentingodeau)!
29-
29+
- [ISSUE-160](https://github.com/SourceLabOrg/kafka-webview/issues/160) Fix startup scripts for Windows environment. Thanks for the contribution @[quentingodeau](https://github.com/quentingodeau)!
3030

3131
#### Internal Dependency Updates
3232
- Upgrade from Spring Boot 2.0.8 to 2.0.9
Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
## Define configuration
1+
@echo off
2+
3+
cd /D %~dp0
4+
5+
:: Define configuration
26
set SPRING_CONFIG_LOCATION=classpath:/config/base.yml,config.yml
37

4-
## launch webapp
5-
java -jar kafka-webview-ui-*.jar
8+
:: launch webapp
9+
FOR /F "tokens=* USEBACKQ" %%F IN (`dir /b kafka-webview-ui-*.jar`) DO SET "jar=%%F"
10+
java -jar %jar%

kafka-webview-ui/src/assembly/distribution/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fi
1717
export SPRING_CONFIG_LOCATION=classpath:/config/base.yml,config.yml
1818

1919
## launch webapp
20-
java -jar kafka-webview-ui-*.jar $HEAP_OPTS $LOG_OPTS
20+
exec java -jar kafka-webview-ui-*.jar $HEAP_OPTS $LOG_OPTS
2121

2222
## Change back to previous directory
2323
cd $CWD

0 commit comments

Comments
 (0)