Skip to content

Commit c7f6b35

Browse files
jasontedorrjernst
authored andcommitted
Fix classpath for X-Pack scripts on Windows
With the move of X-Pack to a module, the classpath for the scripts needs to be adjusted. This was done on Unix, but not for Windows. This commit addresses Windows.
1 parent d8636d0 commit c7f6b35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

x-pack/plugin/core/src/main/bin/x-pack-env.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ rem Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
22
rem or more contributor license agreements. Licensed under the Elastic License;
33
rem you may not use this file except in compliance with the Elastic License.
44

5-
set ES_CLASSPATH=!ES_CLASSPATH!;!ES_HOME!/plugins/x-pack/x-pack-core/*
5+
set ES_CLASSPATH=!ES_CLASSPATH!;!ES_HOME!/modules/x-pack/x-pack-core/*

x-pack/plugin/security/src/main/bin/x-pack-security-env.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ rem you may not use this file except in compliance with the Elastic License.
44

55
call "%~dp0x-pack-env.bat" || exit /b 1
66

7-
set ES_CLASSPATH=!ES_CLASSPATH!;!ES_HOME!/plugins/x-pack/x-pack-security/*
7+
set ES_CLASSPATH=!ES_CLASSPATH!;!ES_HOME!/modules/x-pack/x-pack-security/*

0 commit comments

Comments
 (0)