tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Tapestry > Dependencies, Tools and Plugins
Date Wed, 04 May 2011 23:41:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/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/Dependencies%2C+Tools+and+Plugins">Dependencies,
Tools and Plugins</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~bobharner">Bob
Harner</a>
    </h4>
        <div id="versionComment">
        <b>Comment:</b>
        Updated tapestry version number to 5.2.5<br />
    </div>
        <br/>
                         <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" >There are plugins available for Eclipse,
but we will not be using those here; instead, we&#39;ll use Maven to generate Eclipse
control files for us. <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >h1. Tapestry <span class="diff-changed-words">5.2.<span
class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">4</span><span
class="diff-added-chars"style="background-color: #dfd;">5</span></span> <br></td></tr>
            <tr><td class="diff-unchanged" > <br>You should not have to
download this directly; as we&#39;ll see, Maven should take care of downloading Tapestry,
and its dependencies, as needed. <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <style type='text/css'>/*<![CDATA[*/
table.ScrollbarTable  {border: none;padding: 3px;width: 100%;padding: 3px;margin: 0px;background-color:
#f0f0f0}
table.ScrollbarTable td.ScrollbarPrevIcon {text-align: center;width: 16px;border: none;}
table.ScrollbarTable td.ScrollbarPrevName {text-align: left;border: none;}
table.ScrollbarTable td.ScrollbarParent {text-align: center;border: none;}
table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;}
table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;}

/*]]>*/</style><div class="Scrollbar"><table class='ScrollbarTable'><tr><td
width='33%' class='ScrollbarPrevName'>&nbsp;</td><td width='33%' class='ScrollbarParent'><sup><a
href="/confluence/display/TAPESTRY/Tapestry+Tutorial"><img border='0' align='middle'
src='/confluence/images/icons/up_16.gif' width='8' height='8'></a></sup><a
href="/confluence/display/TAPESTRY/Tapestry+Tutorial">Tapestry Tutorial</a></td><td
width='33%' class='ScrollbarNextName'>&nbsp;<a href="/confluence/display/TAPESTRY/Creating+The+Skeleton+Application">Creating
The Skeleton Application</a></td><td class='ScrollbarNextIcon'><a href="/confluence/display/TAPESTRY/Creating+The+Skeleton+Application"><img
border='0' align='middle' src='/confluence/images/icons/forwd_16.gif' width='16' height='16'></a></td></tr></table></div>

<p>As much as we would like to dive into Tapestry right now, we must first talk about
setting up 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 Acronyms) 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>

<h1><a name="Dependencies%2CToolsandPlugins-JDK1.5orNewer"></a>JDK 1.5 or
Newer</h1>

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

<h1><a name="Dependencies%2CToolsandPlugins-EclipseHelios%283.6.1orNewer%29"></a>Eclipse
Helios (3.6.1 or Newer)</h1>

<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>.  We recommend the Eclipse IDE for Java Developers.</p>

<h1><a name="Dependencies%2CToolsandPlugins-Jetty"></a>Jetty</h1>

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

<h1><a name="Dependencies%2CToolsandPlugins-RunJettyRunEclipsePlugin"></a>RunJettyRun
Eclipse Plugin</h1>

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

<h1><a name="Dependencies%2CToolsandPlugins-Maven2.2.1"></a>Maven 2.2.1</h1>

<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 here; instead,
we'll use Maven to generate Eclipse control files for us.</p>

<h1><a name="Dependencies%2CToolsandPlugins-Tapestry5.2.5"></a>Tapestry
5.2.5</h1>

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

<style type='text/css'>/*<![CDATA[*/
table.ScrollbarTable  {border: none;padding: 3px;width: 100%;padding: 3px;margin: 0px;background-color:
#f0f0f0}
table.ScrollbarTable td.ScrollbarPrevIcon {text-align: center;width: 16px;border: none;}
table.ScrollbarTable td.ScrollbarPrevName {text-align: left;border: none;}
table.ScrollbarTable td.ScrollbarParent {text-align: center;border: none;}
table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;}
table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;}

/*]]>*/</style><div class="Scrollbar"><table class='ScrollbarTable'><tr><td
width='33%' class='ScrollbarPrevName'>&nbsp;</td><td width='33%' class='ScrollbarParent'><sup><a
href="/confluence/display/TAPESTRY/Tapestry+Tutorial"><img border='0' align='middle'
src='/confluence/images/icons/up_16.gif' width='8' height='8'></a></sup><a
href="/confluence/display/TAPESTRY/Tapestry+Tutorial">Tapestry Tutorial</a></td><td
width='33%' class='ScrollbarNextName'>&nbsp;<a href="/confluence/display/TAPESTRY/Creating+The+Skeleton+Application">Creating
The Skeleton Application</a></td><td class='ScrollbarNextIcon'><a href="/confluence/display/TAPESTRY/Creating+The+Skeleton+Application"><img
border='0' align='middle' src='/confluence/images/icons/forwd_16.gif' width='16' height='16'></a></td></tr></table></div>
    </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/Dependencies%2C+Tools+and+Plugins">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=23340345&revisedVersion=17&originalVersion=16">View
Changes</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message