Author: buildbot
Date: Wed Nov 30 01:19:38 2016
New Revision: 1001860
Log:
Production update by buildbot for tapestry
Modified:
websites/production/tapestry/content/cache/main.pageCache
websites/production/tapestry/content/getting-started.html
Modified: websites/production/tapestry/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/tapestry/content/getting-started.html
==============================================================================
--- websites/production/tapestry/content/getting-started.html (original)
+++ websites/production/tapestry/content/getting-started.html Wed Nov 30
01:19:38 2016
@@ -27,6 +27,15 @@
</title>
<link type="text/css" rel="stylesheet" href="/resources/space.css" />
+ <link href='/resources/highlighter/styles/shCoreCXF.css'
rel='stylesheet' type='text/css' />
+ <link href='/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet'
type='text/css' />
+ <script src='/resources/highlighter/scripts/shCore.js'
type='text/javascript'></script>
+ <script src='/resources/highlighter/scripts/shBrushPlain.js'
type='text/javascript'></script>
+ <script src='/resources/highlighter/scripts/shBrushBash.js'
type='text/javascript'></script>
+ <script>
+ SyntaxHighlighter.defaults['toolbar'] = false;
+ SyntaxHighlighter.all();
+ </script>
<link href="/styles/style.css" rel="stylesheet" type="text/css"/>
@@ -86,8 +95,8 @@
<a href="introduction.html">Introduction</a>
</div> </li></ul></div><p> </p><p>Getting started with Tapestry is
easy, and you have lots of ways to begin: watch a video, browse the source code
of a working demo app, create a skeleton app using Maven, or step through the
tutorial.</p><h2 id="GettingStarted-Watchashortvideo">Watch a short
video</h2><p>For a fast-paced introduction, watch Mark W. Shead's <a
class="external-link"
href="http://blog.markshead.com/900/tapestry-5-10-minute-demo/"
rel="nofollow">10 Minute Demo</a>. This video shows how to set up a simple
Tapestry application, complete with form validation, Hibernate-based
persistence, and Ajax. The video provides a preview of the development speed
and productivity that experienced Tapestry users enjoy.</p><h2
id="GettingStarted-Playwithaworkingdemoapp">Play with a working demo
app</h2><p>You can also play with Tapestry via our live demonstration
applications. To start, have a look at the <a class="external-link"
href="https://tapestry-app.apache.org/hotels/">Ho
tel Booking Demo</a>. The <a class="external-link"
href="http://github.com/bobharner/tapestry5-hotel-booking-5.4/"
rel="nofollow">source code</a> is provided so you can download and play with
it.</p><h2 id="GettingStarted-CreateyourfirstTapestryproject">Create your first
Tapestry project</h2><p>The easiest way to start a new app is to use <a
class="external-link" href="http://maven.apache.org">Apache Maven</a> to create
your initial project; Maven can use an <em>archetype</em> (a kind of project
template) to create a bare-bones Tapestry application for you.</p><p>Once you
have Maven installed, execute the following command:</p><div
class="preformatted panel" style="border-width: 1px;"><div
class="preformattedContent panelContent">
<pre>mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org</pre>
-</div></div><p><span style="line-height: 1.4285715;">Maven will prompt you for
the archetype to create ("Tapestry 5 Quickstart Project") and the exact version
number (e.g., "5.4.0"). It also asks you for a group id, an artifact id, and a
version number. </span></p><div class="confluence-information-macro
confluence-information-macro-note"><span class="aui-icon aui-icon-small
aui-iconfont-warning confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>Use a staging URI if you want to
get an archetype for a not-yet-released version of
Tapestry.</p></div></div><p><span style="line-height: 1.4285715;">You can see
this in the following transcript:</span></p><div class="preformatted panel"
style="border-width: 1px;"><div class="preformattedContent panelContent">
-<pre>$ mvn archetype:generate
-DarchetypeCatalog=https://repository.apache.org/content/repositories/staging
+</div></div><p><span style="line-height: 1.4285715;">Maven will prompt you for
the archetype to create ("Tapestry 5 Quickstart Project") and the exact version
number (e.g., "5.4.1"). It also asks you for a group id, an artifact id, and a
version number. </span></p><div class="confluence-information-macro
confluence-information-macro-note"><span class="aui-icon aui-icon-small
aui-iconfont-warning confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>Use a staging URI if you want to
get an archetype for a not-yet-released version of
Tapestry.</p></div></div><p><span style="line-height: 1.4285715;">You can see
this in the following transcript:</span></p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<pre class="brush: text; gutter: false; theme: Default"
style="font-size:12px;">$ mvn archetype:generate
-DarchetypeCatalog=https://repository.apache.org/content/repositories/staging
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
@@ -102,28 +111,16 @@
[INFO] Generating project in Interactive mode
[INFO] No archetype defined. Using maven-archetype-quickstart
(org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
-...
-5: https://repository.apache.org/content/repositories/staging ->
org.apache.tapestry:quickstart (-)
-...
-Choose a number or apply filter (format: [groupId:]artifactId, case sensitive
contains): 105: 5
-Choose org.apache.tapestry:quickstart version:
-1: 5.3
-2: 5.3.1
-3: 5.3.2
-4: 5.3.3-rc-1
-5: 5.3.3
-6: 5.3.4
-7: 5.3.5
-8: 5.3.6
-9: 5.3.7
-10: 5.3.8
-11: 5.4-beta-3
-12: 5.4-beta-6
-13: 5.4-beta-22
-14: 5.4-beta-26
-15: 5.4-beta-27
-16: 5.4-beta-28
-Choose a number: 16: 16
+1: http://tapestry.apache.org -> org.apache.tapestry:quickstart (Tapestry 5
Quickstart Project)
+2: http://tapestry.apache.org -> org.apache.tapestry:tapestry-archetype
(Tapestry 4.1.6 Archetype)
+Choose a number or apply filter (format: [groupId:]artifactId, case sensitive
contains): : 1
+Choose org.apache.tapestry:quickstart version:
+1: 5.0.19
+2: 5.1.0.5
+3: 5.2.6
+4: 5.3.7
+5: 5.4.1
+Choose a number: 5: 5
Define value for property 'groupId': : com.example
Define value for property 'artifactId': : newapp
Define value for property 'version': 1.0-SNAPSHOT: :
@@ -135,7 +132,7 @@ version: 1.0-SNAPSHOT
package: com.example.newapp
Y: :
[INFO]
----------------------------------------------------------------------------
-[INFO] Using following parameters for creating project from Archetype:
quickstart:5.4-beta-28
+[INFO] Using following parameters for creating project from Archetype:
quickstart:5.4.1
[INFO]
----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.example
[INFO] Parameter: artifactId, Value: newapp
@@ -156,8 +153,8 @@ package: com.example.newapp
[INFO] ------------------------------------------------------------------------
~/workspaces/tapestry/tapestry-doc-examples
$</pre>
-</div></div><p>Maven will (after performing a number of one-time downloads)
create a skeleton project ready to run. Because we specified an artifactId of
"newapp", the project is created in the <code>newapp</code> directory. (Note:
if you get "Unable to get resource" warnings at this stage, you may be behind a
firewall which blocks outbound HTTP requests to Maven repositories.)</p><p>To
run the skeleton application, change to the <code>newapp</code> directory and
execute:</p><div class="preformatted panel" style="border-width: 1px;"><div
class="preformattedContent panelContent">
-<pre>$ mvn jetty:run
+</div></div><p><span style="line-height: 1.4285715;"><br
clear="none"></span></p><p>Maven will (after performing a number of one-time
downloads) create a skeleton project ready to run. Because we specified an
artifactId of "newapp", the project is created in the <code>newapp</code>
directory. (Note: if you get "Unable to get resource" warnings at this stage,
you may be behind a firewall which blocks outbound HTTP requests to Maven
repositories.)</p><p>To run the skeleton application, change to the
<code>newapp</code> directory and execute:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<pre class="brush: bash; gutter: false; theme: Default"
style="font-size:12px;">$ mvn jetty:run
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
@@ -171,13 +168,11 @@ Application 'app' (version 1.0-SNAPSHOT-
/_ __/__ ____ ___ ___ / /_______ __ / __/
/ / / _ `/ _ \/ -_|_-</ __/ __/ // / /__ \
/_/ \_,_/ .__/\__/___/\__/_/ \_, / /____/
- /_/ /___/ 5.4-beta-28 (development mode)
+ /_/ /___/ 5.4.1 (development mode)
[INFO] Started [email protected]:8080
-[INFO] Started Jetty Server
-
-</pre>
-</div></div><p>After some more one-time downloads you can open your browser to
<a class="external-link" href="http://localhost:8080/newapp"
rel="nofollow">http://localhost:8080/newapp</a> to see the application
running:</p><p><span class="confluence-embedded-file-wrapper
image-center-wrapper confluence-embedded-manual-size"><img
class="confluence-embedded-image confluence-content-image-border image-center"
height="488" width="500"
src="getting-started.data/newapp_Index.png"></span></p><p>The application
consists of three pages sharing a common look and feel. The initial page,
Index, allows you to perform some basic operations.</p><p>You can also load the
newly-created project it into any IDE and start coding. See the next section on
where to find the different components of the application.</p><h2
id="GettingStarted-Exploringthegeneratedproject">Exploring the generated
project</h2><p>The archetype creates the following files:</p><div
class="preformatted panel" style="border-width:
1px;"><div class="preformattedContent panelContent">
+[INFO] Started Jetty Server</pre>
+</div></div><p> </p><p>After some more one-time downloads you can open
your browser to <a class="external-link" href="http://localhost:8080/newapp"
rel="nofollow">http://localhost:8080/newapp</a> to see the application
running:</p><p><span class="confluence-embedded-file-wrapper
image-center-wrapper confluence-embedded-manual-size"><img
class="confluence-embedded-image confluence-content-image-border image-center"
height="488" width="500"
src="getting-started.data/newapp_Index.png"></span></p><p>The application
consists of three pages sharing a common look and feel. The initial page,
Index, allows you to perform some basic operations.</p><p>You can also load the
newly-created project it into any IDE and start coding. See the next section on
where to find the different components of the application.</p><h2
id="GettingStarted-Exploringthegeneratedproject">Exploring the generated
project</h2><p>The archetype creates the following files:</p><div
class="preformatted panel" style="b
order-width: 1px;"><div class="preformattedContent panelContent">
<pre>newapp/
├── build.gradle
├── gradle