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 2014/01/22 06:25:05 UTC
svn commit: r1560254 -
/incubator/olingo/site/trunk/content/doc/sample-setup.mdtext
Author: mibo
Date: Wed Jan 22 05:25:05 2014
New Revision: 1560254
URL: http://svn.apache.org/r1560254
Log:
CMS commit to olingo by mibo
Modified:
incubator/olingo/site/trunk/content/doc/sample-setup.mdtext
Modified: incubator/olingo/site/trunk/content/doc/sample-setup.mdtext
URL: http://svn.apache.org/viewvc/incubator/olingo/site/trunk/content/doc/sample-setup.mdtext?rev=1560254&r1=1560253&r2=1560254&view=diff
==============================================================================
--- incubator/olingo/site/trunk/content/doc/sample-setup.mdtext (original)
+++ incubator/olingo/site/trunk/content/doc/sample-setup.mdtext Wed Jan 22 05:25:05 2014
@@ -58,17 +58,14 @@ To generate the sample project for the `
If an archetype is not available via Maven standard configuration then an additional parameter `-DarchetypeRepository=http://repository.apache.org/snapshots` can solve the issue.
-Based on the Olingo project template Maven will generate a new project with
-the specified GAV*) coordinates: `com.sample:my-car-service:1.0.0-SNAPSHOT`.
-GAV coordinates can be freely chosen.
-
-If the interactive mode is true then Maven will ask for GAV coordinates.
+Based on the Olingo project template Maven will generate a new project with the specified GAV*) coordinates: `com.sample:my-car-service:1.0.0-SNAPSHOT`.
+GAV coordinates can be freely chosen during generation with the interactive mode. To enable the interactive mode `-DinteractiveMode` must be set to true or omitted (to use Maven default setting of `true`).
The result is a new and ready to build Maven project. Switch to *my-car-service* directory and execute:
mvn clean install
-If a Apache Olingo dependency is not available via Maven standard configuration then adding the Apache Maven Repository (or in case you want to use SNAPSHOTS the Apache Snapshot Repository) into your Maven `settings.xml` or the `pom.xml` of this project can solve the issue.
+If a Apache Olingo dependency is not available via Maven standard configuration than adding the Apache Maven Repository (or in case you want to use SNAPSHOTS the Apache Snapshot Repository) into your Maven `settings.xml` or the `pom.xml` of this project can solve the issue.
â¦
<repositories>
@@ -87,12 +84,14 @@ If a Apache Olingo dependency is not ava
â¦
-Maven will build the project with the result **car-service.war** in the Maven
-*target* directory. This can be deployed to any JEE compliant application server.
-Call the OData service with this URI in a browser:
+Maven will build the project with the result **car-service.war** in the Maven *target* directory.
+This can be deployed to any JEE compliant web application server.
+To call the deployed and running OData service enter this URI in a browser:
http://localhost:8080/my-car-service/
+Which show a entry page for the generated sample service with links to the *Metadata* (`$metadata`), *Service Document* and some *sample data* which it provides.
+
*) GAV means a Maven groupId, artifactId and version.
### Eclipse IDE Support