This is an automated email from the ASF dual-hosted git repository.

ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git


The following commit(s) were added to refs/heads/master by this push:
     new ba60973  SCB-1241 Modify the directory name libs to plugins in the 
documentation
ba60973 is described below

commit ba6097349c33bbf06000487bac5182934b9b1b32
Author: 张磊 <[email protected]>
AuthorDate: Thu Apr 4 16:25:41 2019 +0800

    SCB-1241 Modify the directory name libs to plugins in the documentation
---
 docs/faq/cn/how_to_use_mysql_as_alpha_backend_database.md | 8 ++++----
 docs/faq/en/how_to_use_mysql_as_alpha_backend_database.md | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/docs/faq/cn/how_to_use_mysql_as_alpha_backend_database.md 
b/docs/faq/cn/how_to_use_mysql_as_alpha_backend_database.md
index 4f167a3..c4861e0 100644
--- a/docs/faq/cn/how_to_use_mysql_as_alpha_backend_database.md
+++ b/docs/faq/cn/how_to_use_mysql_as_alpha_backend_database.md
@@ -17,18 +17,18 @@
 
    * 通过docker
 
-      在本机器创建 `libs` 目录,用来挂载镜像内部目录 `/maven/saga/libs` ,复制  
`mysql-connector-java-8.0.15.jar` 到 `libs` 目录,使用  
`-Dloader.path=/maven/saga/libs`  参数添加这个目录下所有的 JAR 到 classpath
+      在本机器创建 `plugins` 目录,用来挂载镜像内部目录 `/maven/saga/plugins` ,复制  
`mysql-connector-java-8.0.15.jar` 到 `plugins` 目录,使用  
`-Dloader.path=/maven/saga/plugins`  参数添加这个目录下所有的 JAR 到 classpath
 
       ```bash
-      docker run -d -p 8080:8080 -p 8090:8090 -v ./libs:/maven/saga/libs -e 
"JAVA_OPTS=-Dspring.profiles.active=mysql -Dloader.path=/maven/saga/libs 
-Dspring.datasource.url=jdbc:mysql://${host_address}:3306/saga?serverTimezone=GMT%2b8&useSSL=false"
 alpha-server:${saga_version}
+      docker run -d -p 8080:8080 -p 8090:8090 -v ./plugins:/maven/saga/plugins 
-e "JAVA_OPTS=-Dspring.profiles.active=mysql -Dloader.path=/maven/saga/plugins 
-Dspring.datasource.url=jdbc:mysql://${host_address}:3306/saga?serverTimezone=GMT%2b8&useSSL=false"
 alpha-server:${saga_version}
       ```
 
    * 通过可执行文件
 
-      在 alpha-server-${saga_version}-exec.jar 同级目录下创建 `libs` 目录 ,复制  
`mysql-connector-java-8.0.15.jar` 到 `libs` 目录中,使用  
`-Dloader.path=/maven/saga/libs`  参数添加这个目录下所有的 JAR 到 classpath
+      在 alpha-server-${saga_version}-exec.jar 同级目录下创建 `plugins` 目录 ,复制  
`mysql-connector-java-8.0.15.jar` 到 `plugins` 目录中,使用  
`-Dloader.path=/maven/saga/plugins`  参数添加这个目录下所有的 JAR 到 classpath
 
       ```bash
-      java -Dspring.profiles.active=mysql -Dloader.path=./libs 
-D"spring.datasource.url=jdbc:mysql://${host_address}:3306/saga?serverTimezone=GMT%2b8&useSSL=false"
 -jar alpha-server-${saga_version}-exec.jar
+      java -Dspring.profiles.active=mysql -Dloader.path=./plugins 
-D"spring.datasource.url=jdbc:mysql://${host_address}:3306/saga?serverTimezone=GMT%2b8&useSSL=false"
 -jar alpha-server-${saga_version}-exec.jar
       ```
       **注意**: 请在运行命令前将`${saga_version}`和`${host_address}`更改为实际值。
 
diff --git a/docs/faq/en/how_to_use_mysql_as_alpha_backend_database.md 
b/docs/faq/en/how_to_use_mysql_as_alpha_backend_database.md
index 9f24e63..5ce8e1c 100644
--- a/docs/faq/en/how_to_use_mysql_as_alpha_backend_database.md
+++ b/docs/faq/en/how_to_use_mysql_as_alpha_backend_database.md
@@ -17,18 +17,18 @@
 
    * via docker
 
-      Create `libs`  directory on the machine, for mount containers internal 
directory `/maven/saga/libs` , copy ` mysql-connector-java-8.0.15.jar` to the 
libs directory,  uses the `-Dloader.path=/maven/saga/libs` system property and 
includes all JAR files in this directory and add them in the classpath 
+      Create `plugins`  directory on the machine, for mount containers 
internal directory `/maven/saga/plugins` , copy ` 
mysql-connector-java-8.0.15.jar` to the plugins directory,  uses the 
`-Dloader.path=/maven/saga/plugins` system property and includes all JAR files 
in this directory and add them in the classpath 
 
       ```bash
-      docker run -d -p 8080:8080 -p 8090:8090 -v ./libs:/maven/saga/libs -e 
"JAVA_OPTS=-Dspring.profiles.active=mysql -Dloader.path=/maven/saga/libs 
-Dspring.datasource.url=jdbc:mysql://${host_address}:3306/saga?useSSL=false" 
alpha-server:${saga_version}
+      docker run -d -p 8080:8080 -p 8090:8090 -v ./plugins:/maven/saga/plugins 
-e "JAVA_OPTS=-Dspring.profiles.active=mysql -Dloader.path=/maven/saga/plugins 
-Dspring.datasource.url=jdbc:mysql://${host_address}:3306/saga?useSSL=false" 
alpha-server:${saga_version}
       ```
 
    * via executable file
 
-      Create `libs`  directory in the same directory as 
alpha-server-${saga_version}-exec.jar, copy `mysql-connector-java-8.0.15.jar` 
to the `libs` directory, uses the `-Dloader.path=/maven/saga/libs` system 
property and includes all JAR files in this directory and add them in the 
classpath 
+      Create `plugins`  directory in the same directory as 
alpha-server-${saga_version}-exec.jar, copy `mysql-connector-java-8.0.15.jar` 
to the `plugins` directory, uses the `-Dloader.path=/maven/saga/plugins` system 
property and includes all JAR files in this directory and add them in the 
classpath 
 
       ```bash
-      java -Dspring.profiles.active=mysql -Dloader.path=./libs 
-D"spring.datasource.url=jdbc:mysql://${host_address}:3306/saga?useSSL=false" 
-jar alpha-server-${saga_version}-exec.jar
+      java -Dspring.profiles.active=mysql -Dloader.path=./plugins 
-D"spring.datasource.url=jdbc:mysql://${host_address}:3306/saga?useSSL=false" 
-jar alpha-server-${saga_version}-exec.jar
       ```
 
    **Notice**: Please change `${saga_version}` and `${host_address}` to the 
actual value before you execute the command.

Reply via email to