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/15 08:55:41 UTC

svn commit: r1558315 - /incubator/olingo/site/trunk/content/doc/tutorials/AnnotationProcessorExtension.mdtext

Author: mibo
Date: Wed Jan 15 07:55:41 2014
New Revision: 1558315

URL: http://svn.apache.org/r1558315
Log:
Shortcut

Added:
    incubator/olingo/site/trunk/content/doc/tutorials/AnnotationProcessorExtension.mdtext   (with props)

Added: incubator/olingo/site/trunk/content/doc/tutorials/AnnotationProcessorExtension.mdtext
URL: http://svn.apache.org/viewvc/incubator/olingo/site/trunk/content/doc/tutorials/AnnotationProcessorExtension.mdtext?rev=1558315&view=auto
==============================================================================
--- incubator/olingo/site/trunk/content/doc/tutorials/AnnotationProcessorExtension.mdtext (added)
+++ incubator/olingo/site/trunk/content/doc/tutorials/AnnotationProcessorExtension.mdtext Wed Jan 15 07:55:41 2014
@@ -0,0 +1,52 @@
+Title:
+Notice:    Licensed to the Apache Software Foundation (ASF) under one
+           or more contributor license agreements.  See the NOTICE file
+           distributed with this work for additional information
+           regarding copyright ownership.  The ASF licenses this file
+           to you under the Apache License, Version 2.0 (the
+           "License"); you may not use this file except in compliance
+           with the License.  You may obtain a copy of the License at
+           .
+             http://www.apache.org/licenses/LICENSE-2.0
+           .
+           Unless required by applicable law or agreed to in writing,
+           software distributed under the License is distributed on an
+           "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+           KIND, either express or implied.  See the License for the
+           specific language governing permissions and limitations
+           under the License.
+
+# Creating a Web Application with the Annotation Processor Extension
+
+## Shortcut: Creation via Archetype
+As a shortcut it is possible to create a sample project which use the Annotation Processor Extension via a Maven Archetype. 
+Therefore Maven must be called as shown below:
+
+```
+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-incubating 
+  -DarchetypeVersion=1.1.0-SNAPSHOT
+```
+
+In the generated sample project you now can simply run Maven with the default goal (run `mvn` in the shell) which compiles the sources and starts an Jetty web server at `http://localhost:8080`.
+
+For more detailed documentation about Archetypes in Olingo take a look into the [sample setup](doc/sample-setup) section.
+
+## Creation from Scratch
+
+### Create pom.xml
+
+### Create Model
+
+### Create ODataService
+
+### Deploy
+
+## Deeper look
+
+A more detailed look into the Annotation Processor Extension can be found in the [wiki](https://wiki.apache.org/Olingo/Documentation/AnnotationProcessor).

Propchange: incubator/olingo/site/trunk/content/doc/tutorials/AnnotationProcessorExtension.mdtext
------------------------------------------------------------------------------
    svn:eol-style = native