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 Wed, 17 Nov 2010 17:27:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/9/12/_/styles/combined.css?spaceKey=TAPESTRY&amp;forWysiwyg=true"
type="text/css">
    </head>
<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>
        <br/>
                         <h4>Changes (2)</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" >Tapestry 5 makes use of features of
JDK 1.5. This includes Java Annotations, and a little bit of Java Generics. <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >h3. Eclipse Helios <span class="diff-added-words"style="background-color:
#dfd;">(3.6.1)</span> <br></td></tr>
            <tr><td class="diff-unchanged" > <br>Since we&#39;re emphasizing
a free and open source stack, we&#39;ll concentrate on the best _free_ IDE. <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >{note} <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >Eclipse <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">3.3</span>
comes in various flavors, and includes a reasonable XML editor built-in. <span class="diff-added-words"style="background-color:
#dfd;"> It can be [downloaded from the eclipse.org web site|http://www.eclipse.org/downloads/].
 I use the Eclipse IDE for Java Developers.</span> <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h3. Jetty <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
        </table>
</div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h2><a name="Environment-Chapter1%3ASettingUpYourEnvironment"></a>Chapter
1: Setting Up Your Environment</h2>

<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
machine.</p>

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

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

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

<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
IDEs.</td></tr></table></div>

<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>

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

<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>

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

<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>


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

<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 doing 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>

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

<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>
        <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>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/TAPESTRY/Environment">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=23340345&revisedVersion=7&originalVersion=6">View
Changes</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message