Eclipse (software)

Eclipse is an integrated development environment (IDE) used in computer programming.[5] It contains a base workspace and an extensible plug-in system for customizing the environment. It is the second-most-popular IDE for Java development, and, until 2016, was the most popular.[6] Eclipse is written mostly in Java and its primary use is for developing Java applications,[7] but it may also be used to develop applications in other programming languages via plug-ins, including Ada, ABAP, C, C++, C#, Clojure, COBOL, D, Erlang, Fortran, Groovy, Haskell, JavaScript, Julia,[8] Lasso, Lua, NATURAL, Perl, PHP, Prolog, Python, R, Ruby (including Ruby on Rails framework), Rust, Scala, and Scheme. It can also be used to develop documents with LaTeX (via a TeXlipse plug-in) and packages for the software Mathematica. Development environments include the Eclipse Java development tools (JDT) for Java and Scala, Eclipse CDT for C/C++, and Eclipse PDT for PHP, among others.[9]

Eclipse
Original author(s)IBM
Developer(s)Eclipse Foundation
Initial release1.0 / 29 November 2001; 22 years ago (2001-11-29)[1]
Stable release
4.30.0[2] Edit this on Wikidata / 6 December 2023 (4 months ago)
Repositoryhttps://github.com/eclipse-platform/eclipse.platform
Written inJava, C[3]
Operating systemLinux, macOS, Windows
PlatformJava SE, Standard Widget Toolkit, x86-64, AArch64
Available in44 languages
List of languages
Albanian, Arabic, Basque, Bulgarian, Catalan, Chinese (simplified, traditional), Czech, Danish, Dutch, English (Australia, Canada), Estonian, Finnish, French, German, Greek, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Klingon, Korean, Kurdish, Lithuanian, Malayalam, Mongolian, Myanmar, Nepali, Norwegian, Persian, Polish, Portuguese (Portugal, Brazil), Romanian, Russian, Serbian, Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukrainian, Vietnamese[4]
TypeProgramming tool, integrated development environment (IDE)
LicenseEclipse Public License
Websiteeclipseide.org Edit this on Wikidata

The initial codebase originated from IBM VisualAge.[10] The Eclipse software development kit (SDK), which includes the Java development tools, is meant for Java developers. Users can extend its abilities by installing plug-ins written for the Eclipse Platform, such as development toolkits for other programming languages, and can write and contribute their own plug-ins. Since Eclipse 3.0 (released in 2004), plug-ins are installed and managed as "bundles" using Equinox, an implementation of OSGi.[11]

The Eclipse SDK is free and open-source software, released under the terms of the Eclipse Public License, although it is incompatible with the GNU General Public License.[12] It was one of the first IDEs to run under GNU Classpath and it runs without problems under IcedTea.

History

Eclipse was inspired by the Smalltalk-based VisualAge family of integrated development environment (IDE) products.[10] Although fairly successful, a major drawback of the VisualAge products was that developed code was not in a component-based software engineering model. Instead, all code for a project was held in a compressed database using SCID techniques (somewhat like a zip file but in .dat). Individual classes could not be easily accessed, certainly not outside the tool. A team primarily at the IBM Cary, NC lab developed the new product as a Java-based replacement.[13][failed verification]In November 2001, a consortium was formed with a board of stewards to further the development of Eclipse as open-source software. It is estimated that IBM had already invested nearly $40 million by that time.[14] The original members were Borland, IBM, Merant, QNX Software Systems, Rational Software, Red Hat, SuSE, TogetherSoft, and WebGain.[15] The number of stewards increased to over 80 by the end of 2003. In January 2004, the Eclipse Foundation was created.[16]

Eclipse 3.0 (released on 21 June 2004) selected the OSGi Service Platform specifications as the runtime architecture.[17]

The Association for Computing Machinery recognized Eclipse with the 2011 ACM Software System Award on 26 April 2012.[18]

Licensing

The Eclipse Public License (EPL) is the fundamental license under which Eclipse projects are released.[19] Some projects require dual licensing, for which the Eclipse Distribution License (EDL) is available, although use of this license must be applied for and is considered on a case-by-case basis.

Eclipse was originally released under the Common Public License, but was later re-licensed under the Eclipse Public License. The Free Software Foundation has said that both licenses are free software licenses, but are incompatible with the GNU General Public License (GPL).[20]

Name

According to Lee Nackman, Chief Technology Officer of IBM's Rational division (originating in 2003) at that time, the name "Eclipse" (dating from at least 2001) was not a wordplay on Sun Microsystems, as the product's primary competition at the time of naming was Microsoft Visual Studio, which Eclipse was to eclipse.[21]

Different versions of Eclipse have been given different science-related names. The versions named after Callisto, Europa, and Ganymede, which are moons of Jupiter, were followed by a version named after Galileo, the discoverer of those moons. These were followed by two sun-themed names, Helios of Greek mythology, and Indigo, one of the seven colors of a rainbow (which is produced by the sun). The version after that, Juno, has a triple meaning: a Roman mythological figure, an asteroid, and a spacecraft to Jupiter.[22] Kepler, Luna, and Mars continued the astronomy theme, and then Neon and Oxygen constituted a theme of chemical elements. Photon represented a return to sun-themed names.

As of 2018, the alphabetic scheme was abandoned in order to better align with the new Simultaneous Release strategy.[23] Releases are named in the format YYYY-MM to reflect the quarterly releases, starting with version 4.9 named 2018-09.[24]

Releases

Since 2006, the Foundation has coordinated an annual Simultaneous Release.[25] Each release includes the Eclipse Platform and several other Eclipse projects.

From 2008 through 2018, each Simultaneous Release had occurred on the 4th Wednesday of June. In 2018 the project switched to quarterly (13 week) YYYY-MM releases without intermediate service releases.[26]

Version nameDatePlatform versionProjectsMain changes
N/A29 November 2001[1]Old version, no longer maintained: 1.0A 1.3 level Java runtime or Java development kit must be installed on the machine in order to run this version of Eclipse.[27]
N/A18 September 2002[28]Old version, no longer maintained: 2.0
N/A15 April 2003[29]Old version, no longer maintained: 2.1A 1.4 level Java runtime or Java development kit (JDK) can also be used to run Eclipse. It is still possible to use a 1.3 level Java runtime or Java development kit (JDK).[30]
N/A21 June 2004[31]Old version, no longer maintained: 3.0A 1.4.1 level Java runtime or Java development kit must be installed on the machine in order to run this version of Eclipse.[32]
N/A28 June 2005Old version, no longer maintained: 3.1Added Java 5 support: generics, annotations, boxing-unboxing, enums, enhanced for loop, varargs, static imports[33]
Callisto26 June 2006[34]Old version, no longer maintained: 3.2Callisto projects[35]
Europa27 June 2007[34]Old version, no longer maintained: 3.3Europa projects[25]
Ganymede25 June 2008[34]Old version, no longer maintained: 3.4Ganymede projects[36]
Galileo24 June 2009[34]Old version, no longer maintained: 3.5Galileo projects[37]
Helios23 June 2010[34]Old version, no longer maintained: 3.6Helios projects[38]
Indigo22 June 2011[34]Old version, no longer maintained: 3.7Indigo projects[39]Added Java 7 support (3.7.1 sr1): Improved Type Inference for Generic Instance Creation (Diamond), Multi-catch, try-with-resources statement, Simplified Varargs Method Invocation, Strings in switch, Binary Literals and Underscores in Numeric Literals, Polymorphic Methods[40]
Juno27 June 2012[34]Old version, no longer maintained: 3.8 and 4.2[41]

[Notes 1]

Juno projects[44]
Kepler26 June 2013[34]Old version, no longer maintained: 4.3Kepler projects[45]A Java 6 JRE/JDK is recommended to run this version.[46]
Luna25 June 2014[34]Old version, no longer maintained: 4.4Luna projects[47]Integrated Java 8 support;[48] in the prior version, this was possible via a Java 8 patch plug-in.

A Java 7 JRE/JDK is required to run most of the packages based on this version.[46]

Mars24 June 2015[34]Old version, no longer maintained: 4.5Mars projects[49]A Java 7 JRE/JDK is required to run all packages based on this version.[46]
Neon22 June 2016[34]Old version, no longer maintained: 4.6Neon projects[50]A Java 8 JRE/JDK is required to run all packages based on this version.[46]
Oxygen28 June 2017[34]Old version, no longer maintained: 4.7Oxygen projects[51]Oxygen.1a introduced Java 9 and Junit 5 support and Oxygen.3a introduced Java 10 support.[52]

Dropped support for the following Unix based platforms: AIX, Solaris, HP-UX and s390.[53]From this version on, a Java 8 or newer JRE/JDK is required to run Eclipse.[46]

Photon27 June 2018[34]Old version, no longer maintained: 4.8Photon projects[54]Dropped support for 32bit Windows and Linux.
2018-0919 September 2018[34]Old version, no longer maintained: 4.92018-09 projects[55]
2018-1219 December 2018[34]Old version, no longer maintained: 4.102018-12 projects[56]Added support for Java 11.[57]
2019-0320 March 2019[34]Old version, no longer maintained: 4.112019-03 projects[58]
2019-0619 June 2019[34]Old version, no longer maintained: 4.122019-06 projects[59]
2019-0918 September 2019[34]Old version, no longer maintained: 4.132019-09 projects[60]
2019-1218 December 2019[34]Old version, no longer maintained: 4.142019-12 projects[61]
2020-0318 March 2020[34]Old version, no longer maintained: 4.152020-03 projects[62]Update support for Web Development languages, relying on Language Server Protocol
2020-0617 June 2020[34]Old version, no longer maintained: 4.162020-06 projects[63]
2020-0916 September 2020[34]Old version, no longer maintained: 4.172020-09 projects[64]From this version on, a Java 11 or newer JRE/JDK is required to run Eclipse.[46]
2020-1216 December 2020[34]Old version, no longer maintained: 4.182020-12 projects[65]A JDK is embedded into most packages, so a Java installation is not a prerequisite anymore.
2021-0317 March 2021[34]Old version, no longer maintained: 4.192021-03 projects[66]
2021-0616 June 2021[34]Old version, no longer maintained: 4.202021-06 projects[67]
2021-0915 September 2021[34]Old version, no longer maintained: 4.212021-09 projects[68]
2021-128 December 2021[34]Old version, no longer maintained: 4.222021-12 projects[69]
2022-0316 March 2022[34]Old version, no longer maintained: 4.232022-03 projects[70]
2022-0615 June 2022[34]Old version, no longer maintained: 4.242022-06 projects[71]
2022-0914 September 2022[34]Old version, no longer maintained: 4.252022-09 projects[72]From this version on, a Java 17 or newer JRE/JDK is required to run Eclipse.[46]
2022-127 December 2022[34]Old version, no longer maintained: 4.262022-12 projects[73]
2023-0315 March 2023[34]Old version, no longer maintained: 4.272023-03 projects[74]
2023-0614 June 2023[34]Old version, no longer maintained: 4.282023-06 projects[75]
2023-0913 September 2023[34]Old version, no longer maintained: 4.292023-09 projects[76]
2023-126 December 2023[34]Old version, no longer maintained: 4.302023-12 projects[77]
2024-0313 March 2024[34]Current stable version: 4.31[78]
2024-0612 June 2024[34]Future release: 4.32[79]
Legend:
Old version
Older version, still maintained
Latest version
Latest preview version
Future release

Architecture

Eclipse uses plug-ins to provide all the functionality within and on top of the run-time system. Its run-time system is based on Equinox, an implementation of the OSGi core framework specification.[80]

In addition to allowing the Eclipse Platform to be extended using other programming languages, such as C and Python, the plug-in framework allows the Eclipse Platform to work with typesetting languages like LaTeX[81] and networking applications such as telnet and database management systems. The plug-in architecture supports writing any desired extension to the environment, such as for configuration management. Java and CVS support is provided in the Eclipse SDK, with support for other version control systems provided by third-party plug-ins.

With the exception of a small run-time kernel, everything in Eclipse is a plug-in. Thus, every plug-in developed integrates with Eclipse in the same way as other plug-ins; in this respect, all features are "created equal".[82] Eclipse provides plug-ins for a wide variety of features, some of which are from third parties using both free and commercial models. Examples of plug-ins include for Unified Modeling Language (UML), for Sequence and other UML diagrams, a plug-in for DB Explorer, and many more.

The Eclipse SDK includes the Eclipse Java development tools (JDT), offering an IDE with a built-in Java incremental compiler and a full model of the Java source files. This allows for advanced refactoring techniques and code analysis. The IDE also makes use of a workspace, in this case a set of metadata over a flat filespace allowing external file modifications as long as the corresponding workspace resource is refreshed afterward.

Eclipse implements the graphical control elements of the Java toolkit called Standard Widget Toolkit (SWT), whereas most Java applications use the Java standard Abstract Window Toolkit (AWT), Swing, or JavaFX. Eclipse's user interface also uses an intermediate graphical user interface layer called JFace, which simplifies the construction of applications based on SWT. Eclipse was made to run on Wayland during a Google Summer of Code (GSoC) Project in 2014.[83]

As of 2017, language packs being developed by the Babel Project provide translations into over 40 natural languages.[4]

Rich client platform

Eclipse provides the rich client platform (RCP) for developing general-purpose applications.

The following components constitute the rich client platform:

Examples of rich client applications based on Eclipse are:

Server platform

Eclipse supports development for Tomcat, GlassFish and many other servers and is often capable of installing the required server (for development) directly from the IDE. It supports remote debugging, allowing a user to watch variables and step through the code of an application that is running on the attached server.

Web Tools Platform

The Eclipse Web Tools Platform (WTP) project is an extension of the Eclipse platform with tools for developing Web and Java EE applications. It includes source and graphical editors for a variety of languages, wizards and built-in applications to simplify development, and tools and APIs to support deploying, running, and testing apps.[85]

Modeling platform

The Modeling project contains all the official projects of the Eclipse Foundation focusing on model-based development technologies. All are compatible with the Eclipse Modeling Framework created by IBM. Those projects are separated in several categories: Model Transformation, Model Development Tools, Concrete Syntax Development, Abstract Syntax Development, Technology and Research, and Amalgam.

Model Transformation projects uses Eclipse Modeling Framework (EMF) based models as an input and produce either a model or text as an output. Model to model transformation projects includes ATLAS Transformation Language (ATL), an open source transformation language and toolkit used to transform a given model or to generate a new model from a given EMF model. Model to text transformation projects contains Acceleo, an implementation of MOFM2T, a standard model to text language from the Object Management Group (OMG). The Acceleo code generator can generate any textual language (Java, PHP, Python, etc.) from EMF based models defined with any metamodel (Unified Modeling Language (UML), Systems Modeling Language (SysML), etc.). It is open-source.

Model Development Tools projects are implementations of various modeling standards used in the industry, and their toolkits. Among those projects can be found implementations of several standards:

The Concrete Syntax Development project contains the Graphical Modeling Framework, an Eclipse-based framework dedicated to the graphical representation of EMF based models.[citation needed]

The Abstract Syntax Development project hosts the Eclipse Modeling Framework, core of most of the modeling project of the Eclipse Foundation and the framework available for EMF like Connected Data Objects (CDO), EMF query or EMF validation.

Technology and Research projects are prototypes of Modeling project; this project is used to host all the modeling projects of the Eclipse Foundation during their incubation phase.[citation needed]

Amalgam provides the packaging and integration between all the available modeling tools for the Eclipse package dedicated to modeling tools.[86]

Application lifecycle management

Application lifecycle management (ALM) and task management in Eclipse need an optional component called Mylyn (/ˈmlɪn/), an open-source implementation of the task-focused interface. It provides an API for tools embedding the task-focused interface. For software developers, it helps a developer work efficiently with many different tasks (such as bugs, problem reports or new features). Tasks are integrated into Mylyn. For all tasks that have been integrated, Mylyn monitors user activity and tries to identify information relevant to the task at hand. It uses this task context to focus the Eclipse UI on the related information. Mylyn can integrate with repositories such as Bugzilla, Trac, Redmine, Mantis,[87] JIRA, Unfuddle,[88] and GitHub.[89] It focuses on improving productivity by reducing searching, scrolling, and navigation. By making task context explicit, Mylyn is also meant to facilitate multitasking, planning, reusing past efforts, and sharing expertise.

The project name comes from myelin, an electrically insulating layer that surrounds neurons' axons.[90] The original name of this project, "Mylar", replicated a trademark of a boPET film company, so the Eclipse Foundation changed the project name.[91]

Features

Eclipse IDE features include text editor with syntax coloring, coding assistance, code completion, code refactoring, code analysis with "Quick fix" suggestions along with code debugging.[92]

Along with native support for OSGi, JPMS support has been added as of Java 9.[92]

Extensions

Eclipse supports a rich selection of extensions, adding support for Python via PyDev, Android development via Google's ADT (superseded by Android Studio since 2015), JavaFX via e(fx)clipse, JavaScript, jQuery, and many others at the Eclipse Marketplace. Valable is a Vala plug-in for Eclipse.[93]

In addition to the built in Java compiler warnings, additional plug-ins are available for linting to improve code quality and consistency such as SpotBugs and Sonar.[94][95]

Support for build tools such as Ant, Maven, Make, and CMake includes the capability to replace Eclipse native project file format with Maven pom.xml directly.[96]

Alternative distributions

Several alternative distributions exist in the Eclipse project.

PHP Development Tools

The PHP Hypertext Preprocessor (PHP) Development Tools project provides a framework for the Eclipse platform. The project encompasses all development components, including code-completion, develop PHP and facilitate extensibility. It leverages the existing Eclipse Web Tools Platform (WTP) and Dynamic Languages Toolkit (DLTK).[97]

Android Development Tools

Android Development Tools (ADT) was superseded in 2015 by the Eclipse foundation's own plugin, called Andmore: Development Tools for Android,[98] after Google discontinued development of their plug-in for the Eclipse IDE, that is designed to provide an integrated environment in which to build Android applications. ADT/Andmore extends the abilities of Eclipse to let developers set up new Android projects, create an application UI, add packages based on the Android Framework API, debug their applications using the Android SDK tools, and export signed (or unsigned) .apk files in order to distribute their applications. It is freely available to download. Googles' ADT was the official IDE for Android until 2015 but was replaced by Eclipse's Andmore and the official Android Studio.[99][100]

See also

References

Sources

External links