Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Okay, let's get started creating our new project.

Tip

The instructions below use Eclipse's New Project wizard to create the project from a Maven archetype. If you'd rather use the mvn command line, see the Getting Started instructions, then skip to Creating The Skeleton Application page.


In Eclipse, go to File > New > Project... > Maven > Maven Project

...

On the Select an Archetype dialog (shown below), select the newly-added Apache Tapestry catalog, then select the "quickstart" artifact from the list and click Next.

 


Note: Screenshots in this tutorial may show different (either newer or older) versions of Tapestry than you may see.

...

Tapestry runs best with a couple of additional options; click the "JRE" tab and enter the following VM Arguments:

Pre

-XX:MaxPermSize=256M-Xmx600m

-Dtapestry.execution-mode=development

...

Here's how it looks:


Finally, click Run.

...

You can now open a web browser to http://localhost:8080/tutorial1/ to see the running application:

 

HTML
<div style="clear: both"></div>


NOTE: Your screen may look very different depending on the version of Tapestry you are using!

...

This is a complete little web app; it doesn't do much, but it demonstrate how to create a number of pages sharing a common layout, and demonstrates some simple navigation and link handling. You can see that it has several different pages that share a common layout. (Layout is a loose term meaning common look and feel and navigation across many or all of the pages of an application. Often an application will include a Layout component to provide that commonness.)

Next: Creating The Skeleton Application Exploring the Project

Scrollbar