This is where a contemporary IDE will be very helpful.
Please note that if Maven didn't work for you for some reason, the code
package for this chapter contains the complete project tree created by
Maven, and you can start further work from it.
Chapter 2
[ 27 ]
Install NetBeans
Even if you decided to use Eclipse, I still recommend you to read this section as
starting a new project in NetBeans is significantly simpler.
Go to http://www.netbeans.info/downloads and download the latest package
for your platform. Install it with all the default options. Your working environment
is ready.
Now let us use NetBeans to work with the project created for us by Maven.
Start the IDE and in its menu choose File | New Project... (or press the second from
the left button on the toolbar). You will see the New Project dialog opened. In it,
select Web under Categories and Web Application with Existing Sources under
Projects, as shown in the following figure, and click on Next:
Creating Your Working Environment
[ 28 ]
In the next dialog, click on the Browse... button next to Location, and navigate to
the directory of the new project created by Maven (C:\tapestry5\work\t5first, if you
accepted my choice of naming).
Pages:
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54