Getting StartedPage edited by Kalle KorhonenChanges (0)
Full ContentSee it live !For introduction, watch a Tapestry 5 – 10 Minute Demo (by Mark W Shead). You can also 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. Create your first Tapestry projectThe easiest way to get started is to use Apache Maven to create your initial project; Maven can use an archetype (a kind of project template) to create a bare-bones Tapestry application for you. Once you have Maven installed, execute the following command (copy and paste it as-is) 1 : 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. (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.) To run the skeleton application, change to the newapp directory and execute: mvn jetty:run After some more one-time downloads you can open your browser to http://localhost:8080 to see the application running.
Change Notification Preferences
View Online
|
View Changes
|
- [CONF] Apache Tapestry > Getting Started confluence
- [CONF] Apache Tapestry > Getting Started confluence
- [CONF] Apache Tapestry > Getting Started confluence
- [CONF] Apache Tapestry > Getting Started confluence
- [CONF] Apache Tapestry > Getting Started confluence
