You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by mi...@apache.org on 2015/03/29 13:43:15 UTC
svn commit: r1669897 -
/olingo/site/trunk/content/doc/odata2/tutorials/OlingoV2BasicClientSample.mdtext
Author: mibo
Date: Sun Mar 29 11:43:14 2015
New Revision: 1669897
URL: http://svn.apache.org/r1669897
Log:
CMS commit to olingo by mibo
Modified:
olingo/site/trunk/content/doc/odata2/tutorials/OlingoV2BasicClientSample.mdtext
Modified: olingo/site/trunk/content/doc/odata2/tutorials/OlingoV2BasicClientSample.mdtext
URL: http://svn.apache.org/viewvc/olingo/site/trunk/content/doc/odata2/tutorials/OlingoV2BasicClientSample.mdtext?rev=1669897&r1=1669896&r2=1669897&view=diff
==============================================================================
--- olingo/site/trunk/content/doc/odata2/tutorials/OlingoV2BasicClientSample.mdtext (original)
+++ olingo/site/trunk/content/doc/odata2/tutorials/OlingoV2BasicClientSample.mdtext Sun Mar 29 11:43:14 2015
@@ -40,16 +40,18 @@ Therefore it just requires an installed
5. In project folder `ClientSample` run `mvn` to build the project.
1. Create and start sample Service ([more details](#sampleservice))
1. Go to `$ROOT` 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>
+
+ ```
+ 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
+ ```
+
3. Go into from archetype created folder `my-car-service` and just run `mvn` to start the Sample Service on a *Jetty Web Server* at [http://localhost:8080](http://localhost:8080).
4. Run `OlingoSampleApp` against sample Service ([more details](#runsample))
1. Go into sample project folder (`ClientSample`) and execute sample client via `java -cp target/OlingoSampleClient.jar org.apache.olingo.sample.client.OlingoSampleApp`.