Book Image

Tapestry 5: Building Web Applications

Book Image

Tapestry 5: Building Web Applications

Overview of this book

Table of Contents (17 chapters)
Tapestry 5
Credits
About the Author
About the Reviewers
Preface
Foreword
Where to Go Next

Configuring the Project in Eclipse


Start Eclipse and close the Welcome screen.

There are different ways of creating a web application from the existing skeleton in Eclipse. However, the one I find the simplest and most convenient is to import the WAR file created for us by Maven.

In the menu, select File | Import..., and in the dialog that opens select WAR file, as shown in the following screenshot, and click on Next.

In the next dialog, click on the Browse... button next to the WAR file text field, navigate to the t5first.war file created by Maven and select it.

Press New... next to Target runtime and in the dialog that opens, select the version of Tomcat that you have installed in the previous section, and click on Next. This is shown in the following screenshot:

In the next dialog, you need to tell Eclipse where exactly you have installed Tomcat. Click on the Browse... button, navigate to the installation directory, select it, and click on Finish.

The final result of the server selection...