tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Tapestry > Environment
Date Thu, 18 Nov 2010 00:56:00 GMT
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/9/12/_/styles/combined.css?spaceKey=TAPESTRY&amp;forWysiwyg=true"
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/TAPESTRY/Environment">Environment</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~hlship">Howard
M. Lewis Ship</a>
                         <h4>Changes (1)</h4>
<div id="page-diffs">
            <table class="diff" cellpadding="0" cellspacing="0">
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >You can install RunJettyRun using
Eclipse&#39;s _Install New Software..._ menu item; the update URL is [http://run-jetty-run.googlecode.com/svn/trunk/updatesite].
<br> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">This
tutorial was written with RunJettyRun version 1.1.1. <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h2. Maven 2.2.1 <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
</div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h1><a name="Environment-Chapter1%3ASettingUpYourEnvironment"></a>Chapter
1: Setting Up Your Environment</h1>

<p>As much as I would like to dive into Tapestry right now, we must first talk about
your development environment. The joy and the pain of Java development is the volume of choice
available. There's just a bewildering number of JDKs, IDEs and other TLAs (Three Letter Acryonyms)
out there.</p>

<p>Let's talk about a stack of tools, all open source and freely available, that you'll
need to setup. Likely you have some of these, or some version of these, already on your development

<h2><a name="Environment-JDK1.5"></a>JDK 1.5</h2>

<p>Tapestry 5 makes use of features of JDK 1.5. This includes Java Annotations, and
a little bit of Java Generics.</p>

<h2><a name="Environment-EclipseHelios%283.6.1%29"></a>Eclipse Helios (3.6.1)</h2>

<p>Since we're emphasizing a free and open source stack, we'll concentrate on the best
<em>free</em> IDE.</p>

<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td
valign='top'><img src="/confluence/images/icons/emoticons/warning.gif" width="16" height="16"
align="absmiddle" alt="" border="0"></td><td>Ok, sure, IntelliJ is now free
as well. And NetBeans has gotten really nice. Feel free to adapt these instructions to those

<p>Eclipse comes in various flavors, and includes a reasonable XML editor built-in.
 It can be <a href="http://www.eclipse.org/downloads/" class="external-link" rel="nofollow">downloaded
from the eclipse.org web site</a>.  I use the Eclipse IDE for Java Developers.</p>

<h2><a name="Environment-Jetty"></a>Jetty</h2>

<p>Jetty is an open source servlet container created by Greg Wilkins of Webtide (which
offers commercial support for Jetty). Jetty is high performance and designed for easy embedding
in other software.</p>

<h2><a name="Environment-RunJettyRunEclipsePlugin"></a>RunJettyRun Eclipse

<p><a href="http://code.google.com/p/run-jetty-run/" class="external-link" rel="nofollow">RunJettyRun</a>
is a very simple Eclipse plugin that bundles a version of Jetty (Jetty 6 at this writing)
so that you can create Eclipse launches that start Jetty to execute your web application.</p>

<p>You can install RunJettyRun using Eclipse's <em>Install New Software...</em>
menu item; the update URL is <a href="http://run-jetty-run.googlecode.com/svn/trunk/updatesite"
class="external-link" rel="nofollow">http://run-jetty-run.googlecode.com/svn/trunk/updatesite</a>.</p>

<p>This tutorial was written with RunJettyRun version 1.1.1.</p>

<h2><a name="Environment-Maven2.2.1"></a>Maven 2.2.1</h2>

<p>Maven is a software build tool of rather epic ambitions. It has a very sophisticated
plugin system that allows it to do virtually anything, though compiling Java code, building
WAR and JAR files, and creating reports and web sites are its forte.</p>

<p>Perhaps the biggest advantage of Maven over, say, Ant, is that it can download project
dependencies (such as the Tapestry JAR files, and the JAR files Tapestry itself depends on)
automatically for you, from one of several central repositories.</p>

<p>Maven is not essential for using Tapestry, but is especially helpful when performing
the initial setup of a Tapestry application.</p>

<p>Maven 2.2.1 is available from <a href="http://maven.apache.org/download.html"
class="external-link" rel="nofollow">http://maven.apache.org/download.html</a>.</p>

<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td
valign='top'><img src="/confluence/images/icons/emoticons/warning.gif" width="16" height="16"
align="absmiddle" alt="" border="0"></td><td>Maven 3.0 is now available but
we have not tested the tutorial against it.</td></tr></table></div>

<p>There are plugins available for Eclipse, but we will not be using those; instead,
we'll use Maven to generate Eclipse control files for us.</p>

<h2><a name="Environment-Tapestry5.2.4"></a>Tapestry 5.2.4</h2>

<p>You should not have to download this directly; as we'll see, Maven should take care
of downloading Tapestry, and its dependencies, as needed.</p>

<p><a href="/confluence/display/TAPESTRY/First" title="First">Continue on to Chapter
2: Your First Tapestry Application</a></p>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        <a href="https://cwiki.apache.org/confluence/display/TAPESTRY/Environment">View
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=23340345&revisedVersion=9&originalVersion=8">View

View raw message