Strictly Programming

Simple steps to create a Tapestry 5 project

Posted in Tapestry 5 by sqllyw on 11/14/2008

A few steps to create a tapestry 5 project, just a note for my reference, you can refer to this link: Tapestry 5 tutorial for complete reference

cd to a directory

mvn archetype:generate -DarchetypeCatalog=

Some dialogs as follows:

1: -> quickstart (Tapestry Quickstart Project)
Choose a number: : 1
Define value for property ‘groupId’: : learning
Define value for property ‘artifactId’: : tutorial1
Define value for property ‘version’: 1.0-SNAPSHOT:
Define value for property ‘package’: learning: learnit
Confirm properties configuration:
groupId: learning
artifactId: tutorial1
version: 1.0-SNAPSHOT
package: learnit
Y: Y

You will see a directory named tutoiral1 created, under java directory, you see learnit, that comes from ‘package’, usually this is the same as groupId unless you want it to be different.

cd tutorial1
mvn jetty:run

use your browser to open ‘localhost:8080’ you should see the program running.

if you want to build from IDEA, you can follow the instructions given in this link

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: