Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Changed from {code} to {panel} for long maven command to allow wrapping for better presentation and ease of use

...

You can play with Tapestry via our live demonstration applications. To start you can have a look at the Hotel Booking Demo that has been developed by contributors and committers. The whole source code is available at github so you can download and play with it.

...

One you have Maven installed, execute the following command (copy and paste it as-is)

Footnote

If you prefer, just mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org will work as well, and you will be prompted for the other details interactively.

:

Panelnoformat
bgColorwhite

mvn

-DarchetypeVersion=5.2.4

-Darchetype.interactive=false

-DgroupId=com.example

-DarchetypeArtifactId=quickstart

-Dversion=1.0-SNAPSHOT

-DarchetypeGroupId=org.apache.tapestry

-Dpackage=com.example.newapp

-DartifactId=newapp

--batch-mode

-DarchetypeRepository=http://tapestry.apache.org

archetype:generate

Maven will (after performing a large 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 newapp directory.

...