Английская Википедия:Eclipse (software)

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Short description Шаблон:About Шаблон:Use dmy dates Шаблон:Infobox software

Eclipse is an integrated development environment (IDE) used in computer programming.[1] 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.[2] Eclipse is written mostly in Java and its primary use is for developing Java applications,[3] 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,[4] 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.[5]

The initial codebase originated from IBM VisualAge.[6] 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.[7]

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.[8] 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.[6] 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.[9]Шаблон: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.[10] The original members were Borland, IBM, Merant, QNX Software Systems, Rational Software, Red Hat, SuSE, TogetherSoft, and WebGain.[11] The number of stewards increased to over 80 by the end of 2003. In January 2004, the Eclipse Foundation was created.[12]

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

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

Licensing

The Eclipse Public License (EPL) is the fundamental license under which Eclipse projects are released.[15] 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).[16]

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.[17]

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.[18] 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, the alphabetic scheme was abandoned in order to better align with the new Simultaneous Release strategy.[19] Releases are named in the format YYYY-MM to reflect the quarterly releases, starting with version 4.9 named 2018-09.[20]

Releases

Since 2006, the Foundation has coordinated an annual Simultaneous Release.[21] 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.[22]

Version name Date Platform version Projects Main changes
Шаблон:Unknown 29 November 2001[23] Шаблон:Version A 1.3 level Java runtime or Java development kit must be installed on the machine in order to run this version of Eclipse.[24]
Шаблон:Unknown 18 September 2002[25] Шаблон:Version
Шаблон:Unknown 15 April 2003[26] Шаблон:Version A 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).[27]
Шаблон:Unknown 21 June 2004[28] Шаблон:Version A 1.4.1 level Java runtime or Java development kit must be installed on the machine in order to run this version of Eclipse.[29]
Шаблон:Unknown 28 June 2005 Шаблон:Version Added Java 5 support: generics, annotations, boxing-unboxing, enums, enhanced for loop, varargs, static imports[30]
Callisto 26 June 2006[31] Шаблон:Version Callisto projects[32]
Europa 27 June 2007[31] Шаблон:Version Europa projects[21]
Ganymede 25 June 2008[31] Шаблон:Version Ganymede projects[33]
Galileo 24 June 2009[31] Шаблон:Version Galileo projects[34]
Helios 23 June 2010[31] Шаблон:Version Helios projects[35]
Indigo 22 June 2011[31] Шаблон:Version Indigo projects[36] 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[37]
Juno 27 June 2012[31] Шаблон:Version

Шаблон:Refn

Juno projects[38]
Kepler 26 June 2013[31] Шаблон:Version Kepler projects[39] A Java 6 JRE/JDK is recommended to run this version.[40]
Luna 25 June 2014[31] Шаблон:Version Luna projects[41] Integrated Java 8 support;[42] 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.[40]

Mars 24 June 2015[31] Шаблон:Version Mars projects[43] A Java 7 JRE/JDK is required to run all packages based on this version.[40]
Neon 22 June 2016[31] Шаблон:Version Neon projects[44] A Java 8 JRE/JDK is required to run all packages based on this version.[40]
Oxygen 28 June 2017[31] Шаблон:Version Oxygen projects[45] Oxygen.1a introduced Java 9 and Junit 5 support and Oxygen.3a introduced Java 10 support.[46]

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

Photon 27 June 2018[31] Шаблон:Version Photon projects[48] Dropped support for 32bit Windows and Linux.
2018-09 19 September 2018[31] Шаблон:Version 2018-09 projects[49]
2018-12 19 December 2018[31] Шаблон:Version 2018-12 projects[50] Added support for Java 11.[51]
2019-03 20 March 2019[31] Шаблон:Version 2019-03 projects[52]
2019-06 19 June 2019[31] Шаблон:Version 2019-06 projects[53]
2019-09 18 September 2019[31] Шаблон:Version 2019-09 projects[54]
2019-12 18 December 2019[31] Шаблон:Version 2019-12 projects[55]
2020-03 18 March 2020[31] Шаблон:Version 2020-03 projects[56] Update support for Web Development languages, relying on Language Server Protocol
2020-06 17 June 2020[31] Шаблон:Version 2020-06 projects[57]
2020-09 16 September 2020[31] Шаблон:Version 2020-09 projects[58] From this version on, a Java 11 or newer JRE/JDK is required to run Eclipse.[40]
2020-12 16 December 2020[31] Шаблон:Version 2020-12 projects[59] A JDK is embedded into most packages, so a Java installation is not a prerequisite anymore.
2021-03 17 March 2021[31] Шаблон:Version 2021-03 projects[60]
2021-06 16 June 2021[31] Шаблон:Version 2021-06 projects[61]
2021-09 15 September 2021[31] Шаблон:Version 2021-09 projects[62]
2021-12 8 December 2021[31] Шаблон:Version 2021-12 projects[63]
2022-03 16 March 2022[31] Шаблон:Version 2022-03 projects[64]
2022-06 15 June 2022[31] Шаблон:Version 2022-06 projects[65]
2022-09 14 September 2022[31] Шаблон:Version 2022-09 projects[66] From this version on, a Java 17 or newer JRE/JDK is required to run Eclipse.[40]
2022-12 7 December 2022[31] Шаблон:Version 2022-12 projects[67]
2023-03 15 March 2023[31] Шаблон:Version 2023-03 projects[68]
2023-06 14 June 2023[31] Шаблон:Version 2023-06 projects[69]
2023-09 13 September 2023[31] Шаблон:Version 2023-09 projects[70]
2023-12 6 December 2023[31] Шаблон:Version 2023-12 projects[71]
2024-03 13 March 2024[31] Шаблон:Version [72]
2024-06 12 June 2024[31] Шаблон:Version [73]

Шаблон:Version


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.[74]

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[75] 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".[76] 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.[77]

Шаблон:As of, language packs being developed by the Babel Project provide translations into over 40 natural languages.[78]

Шаблон:Anchor 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.[80]

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.[81]

Application lifecycle management

Application lifecycle management (ALM) and task management in Eclipse need an optional component called Mylyn (Шаблон:IPAc-en), 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,[82] JIRA, Unfuddle,[83] and GitHub.[84] 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.[85] The original name of this project, "Mylar", replicated a trademark of a boPET film company, so the Eclipse Foundation changed the project name.[86]

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.[87]

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

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.[88]

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.[89][90]

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.[91]

Alternative distributions

Several alternative distributions exist in the Eclipse project.

PHP Development Tools

Шаблон:Further 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).[92]

Android Development Tools

Android Development Tools (ADT) was superseded in 2015 by the Eclipse foundation's own plugin, called Andmore: Development Tools for Android,[93] 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.[94][95]

See also

Шаблон:Portal

References

Шаблон:Reflist

Sources

Шаблон:Refbegin

Шаблон:Refend

External links

Шаблон:Eclipse Foundation Шаблон:Eclipse plugins Шаблон:FOSS Шаблон:IBM FOSS Шаблон:Integrated development environments Шаблон:GUI builders Шаблон:Java (Sun)

Шаблон:Authority control

  1. Шаблон:Cite web
  2. Шаблон:Cite web
  3. Шаблон:Cite web
  4. Шаблон:Cite web
  5. Шаблон:Cite web
  6. 6,0 6,1 Шаблон:Cite web
  7. "500 lines or less: Eclipse" says "With the switch to OSGi, Eclipse plugins became known as bundles"
  8. Шаблон:Cite web
  9. Шаблон:Cite web
  10. Шаблон:Cite web
  11. Шаблон:Cite web
  12. Шаблон:Cite web
  13. Шаблон:Cite web
  14. Шаблон:Cite web
  15. Шаблон:Cite web
  16. Шаблон:Cite web
  17. Шаблон:Cite web
  18. Шаблон:Cite web
  19. Шаблон:Cite web
  20. Шаблон:Cite web
  21. 21,0 21,1 Шаблон:Cite web
  22. Шаблон:Cite web
  23. Ошибка цитирования Неверный тег <ref>; для сносок firstPressRelease не указан текст
  24. Шаблон:Cite web
  25. Шаблон:Cite web
  26. Шаблон:Cite web
  27. Шаблон:Cite web
  28. Шаблон:Cite web
  29. Шаблон:Cite web
  30. Шаблон:Cite web
  31. 31,00 31,01 31,02 31,03 31,04 31,05 31,06 31,07 31,08 31,09 31,10 31,11 31,12 31,13 31,14 31,15 31,16 31,17 31,18 31,19 31,20 31,21 31,22 31,23 31,24 31,25 31,26 31,27 31,28 31,29 31,30 31,31 31,32 31,33 31,34 31,35 31,36 Шаблон:Cite web
  32. Шаблон:Cite web
  33. Шаблон:Cite web
  34. Шаблон:Cite web
  35. Шаблон:Cite web
  36. Шаблон:Cite web
  37. Шаблон:Cite web
  38. Шаблон:Cite web
  39. Шаблон:Cite web
  40. 40,0 40,1 40,2 40,3 40,4 40,5 40,6 Шаблон:Cite web
  41. Шаблон:Cite web
  42. Шаблон:Cite web
  43. Шаблон:Cite web
  44. Шаблон:Cite web
  45. Шаблон:Cite web
  46. Шаблон:Cite web
  47. Шаблон:Cite web
  48. Шаблон:Cite web
  49. Шаблон:Cite web
  50. Шаблон:Cite web
  51. Шаблон:Cite web
  52. Шаблон:Cite web
  53. Шаблон:Cite web
  54. Шаблон:Cite web
  55. Шаблон:Cite web
  56. Шаблон:Cite web
  57. Шаблон:Cite web
  58. Шаблон:Cite web
  59. Шаблон:Cite web
  60. Шаблон:Cite web
  61. Шаблон:Cite web
  62. Шаблон:Cite web
  63. Шаблон:Cite web
  64. Шаблон:Cite web
  65. Шаблон:Cite web
  66. Шаблон:Cite web
  67. Шаблон:Cite web
  68. Шаблон:Cite web
  69. Шаблон:Cite web
  70. Шаблон:Cite web
  71. Шаблон:Cite web
  72. Шаблон:Cite web
  73. Шаблон:Cite web
  74. Шаблон:Cite webШаблон:Dead link
  75. Шаблон:Cite web
  76. Шаблон:Cite web
  77. Шаблон:Cite web
  78. Ошибка цитирования Неверный тег <ref>; для сносок Babel не указан текст
  79. Шаблон:Cite web
  80. Шаблон:Cite web
  81. Шаблон:In lang Шаблон:Cite web
  82. Шаблон:Cite web
  83. Шаблон:Cite web
  84. Шаблон:Cite web
  85. Шаблон:Cite web
  86. Шаблон:Cite web
  87. 87,0 87,1 Шаблон:Cite web
  88. Шаблон:Cite web
  89. Шаблон:Cite web
  90. Шаблон:Cite web
  91. Шаблон:Cite web
  92. Шаблон:Cite web
  93. Шаблон:Cite web
  94. Шаблон:Cite news
  95. Шаблон:Cite web