Kurzbeschreibung
Overview
This book gives an introduction into using the Eclipse IDE for Java development. It assumes no previous knowledge of the Eclipse IDE.
This book demonstrates how you can develop Java applications, how you can debug them and how to write JUnit tests for your applications. It also explains how you can work with local Mylyn tasks to organize your work efficiently.
It also includes important Eclipse configuration tips which make programming with Eclipse more effective.
After finishing this book you should feel comfortable with using the Eclipse IDE for standard Java development tasks and you should be equipped to explore Eclipse further.
The content of this book is also available online on the authors homepage in a slightly modified version.
The first chapter gives a short introduction what Eclipse is and how to install and start it.
The second chapter introduces the main user interface components of Eclipse and explains the usage of the JavaPerspective, the "Package Explorer" View and the "Problems" View.
The third chapter guides you through creating a new Java project in Eclipse. It also shows you how to run the Java programs inside and outside Eclipse.
In the fourth chapter we will look at some of the help Eclipse provides to write code. You learn how to use Quickfix and Content Assists in the Java editor to work more efficiently. You will also see some of the code generation capabilities of Eclipse.
Java libraries are distributed as .jar files. The fifth chapter introduces the usage of Java libraries and explains how to use them in a Java project. It also demonstrates how to add the source attachment and JavaDoc attachment to a library.
The sixth chapter explains how to use the Eclipse update manager and the "dropins" folder to add new functionality to your Eclipse installation.
The seventh chapter highlights useful settings in the Eclipse preferences which should help you to configure Eclipse to your needs. It also demonstrates how to use Working Sets to organize your code.
Using the Java debugger is part of the eighth chapter. You learn how to inspect variables and how to step through your code.
In the ninth chapter you will learn how to write JUnit tests to test your software components and how to execute them inside and outside Eclipse.
The tenth chapter is dedicated to local task management. The Mylyn software component helps the developer to deal with multiple tasks and highlights the relevant files for a given task.
The final chapter lists helpful web resources, which should help you in your journey to learn the Eclipse IDE and the Eclipse framework.
The appendix lists useful Eclipse shortcuts which should make any Eclipse programmer more efficient in using the Eclipse IDE.
How this book is organized
The first chapter gives a short introduction what Eclipse is and how to install and start it.
The second chapter introduces the main user interface components of Eclipse and explains the usage of the JavaPerspective, the "Package Explorer" View and the "Problems" View.
The third chapter guides you through creating a new Java project in Eclipse. It also shows you how to run the Java programs inside and outside Eclipse.
In the fourth chapter we will look at some of the help Eclipse provides to write code. You learn how to use Quickfix and Content Assists in the Java editor to work more efficiently. You will also see some of the code generation capabilities of Eclipse.
Java libraries are distributed as .jar files. The fifth chapter introduces the usage of Java libraries and explains how to use them in a Java project. It also demonstrates how to add the source attachment and JavaDoc attachment to a library.
The sixth chapter explains how to use the Eclipse update manager and the "dropins" folder to add new functionality to your Eclipse installation.
The seventh chapter highlights useful settings in the Eclipse preferences which should help you to configure Eclipse to your needs. It also demonstrates how to use Working Sets to organize your code.
Using the Java debugger is part of the eighth chapter. You learn how to inspect variables and how to step through your code.
In the ninth chapter you will learn how to write JUnit tests to test your software components and how to execute them inside and outside Eclipse.
The tenth chapter is dedicated to local task management. The Mylyn software component helps the developer to deal with multiple tasks and highlights the relevant files for a given task.
The final chapter lists helpful web resources, which should help you in your journey to learn the Eclipse IDE and the Eclipse framework.
The appendix lists useful Eclipse shortcuts which should make any Eclipse programmer more efficient in using the Eclipse IDE.

