You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by bu...@apache.org on 2015/03/29 13:43:28 UTC
svn commit: r945505 - in /websites/staging/olingo/trunk/content: ./
doc/odata2/tutorials/OlingoV2BasicClientSample.html
Author: buildbot
Date: Sun Mar 29 11:43:27 2015
New Revision: 945505
Log:
Staging update by buildbot for olingo
Modified:
websites/staging/olingo/trunk/content/ (props changed)
websites/staging/olingo/trunk/content/doc/odata2/tutorials/OlingoV2BasicClientSample.html
Propchange: websites/staging/olingo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Mar 29 11:43:27 2015
@@ -1 +1 @@
-1666382
+1669897
Modified: websites/staging/olingo/trunk/content/doc/odata2/tutorials/OlingoV2BasicClientSample.html
==============================================================================
--- websites/staging/olingo/trunk/content/doc/odata2/tutorials/OlingoV2BasicClientSample.html (original)
+++ websites/staging/olingo/trunk/content/doc/odata2/tutorials/OlingoV2BasicClientSample.html Sun Mar 29 11:43:27 2015
@@ -107,22 +107,24 @@ Therefore it just requires an installed
<li>In project folder <code>ClientSample</code> run <code>mvn</code> to build the project.</li>
</ol>
</li>
-<li>Create and start sample Service (<a href="#sampleservice">more details</a>)<ol>
-<li>Go to <code>$ROOT</code> and create service project from archetype via
-<div class="codehilite">
-mvn archetype:generate
- -DinteractiveMode=false
- -Dversion=1.0.0-SNAPSHOT
- -DgroupId=com.sample
- -DartifactId=my-car-service
- -DarchetypeGroupId=org.apache.olingo
- -DarchetypeArtifactId=olingo-odata2-sample-cars-annotation-archetype
- -DarchetypeVersion=2.0.0
-</div> </li>
-<li>Go into from archetype created folder <code>my-car-service</code> and just run <code>mvn</code> to start the Sample Service on a <em>Jetty Web Server</em> at <a href="http://localhost:8080">http://localhost:8080</a>.</li>
-</ol>
+<li>
+<p>Create and start sample Service (<a href="#sampleservice">more details</a>)</p>
+<ol>
+<li>
+<p>Go to <code>$ROOT</code> and create service project from archetype via</p>
+<p><code>mvn archetype:generate \
+ -DinteractiveMode=false \
+ -Dversion=1.0.0-SNAPSHOT \
+ -DgroupId=com.sample \
+ -DartifactId=my-car-service \
+ -DarchetypeGroupId=org.apache.olingo \
+ -DarchetypeArtifactId=olingo-odata2-sample-cars-annotation-archetype \
+ -DarchetypeVersion=2.0.0</code></p>
+</li>
+<li>
+<p>Go into from archetype created folder <code>my-car-service</code> and just run <code>mvn</code> to start the Sample Service on a <em>Jetty Web Server</em> at <a href="http://localhost:8080">http://localhost:8080</a>.</p>
</li>
-<li>Run <code>OlingoSampleApp</code> against sample Service (<a href="#runsample">more details</a>)<ol>
+<li>Run <code>OlingoSampleApp</code> against sample Service (<a href="#runsample">more details</a>)</li>
<li>Go into sample project folder (<code>ClientSample</code>) and execute sample client via <code>java -cp target/OlingoSampleClient.jar org.apache.olingo.sample.client.OlingoSampleApp</code>.</li>
<li>Now the result of the <em>read metadata</em>, <em>read/create/update/delete data</em> calls is printed as well as the corresponding <em>JSON</em> requests and response body. Within the following section <a href="#start">Explaining the Client</a> the therefore implemented client methods are shown and explained.</li>
</ol>