<html><head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title xmlns:d="http://docbook.org/ns/docbook">Chapter 1. Setup</title><link rel="stylesheet" type="text/css" href="css/cayenne-doc.css"><meta xmlns:d="http://docbook.org/ns/docbook" name="keywords" content="Cayenne 3.1 documentation"><meta xmlns:d="http://docbook.org/ns/docbook" name="description" content="User documentation for Apache Cayenne version 3.1"><link rel="home" href="index.html" title="Getting Started with Cayenne"><link rel="up" href="getting-started-part1.html" title="Part I. Setting up the environment"><link rel="prev" href="getting-started-part1.html" title="Part I. Setting up the environment"><link rel="next" href="getting-started-part2.html" title="Part II. Learning mapping basics"><script xmlns:d="http://docbook.org/ns/docbook" type="text/javascript"> | |
var _gaq = _gaq || []; | |
_gaq.push(['_setAccount', 'UA-7036673-1']); | |
_gaq.push(['_trackPageview']); | |
(function() { | |
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | |
})(); | |
</script></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook" class="navheader"><table width="100%" summary="Navigation header"><tr><th class="versioninfo">v.3.1 (3.1)</th><th align="center">Chapter 1. Setup</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="getting-started-part1.html">Prev</a> </td><th width="60%" align="center"><a accesskey="u" href="getting-started-part1.html">Part I. Setting up the environment</a></th><td width="20%" align="right"> <a accesskey="n" href="getting-started-part2.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 1. Setup"><div class="titlepage"><div><div><h2 class="title"><a name="d0e24"></a>Chapter 1. Setup</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="ch01.html#install-java">Install Java</a></span></dt><dt><span class="section"><a href="ch01.html#install-eclipse-and-maven">Install Eclipse IDE and the Maven Plugin</a></span></dt></dl></div><p> The goal of this chapter of the tutorial is to install (or check that you already have | |
installed) a minimally needed set of software to build a Cayenne application. </p><div class="section" title="Install Java"><div class="titlepage"><div><div><h2 class="title"><a name="install-java"></a>Install Java</h2></div></div></div><p> | |
Obviously, JDK has to be installed. Cayenne 3.1 requires JDK 1.5 or newer. | |
</p></div><div class="section" title="Install Eclipse IDE and the Maven Plugin"><div class="titlepage"><div><div><h2 class="title"><a name="install-eclipse-and-maven"></a>Install Eclipse IDE and the Maven Plugin</h2></div></div></div><p> Download Eclipse. This tutorial is based on the Galileo package (Eclipse 3.5), JEE | |
edition, still it should work with any recent vanilla Eclipse distribution. </p><p> After downloading Eclipse, unpack it somewhere in the filesystem, and start it. The | |
only plugin that you need for the tutorial is m2eclipse. To install it, in Eclipse go to | |
"Help > Install New Software", then click on "Add.." to add a new download site, and | |
enter "Maven" in the "Name" field, and "<span class="italic">http://m2eclipse.sonatype.org/sites/m2e</span>" in the "Location" field. You | |
may install any of the optional components that you think you need, but for this | |
tutorial we only select a few basic components as shown on the following screenshot: </p><p> | |
<span class="inlinemediaobject"><img src="images/maven-plugin-install.png"></span></p><p> | |
From here follow the Eclipse dialog instructions to finish the installation. | |
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="getting-started-part1.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="getting-started-part1.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="getting-started-part2.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Part I. Setting up the environment </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Part II. Learning mapping basics</td></tr></table></div></body></html> |