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 2013/09/26 06:34:47 UTC

svn commit: r1526382 - /incubator/olingo/site/trunk/content/doc/tutorials/read_media-resource.mdtext

Author: mibo
Date: Thu Sep 26 04:34:47 2013
New Revision: 1526382

URL: http://svn.apache.org/r1526382
Log:
CMS commit to olingo by mibo

Modified:
    incubator/olingo/site/trunk/content/doc/tutorials/read_media-resource.mdtext

Modified: incubator/olingo/site/trunk/content/doc/tutorials/read_media-resource.mdtext
URL: http://svn.apache.org/viewvc/incubator/olingo/site/trunk/content/doc/tutorials/read_media-resource.mdtext?rev=1526382&r1=1526381&r2=1526382&view=diff
==============================================================================
--- incubator/olingo/site/trunk/content/doc/tutorials/read_media-resource.mdtext (original)
+++ incubator/olingo/site/trunk/content/doc/tutorials/read_media-resource.mdtext Thu Sep 26 04:34:47 2013
@@ -37,15 +37,16 @@ If you like to directly experiment with 
   - Download and unzip the [Olingo Tutorial 'Basic Read with Media Resource extension' Project](apache-olingo-tutorial-adv_read_mediaresource) to your local drive 
   - Start the command line tool and run maven in the folder *read.scenario.media-resource-extension* to build the war file which then can be deployed. 
   - Deploy the resulting war to your favorite application server. For the LJS copy the war into the *$LJS_HOME/pickup* folder and start the server via `$LJS_HOME/go.sh`. 
-  - Optional: To import the sample project into Eclipse run the following steps: 
-    - Start the command line tool and run mvn eclipse:eclipse clean install in the folder *read.scenario.media-resource-extension* to generate the Eclipse project settings and do an initial build. 
+  - Optional: To import the sample project into Eclipse run the following steps:
+    - Start the command line tool and run `mvn eclipse:eclipse clean install` in the folder *read.scenario.media-resource-extension* to generate the Eclipse project settings and do an initial build. 
     - Go into Eclipse and import the project into your workspace by...
-       - Menue "File" -> "Import..."
-       - "Existing projects into workspace" then choose the olingo.odata2.sample folder
-       - Select both projects olingo.odata2.sample.service and olingo.odata2.sample.web and press "Finish"
+      - Menue "File" -> "Import..."
+      - "Existing projects into workspace" then choose the olingo.odata2.sample folder
+      - Select both projects olingo.odata2.sample.service and olingo.odata2.sample.web and press "Finish"
 
 ## Hints
-- Sometimes a code extension needs one or more new/additional imports. These are not shown in the examples because it would blow up the source code examples and normally the IDE should support an auto fix of missing imports during typing of the code or after an insert of copied code. 
+  - Sometimes a code extension needs one or more new/additional imports. These are not shown in the examples because it would blow up the source code examples and normally the IDE should support an auto fix of missing imports during typing of the code or after an insert of copied code. 
+
 ## Extend Read Scenario
 The steps to extend the read scenario (already with `$expand` support) with support for a Driver which is a media link entry with an associated media resource and therefore contains an image as media is to override and implement the `readEntityMedia(uriInfo:GetMediaResourceUriInfo, contentType:String):ODataResponse` method within the `MyODataSingleProcessor`.