Author: hcorg
Date: Sun Oct 11 18:34:46 2015
New Revision: 1708007
URL: http://svn.apache.org/viewvc?rev=1708007&view=rev
Log:
tutorial.thrift lines changed
Modified:
thrift/cms-site/trunk/content/index.html
Modified: thrift/cms-site/trunk/content/index.html
URL:
http://svn.apache.org/viewvc/thrift/cms-site/trunk/content/index.html?rev=1708007&r1=1708006&r2=1708007&view=diff
==============================================================================
--- thrift/cms-site/trunk/content/index.html (original)
+++ thrift/cms-site/trunk/content/index.html Sun Oct 11 18:34:46 2015
@@ -20,9 +20,7 @@
<li>
<b>Writing a .thrift file</b>
<p>After the Thrift compiler is installed you will need to create a
thrift file. This file is an <a href="/docs/idl">interface definition</a> made
up of <a href="/docs/types">thrift types</a> and Services. The services you
define in this file are implemented by the server and are called by any
clients. The Thrift compiler is used to generate your Thrift File into source
code which is used by the different client libraries and the server you write.
To generate the source from a thrift file run</p>
- <pre>
- <code>thrift --gen <language> <Thrift filename></code>
- </pre>
+ <pre><code>thrift --gen <language> <Thrift
filename></code></pre>
<p>The sample tutorial.thrift file used for all the client and
server tutorials can be found <a
href="https://git-wip-us.apache.org/repos/asf/thrift/?p=thrift.git;a=tree;f=tutorial">here</a>.
</p>
</li>
</ul>
@@ -70,7 +68,7 @@
</ul>
<div class="tab-content">
<div class="tab-pane active" id="1">
- [snippet:path=tutorial/tutorial.thrift:lang=text:lines=123,145]
+ [snippet:path=tutorial/tutorial.thrift:lang=text:lines=125,147]
</div>
<div class="tab-pane" id="2">
[snippet:path=tutorial/py/PythonClient.py:lang=python:lines=36,55]