| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
| "http://www.w3.org/TR/html4/loose.dtd"> | |
| <!-- | |
| Licensed to the Apache Software Foundation (ASF) under one | |
| or more contributor license agreements. See the NOTICE file | |
| distributed with this work for additional information | |
| regarding copyright ownership. The ASF licenses this file | |
| to you under the Apache License, Version 2.0 (the | |
| "License"); you may not use this file except in compliance | |
| with the License. You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, | |
| software distributed under the License is distributed on an | |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
| KIND, either express or implied. See the License for the | |
| specific language governing permissions and limitations | |
| under the License. | |
| --> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> | |
| <meta name="description" lang="en" content="Apache Click Java web application framework"/> | |
| <meta name="keywords" lang="en" content="Apache Click, Click, Click Framework, Java, JEE, J2EE, web application framework, open source"/> | |
| <title>Apache Click</title> | |
| <link rel="stylesheet" type="text/css" href="../help.css"/> | |
| <style rel="stylesheet" type="text/css"> | |
| .heading { | |
| margin-top: 2em; | |
| } | |
| table { | |
| width: 670px; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <h1>Downloads</h1> | |
| <h2 class="heading">Apache Releases</h2> | |
| Please select a release from the table below. All releases are platform independent. | |
| <p/> | |
| <table cellspacing="1" cellpadding="8" class="click-table"> | |
| <thead> | |
| <tr> | |
| <th>Package</th> | |
| <th>PGP key</th> | |
| <th>MD5</th> | |
| <th>Version</th> | |
| <th>Release date</th> | |
| <th>Status</th> | |
| </tr> | |
| </thead> | |
| <tbody> | |
| <tr> | |
| <td><a target="_blank" class="external" href="http://www.apache.org/dyn/closer.cgi/click/click/2.3.0/click-2.3.0.zip"> | |
| click-2.3.0.zip</a></td> | |
| <td><a target="_blank" class="external" href="http://www.apache.org/dist/click/click/2.3.0/click-2.3.0.zip.asc">pgp</a></td> | |
| <td><a target="_blank" class="external" href="http://www.apache.org/dist/click/click/2.3.0/click-2.3.0.zip.md5">md5</a></td> | |
| <td>2.3.0</td> | |
| <td>2011-03-27</td> | |
| <td><b>Stable</b></td> | |
| </tr> | |
| <tr> | |
| <td><a target="_blank" class="external" href="http://archive.apache.org/dist/click/click"> | |
| archives</a> | |
| </td> | |
| <td></td> | |
| <td></td> | |
| <td></td> | |
| <td></td> | |
| <td></td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| <p/> | |
| We strongly encourage our users to <a href="#verify">verify the integrity and authenticity</a> of each downloaded release. | |
| <p/> | |
| <h2 class="heading">Maven</h2> | |
| <p/> | |
| Click Maven bundles are also available from the Maven 2 repository | |
| <a target="_blank" class="external" href="http://repo1.maven.org/maven2/org/apache/click/">http://repo1.maven.org/maven2/org/apache/click/</a>. | |
| <p/> | |
| To include Click in your project add the following dependency in your <tt>pom.xml</tt>: | |
| <pre style="border: 1px solid #888888; padding: 1em; overflow: auto"> | |
| <!-- Specifying the artifactId click will include Click Core in your project --> | |
| <span class="tag"><dependency></span> | |
| <span class="tag"><groupId></span>org.apache.click<span class="tag"></groupId></span> | |
| <span class="tag"><artifactId></span>click-nodeps<span class="tag"></artifactId></span> | |
| <span class="tag"><version></span>X.X.X<span class="tag"></version></span> | |
| <span class="tag"><scope></span>compile<span class="tag"></scope></span> | |
| <span class="tag"></dependency></span> | |
| <!-- Specifying the artifactId click-extras will include Click Extras in your project --> | |
| <span class="tag"><dependency></span> | |
| <span class="tag"><groupId></span>org.apache.click<span class="tag"></groupId></span> | |
| <span class="tag"><artifactId></span>click-extras<span class="tag"></artifactId></span> | |
| <span class="tag"><version></span>X.X.X<span class="tag"></version></span> | |
| <span class="tag"><scope></span>compile<span class="tag"></scope></span> | |
| <span class="tag"></dependency></span> | |
| </pre> | |
| Specify your Click version in the <tt>version</tt> tag e.g: <span class="tag"><version></span>2.2.0<span class="tag"></version></span> | |
| <p/> | |
| The following <tt>artifactId</tt>'s are available: | |
| <ul> | |
| <li> | |
| click | |
| </li> | |
| <li> | |
| click-extras | |
| </li> | |
| <li> | |
| click-mock | |
| </li> | |
| <li> | |
| click-nodeps | |
| </li> | |
| </ul> | |
| <h2 class="heading">ANT</h2> | |
| Click JARs can also be downloaded automatically into your project using ANT. The following ANT macro can be | |
| included in your <tt>build.xml</tt> file: | |
| <pre style="border: 1px solid #888888; padding: 1em; overflow: auto"> | |
| <span class="tag"><macrodef</span> name=<span class="red">"downloadMacro"</span><span class="tag">></span> | |
| <span class="tag"><attribute</span> name=<span class="red">"name"</span><span class="tag">/></span> | |
| <span class="tag"><attribute</span> name=<span class="red">"path"</span><span class="tag">/></span> | |
| <span class="tag"><sequential></span> | |
| <span class="tag"><get</span> src=<span class="red">"${repository}/maven2/@{path}/@{name}"</span> | |
| dest=<span class="red">"lib/@{name}"</span> | |
| verbose=<span class="red">"true"</span> | |
| usetimestamp=<span class="red">"true"</span><span class="tag">/></span> | |
| <span class="tag"></sequential></span> | |
| <span class="tag"></macrodef></span> | |
| </pre> | |
| and than, using the following properties and task to get the JARs on demand: | |
| <pre style="border: 1px solid #888888; padding: 1em; overflow: auto"> | |
| <span class="tag"><property</span> name=<span class="red">"jar.click"</span> value=<span class="red">"click-${click.version}.jar"</span><span class="tag">/></span> | |
| <span class="tag"><property</span> name=<span class="red">"jar.click-extras"</span> value=<span class="red">"click-extras-${click.version}.jar"</span><span class="tag">/></span> | |
| <span class="tag"><property</span> name=<span class="red">"jar.click-mock"</span> value=<span class="red">"click-mock-${click.version}.jar"</span><span class="tag">/></span> | |
| <span class="tag"><property</span> name=<span class="red">"repository"</span> value=<span class="red">"http://repo1.maven.org"</span><span class="tag">/></span> | |
| <span class="tag"><target</span> name=<span class="red">"get-deps"</span> description=<span class="red">"download JAR dependencies"</span><span class="tag">></span> | |
| <span class="tag"><downloadMacro</span> name=<span class="red">"${jar.click}"</span> path=<span class="red">"org/apache/click/click/${click.version}"</span><span class="tag">/></span> | |
| <span class="tag"><downloadMacro</span> name=<span class="red">"${jar.click-extras}"</span> path=<span class="red">"org/apache/click/click-extras/${click.version}"</span><span class="tag">/></span> | |
| <span class="tag"><downloadMacro</span> name=<span class="red">"${jar.click-mock}"</span> path=<span class="red">"org/apache/click/click-mock/${click.version}"</span><span class="tag">/></span> | |
| <!-- Include here other required dependencies too. --> | |
| <span class="tag"></target></span> | |
| </pre> | |
| <p/> | |
| <a name="verify"> </a> | |
| <h2 class="heading">Verifying the Downloads</h2> | |
| All Click releases are digitally signed: in order to ensure their integrity and authenticity. Details about the signing | |
| process employed at Apache.org can be found <a href="http://www.apache.org/dev/release-signing.html">here</a>. | |
| <p/> | |
| <b>MD5</b> can be used to verify the integrity of a downloaded Click release, by: | |
| <ol> | |
| <li>regenerating the checksum with: <pre style="border: 1px solid #888888; padding: 1em; overflow: auto">md5sum click-2.2.0.zip</pre></li> | |
| <li>and comparing this result with to the downloaded checksum, e.g. by using: | |
| <ul> | |
| <li><a class="external" target="_blank" href="http://technet.microsoft.com/en-us/library/bb490883.aspx"><tt>COMP</tt></a> on Windows.</li> | |
| <li><a class="external" target="_blank" href="http://en.wikipedia.org/wiki/Diff#Usage"><tt>diff</tt></a> on Linux and UNIX.</li> | |
| </ul> | |
| </li> | |
| </ol> | |
| <p/> | |
| <b>PGP</b> signatures can be verified by using <a class="external" target="_blank" href="http://www.gnupg.org/">GnuPG</a> | |
| <i>(there is also a <a class="external" target="_blank" href="http://www.gpg4win.org/">Windows</a> port available)</i>. | |
| In order to verify the PGP signature of a Click release, the following steps might help: | |
| <ol> | |
| <li>download the <a class="external" target="_blank" href="http://svn.apache.org/repos/asf/click/trunk/click/KEYS">KEYS</a> file</li> | |
| <li>import the KEYS into GnuPG: <pre style="border: 1px solid #888888; padding: 1em; overflow: auto">gpg --import KEYS</pre></li> | |
| <li>download the ASC files from the <a target="_blank" href="http://www.apache.org/dist/click/click/">main distribution site</a> only!</li> | |
| <li>run the verification process:<pre style="border: 1px solid #888888; padding: 1em; overflow: auto">gpg --verify click-2.2.0.zip.asc</pre></li> | |
| </ol> | |
| <p/> | |
| <!-- FOOTER --> | |
| <div id="footer"> | |
| <hr/> | |
| <p> | |
| <a target='_blank' href='http://www.apache.org' title='Apache Software Foundation'> | |
| <img id="asf-logo" src="http://www.apache.org/images/asf-logo.gif" alt="Apache Software Foundation"/> | |
| </a> | |
| Copyright © 2001-2013 Apache Software Foundation. Apache Click, | |
| Click, Apache, the Apache feather logo, and the Apache Click project logo are | |
| trademarks of The Apache Software Foundation. | |
| <a href="http://cayenne.apache.org/privacy-policy.html">Privacy policy.</a> | |
| </p> | |
| </div> | |
| </body> | |
| </html> |