You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by gi...@apache.org on 2020/08/06 06:34:11 UTC

[dubbo-website] branch asf-site updated: Automated deployment: Thu Aug 6 06:33:54 UTC 2020 2db6ddd19c53c27de298b2dc9cca93db5a82e67c

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

github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 1cce255  Automated deployment: Thu Aug  6 06:33:54 UTC 2020 2db6ddd19c53c27de298b2dc9cca93db5a82e67c
1cce255 is described below

commit 1cce255c5abcce86bc8ae38433772ebd59e15ee5
Author: beiwei30 <be...@users.noreply.github.com>
AuthorDate: Thu Aug 6 06:33:55 2020 +0000

    Automated deployment: Thu Aug  6 06:33:54 UTC 2020 2db6ddd19c53c27de298b2dc9cca93db5a82e67c
---
 zh-cn/docs/user/quick-start.html | 4 ++--
 zh-cn/docs/user/quick-start.json | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/zh-cn/docs/user/quick-start.html b/zh-cn/docs/user/quick-start.html
index 6797787..5d31f43 100644
--- a/zh-cn/docs/user/quick-start.html
+++ b/zh-cn/docs/user/quick-start.html
@@ -68,7 +68,7 @@
  
 <span class="hljs-keyword">public</span> <span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Provider</span> </span>{
     <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">void</span> <span class="hljs-title">main</span><span class="hljs-params">(String[] args)</span> <span class="hljs-keyword">throws</span> Exception </span>{
-        ClassPathXmlApplicationContext context = <span class="hljs-keyword">new</span> ClassPathXmlApplicationContext(<span class="hljs-keyword">new</span> String[] {<span class="hljs-string">"http://10.20.160.198/wiki/display/dubbo/provider.xml"</span>});
+        ClassPathXmlApplicationContext context = <span class="hljs-keyword">new</span> ClassPathXmlApplicationContext(<span class="hljs-keyword">new</span> String[]{<span class="hljs-string">"META-INF/spring/dubbo-demo-provider.xml"</span>});
         context.start();
         System.in.read(); <span class="hljs-comment">// 按任意键退出</span>
     }
@@ -101,7 +101,7 @@
  
 <span class="hljs-keyword">public</span> <span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Consumer</span> </span>{
     <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">void</span> <span class="hljs-title">main</span><span class="hljs-params">(String[] args)</span> <span class="hljs-keyword">throws</span> Exception </span>{
-        ClassPathXmlApplicationContext context = <span class="hljs-keyword">new</span> ClassPathXmlApplicationContext(<span class="hljs-keyword">new</span> String[] {<span class="hljs-string">"http://10.20.160.198/wiki/display/dubbo/consumer.xml"</span>});
+       ClassPathXmlApplicationContext context = <span class="hljs-keyword">new</span> ClassPathXmlApplicationContext(<span class="hljs-keyword">new</span> String[] {<span class="hljs-string">"META-INF/spring/dubbo-demo-consumer.xml"</span>});
         context.start();
         DemoService demoService = (DemoService)context.getBean(<span class="hljs-string">"demoService"</span>); <span class="hljs-comment">// 获取远程服务代理</span>
         String hello = demoService.sayHello(<span class="hljs-string">"world"</span>); <span class="hljs-comment">// 执行远程方法</span>
diff --git a/zh-cn/docs/user/quick-start.json b/zh-cn/docs/user/quick-start.json
index d590a0b..047c925 100644
--- a/zh-cn/docs/user/quick-start.json
+++ b/zh-cn/docs/user/quick-start.json
@@ -1,6 +1,6 @@
 {
   "filename": "quick-start.md",
-  "__html": "<h1>快速启动</h1>\n<p>Dubbo 采用全 Spring 配置方式,透明化接入应用,对应用没有任何 API 侵入,只需用 Spring 加载 Dubbo 的配置即可,Dubbo 基于 <a href=\"https://docs.spring.io/spring/docs/4.2.x/spring-framework-reference/html/xsd-configuration.html\">Spring 的 Schema 扩展</a> 进行加载。</p>\n<p>如果不想使用 Spring 配置,可以通过 <a href=\"./configuration/api.md\">API 的方式</a> 进行调用。</p>\n<h2>服务提供者</h2>\n<p>完整安装步骤,请参见:<a href=\"../admin/install/provider-demo.md\">示例提供者安装</a></p>\n<h3>定义服务接口</h3>\n<p>DemoService.java <sup class=\"footnote-ref\ [...]
+  "__html": "<h1>快速启动</h1>\n<p>Dubbo 采用全 Spring 配置方式,透明化接入应用,对应用没有任何 API 侵入,只需用 Spring 加载 Dubbo 的配置即可,Dubbo 基于 <a href=\"https://docs.spring.io/spring/docs/4.2.x/spring-framework-reference/html/xsd-configuration.html\">Spring 的 Schema 扩展</a> 进行加载。</p>\n<p>如果不想使用 Spring 配置,可以通过 <a href=\"./configuration/api.md\">API 的方式</a> 进行调用。</p>\n<h2>服务提供者</h2>\n<p>完整安装步骤,请参见:<a href=\"../admin/install/provider-demo.md\">示例提供者安装</a></p>\n<h3>定义服务接口</h3>\n<p>DemoService.java <sup class=\"footnote-ref\ [...]
   "link": "/zh-cn/docs/user/quick-start.html",
   "meta": {
     "title": "快速启动",