You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@tomee.apache.org by bu...@apache.org on 2014/01/26 18:21:10 UTC

svn commit: r895479 - in /websites/staging/tomee/trunk: cgi-bin/ content/ content/tomee-mp-getting-started.html

Author: buildbot
Date: Sun Jan 26 17:21:10 2014
New Revision: 895479

Log:
Staging update by buildbot for tomee

Modified:
    websites/staging/tomee/trunk/cgi-bin/   (props changed)
    websites/staging/tomee/trunk/content/   (props changed)
    websites/staging/tomee/trunk/content/tomee-mp-getting-started.html

Propchange: websites/staging/tomee/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Jan 26 17:21:10 2014
@@ -1 +1 @@
-1560440
+1561519

Propchange: websites/staging/tomee/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Jan 26 17:21:10 2014
@@ -1 +1 @@
-1560440
+1561519

Modified: websites/staging/tomee/trunk/content/tomee-mp-getting-started.html
==============================================================================
--- websites/staging/tomee/trunk/content/tomee-mp-getting-started.html (original)
+++ websites/staging/tomee/trunk/content/tomee-mp-getting-started.html Sun Jan 26 17:21:10 2014
@@ -130,9 +130,9 @@
 
 <p>TomEE provides a maven-archetype for generating a maven based project. This template-project is preconfigured with <code>javaee-api</code> (scope provided) and with the <code>tomee-maven-plugin</code> for starting the application with TomEE.</p>
 
-<p>The current version of the archetype is '1.0.1'. So the needed command to generate an application is:</p>
+<p>The current version of the archetype is '1.6.0'. So the needed command to generate an application is:</p>
 
-<pre><code>mvn archetype:generate -DarchetypeGroupId=org.apache.openejb.maven -DarchetypeArtifactId=tomee-webapp-archetype -DarchetypeVersion=1.0.1
+<pre><code>mvn archetype:generate -DarchetypeGroupId=org.apache.openejb.maven -DarchetypeArtifactId=tomee-webapp-archetype -DarchetypeVersion=1.6.0
 </code></pre>
 
 <p>The first time you run this command maven downloads the archetype and some parts related to it. Afterwards you see a prompt which allows you to specify the groupId, artifactId, version and package of your application.
@@ -170,15 +170,10 @@ Once those parts are downloaded, startin
 
 <h1>Accessing a started application</h1>
 
-<p>The application gets deployed to <code>target/apache-tomee/webapps</code>. If everything worked correctly, you should see two directories ('tomee' and 'tomee-demo-1.0') as well as a web-archive ('tomee-demo-1.0.war').
-The mentioned directories are also the context-paths you can access. In our example the generated application contains a servlet mapped to '/index'. So you can access it via:</p>
+<p>The application gets deployed to <code>target/apache-tomee/webapps</code>. If everything worked correctly, you should see a directory ('ROOT') as well as a web-archive ('ROOT.war').
+The context-paths of the deployed application is ROOT. In our example the generated application contains a servlet mapped to '/index'. So you can access it via:</p>
 
-<pre><code>http://localhost:8080/[artifactId]-[version]/index
-</code></pre>
-
-<p>e.g.:</p>
-
-<pre><code>http://localhost:8080/tomee-demo-1.0/index
+<pre><code>http://localhost:8080/index
 </code></pre>