Author: jensg
Date: Mon May 26 22:27:39 2014
New Revision: 1597659
URL: http://svn.apache.org/r1597659
Log:
THRIFT-2487: Tutorial requires two IDL files but only one is linked from the
Thrift web site
Patch: Jens Geyer
Modified:
thrift/site/content/tutorial.md
thrift/site/layouts/tutorial_intro.md
thrift/site/publish/tutorial/as3/index.html
thrift/site/publish/tutorial/c_glib/index.html
thrift/site/publish/tutorial/cocoa/index.html
thrift/site/publish/tutorial/cpp/index.html
thrift/site/publish/tutorial/csharp/index.html
thrift/site/publish/tutorial/d/index.html
thrift/site/publish/tutorial/delphi/index.html
thrift/site/publish/tutorial/erl/index.html
thrift/site/publish/tutorial/go/index.html
thrift/site/publish/tutorial/graphiz/index.html
thrift/site/publish/tutorial/graphviz/index.html
thrift/site/publish/tutorial/hs/index.html
thrift/site/publish/tutorial/index.html
thrift/site/publish/tutorial/java/index.html
thrift/site/publish/tutorial/javame/index.html
thrift/site/publish/tutorial/js/index.html
thrift/site/publish/tutorial/nodejs/index.html
thrift/site/publish/tutorial/ocaml/index.html
thrift/site/publish/tutorial/perl/index.html
thrift/site/publish/tutorial/php/index.html
thrift/site/publish/tutorial/py/index.html
thrift/site/publish/tutorial/rb/index.html
thrift/site/publish/tutorial/st/index.html
Modified: thrift/site/content/tutorial.md
URL:
http://svn.apache.org/viewvc/thrift/site/content/tutorial.md?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/content/tutorial.md (original)
+++ thrift/site/content/tutorial.md Mon May 26 22:27:39 2014
@@ -16,14 +16,21 @@ title: "Tutorial"
See the [Building from source](/docs/BuildingFromSource/) guide for any
help with this step.
* ### Writing a .thrift file
- After the Thrift compiler is installed you will need to create a thrift
file. This file is an [interface definition](/docs/idl/) made up of [thrift
types](/docs/types/) and Services. The services you define in this file are
implemented by the server and are called by any clients.
+ After the Thrift compiler is installed you will need to create a
.thrift file. This file is an [interface definition](/docs/idl/) made up of
[thrift types](/docs/types/) and Services. The services you define in this file
are implemented by the server and are called by any clients.
* ### Generate Thrift file to source code
-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
+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
thrift --gen <language> <Thrift filename>
- The sample
[tutorial.thrift](https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift)
file defines a basic calculator service. This will be used to demonstrate both
the client and server.
+ To recursivly generate source code from a Thrift file and all other
Thrift files included by it, run
+
+ thrift -r --gen <language> <Thrift filename>
+
+ The sample
[tutorial.thrift](https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift)
+ file defines a basic calculator service. This sample calculator service
.thrift file includes another file called
+
[shared.thrift](https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift).
+ Both files will be used to demonstrate how to build a Thrift client and
server pair.
## Examples Clients and Servers
<ul>
Modified: thrift/site/layouts/tutorial_intro.md
URL:
http://svn.apache.org/viewvc/thrift/site/layouts/tutorial_intro.md?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/layouts/tutorial_intro.md (original)
+++ thrift/site/layouts/tutorial_intro.md Mon May 26 22:27:39 2014
@@ -5,7 +5,7 @@
All Apache Thrift tutorials require that you have:
1. Built and installed the Apache Thrift Compiler and Libraries, see [Building
from source](/docs/BuildingFromSource/) for more details.
-1. Generated the
[tutorial.thrift](https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift)
file as [discussed here](/tutorial/)
+1. Generated the
[tutorial.thrift](https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift)
and
[shared.thrift](https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift)
files as [discussed here](/tutorial/)
thrift -r --gen <%= item[:library_lang] %> tutorial.thrift
Modified: thrift/site/publish/tutorial/as3/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/as3/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/as3/index.html (original)
+++ thrift/site/publish/tutorial/as3/index.html Mon May 26 22:27:39 2014
@@ -75,7 +75,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen as3 tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/c_glib/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/c_glib/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/c_glib/index.html (original)
+++ thrift/site/publish/tutorial/c_glib/index.html Mon May 26 22:27:39 2014
@@ -77,7 +77,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen c_glib tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/cocoa/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/cocoa/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/cocoa/index.html (original)
+++ thrift/site/publish/tutorial/cocoa/index.html Mon May 26 22:27:39 2014
@@ -77,7 +77,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen cocoa tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/cpp/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/cpp/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/cpp/index.html (original)
+++ thrift/site/publish/tutorial/cpp/index.html Mon May 26 22:27:39 2014
@@ -75,7 +75,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen cpp tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/csharp/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/csharp/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/csharp/index.html (original)
+++ thrift/site/publish/tutorial/csharp/index.html Mon May 26 22:27:39 2014
@@ -75,7 +75,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen csharp tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/d/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/d/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/d/index.html (original)
+++ thrift/site/publish/tutorial/d/index.html Mon May 26 22:27:39 2014
@@ -75,7 +75,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen d tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/delphi/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/delphi/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/delphi/index.html (original)
+++ thrift/site/publish/tutorial/delphi/index.html Mon May 26 22:27:39 2014
@@ -75,7 +75,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen delphi tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/erl/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/erl/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/erl/index.html (original)
+++ thrift/site/publish/tutorial/erl/index.html Mon May 26 22:27:39 2014
@@ -77,7 +77,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen erl tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/go/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/go/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/go/index.html (original)
+++ thrift/site/publish/tutorial/go/index.html Mon May 26 22:27:39 2014
@@ -75,7 +75,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen go tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/graphiz/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/graphiz/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/graphiz/index.html (original)
+++ thrift/site/publish/tutorial/graphiz/index.html Mon May 26 22:27:39 2014
@@ -75,7 +75,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler, see <a
href="/docs/install/">installing Thrift</a> for more details. </li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen cpp tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/graphviz/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/graphviz/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/graphviz/index.html (original)
+++ thrift/site/publish/tutorial/graphviz/index.html Mon May 26 22:27:39 2014
@@ -75,7 +75,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen cpp tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/hs/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/hs/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/hs/index.html (original)
+++ thrift/site/publish/tutorial/hs/index.html Mon May 26 22:27:39 2014
@@ -75,7 +75,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen hs tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/index.html (original)
+++ thrift/site/publish/tutorial/index.html Mon May 26 22:27:39 2014
@@ -88,17 +88,23 @@ See the <a href="/docs/BuildingFromSourc
<li>
<h3>Writing a .thrift file</h3>
-<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.</p>
+<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.</p>
</li>
<li>
<h3>Generate Thrift file to source code</h3>
-<p>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>
+<p>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>
-<p>The sample <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file defines a basic calculator service. This will be used to demonstrate both
the client and server.</p>
+<p>To recursivly generate source code from a Thrift file and all other Thrift
files included by it, run</p>
+
+<pre><code>thrift -r --gen <language> <Thrift filename>
+</code></pre>
+
+<p>The sample <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file defines a basic calculator service. This sample calculator service
.thrift file includes another file called <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>.
Both files will be used to demonstrate how to build a Thrift client and server
pair.</p>
+
</li>
</ul><h2>Examples Clients and Servers</h2>
Modified: thrift/site/publish/tutorial/java/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/java/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/java/index.html (original)
+++ thrift/site/publish/tutorial/java/index.html Mon May 26 22:27:39 2014
@@ -75,7 +75,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen java tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/javame/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/javame/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/javame/index.html (original)
+++ thrift/site/publish/tutorial/javame/index.html Mon May 26 22:27:39 2014
@@ -77,7 +77,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen javame tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/js/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/js/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/js/index.html (original)
+++ thrift/site/publish/tutorial/js/index.html Mon May 26 22:27:39 2014
@@ -75,7 +75,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen js tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/nodejs/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/nodejs/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/nodejs/index.html (original)
+++ thrift/site/publish/tutorial/nodejs/index.html Mon May 26 22:27:39 2014
@@ -75,7 +75,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen js:node tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/ocaml/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/ocaml/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/ocaml/index.html (original)
+++ thrift/site/publish/tutorial/ocaml/index.html Mon May 26 22:27:39 2014
@@ -75,7 +75,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen ocaml tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/perl/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/perl/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/perl/index.html (original)
+++ thrift/site/publish/tutorial/perl/index.html Mon May 26 22:27:39 2014
@@ -75,7 +75,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen perl tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/php/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/php/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/php/index.html (original)
+++ thrift/site/publish/tutorial/php/index.html Mon May 26 22:27:39 2014
@@ -75,7 +75,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen php tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/py/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/py/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/py/index.html (original)
+++ thrift/site/publish/tutorial/py/index.html Mon May 26 22:27:39 2014
@@ -75,7 +75,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen py tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/rb/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/rb/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/rb/index.html (original)
+++ thrift/site/publish/tutorial/rb/index.html Mon May 26 22:27:39 2014
@@ -75,7 +75,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen rb tutorial.thrift
</code></pre>
Modified: thrift/site/publish/tutorial/st/index.html
URL:
http://svn.apache.org/viewvc/thrift/site/publish/tutorial/st/index.html?rev=1597659&r1=1597658&r2=1597659&view=diff
==============================================================================
--- thrift/site/publish/tutorial/st/index.html (original)
+++ thrift/site/publish/tutorial/st/index.html Mon May 26 22:27:39 2014
@@ -77,7 +77,7 @@
<ol>
<li>Built and installed the Apache Thrift Compiler and Libraries, see <a
href="/docs/BuildingFromSource/">Building from source</a> for more details.</li>
<li>
-<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
file as <a href="/tutorial/">discussed here</a></p>
+<p>Generated the <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/tutorial.thrift">tutorial.thrift</a>
and <a
href="https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=tutorial/shared.thrift">shared.thrift</a>
files as <a href="/tutorial/">discussed here</a></p>
<pre><code>thrift -r --gen st tutorial.thrift
</code></pre>