Eclipse 3.0开发计划草案发布
Eclipse发布了版本3.0的开发计划草案,这就意味着这个最好的Open Source Java IDE将从2.1版本直接跳到3.0版。3.0版本的发布日期暂定于明年第二季度,换句话说,它将很有可能提供对泛型Java的直接支持。实际上,在目前的Eclipse 3.0计划草案中,计划支持的Java新特性将包括泛型、枚举、自动装箱、增强for循环、静态导入、元数据工具和编译器API(JSR-199)。如果确定要加入这些新特性,意味着整个IDE将有相当大的改动。
其他的新特性几乎都是补充性的。仍然没有看到GUI设计工具的出现,这就表示在Eclipse中画界面将继续是犯罪。重构菜单中将会出现几个新的重构项。插件(plug-in)将可以动态添加……和删除——呵呵,Eclipse 2.1中删除插件实在太不方便了。
总而言之,这是一个值得期待的版本。与商业软件不同,Open Source软件的每个版本都是渐进式的,兼容性(而非花哨的新特性)被放在第一位考虑。这才是真正值得信赖的软件。下面摘录开发计划草案的一部分,全文请看http://www.eclipse.org/eclipse/development/eclipse_project_plan_3_0.html 。
——————————————————
Eclipse Project
DRAFT 3.0 Plan
Last revised Thursday May 22, 2003 (replaces the draft 2.2 plan of Dec. 20, 2002;
marks interesting changes since the final 2.1 plan)
Please send comments about this draft plan to the eclipse-dev@eclipse.org developer mailing list.
This document lays out the feature and API set for the next feature release of Eclipse after 2.1, designated release 3.0 (Why Eclipse "3.0"?).
· Target operating environments
· Compatibility with previous releases
· Java development tools (JDT) subproject
· Plug-in development environment (PDE) subproject
Plans do not materialize out of nowhere, nor are they entirely static. To ensure the planning process is transparent and open to the entire Eclipse community, we (the Eclipse PMC) post plans in an embryonic form and revise them throughout the release cycle.
The first part of the plan deals with the important matters of release deliverables, release milestones, target operating environments, and release-to-release compatibility. These are all things that need to be clear for any release, even if no features were to change.
The remainder of the plan consists of plan items for the various Eclipse subprojects. Each plan item covers a feature or API that is to be added to Eclipse, or some aspect of Eclipse that is to be improved. Each plan item has its own entry in the Eclipse bugzilla database, with a title and a concise summary (usually a single paragraph) that explains the work item at a suitably high enough level so that everyone can readily understand what the work item is without having to understand the nitty-gritty detail.
Not all plan items represent the same amount of work; some may be quite large, others, quite small. Some plan items may involve work that is localized to a single Platform component; others may involve coordinated changes to several components; other may pervade the entire Platform. Although some plan items are for work that is more pressing that others, the plan items appear in no particular order.
With the previous release as the starting point, this is the plan for how we will enhance and improve it. Fixing bugs, improving test coverage, documentation, examples, performance, usability, etc. are considered routine ongoing maintenance activities and are not included in this plan unless they would also involve a significant change to the API or feature set, or involve a significant amount of work. All interesting feature work is accounted for in this plan.
The current status of each plan item is noted:
· Committed plan item - A committed plan item is one that we have decided to address for the release.
· Proposed plan item - A proposed plan item is one that we are considering addressing for the release. Although we are actively investigating it, we are not yet in a position to commit to it, or to say that we won't be able to address it. After due consideration, a proposal will either be committed, deferred, or rejected.
· Deferred plan item - A reasonable proposal that will not make it in to this release for some reason is marked as deferred with a brief note as to why it was deferred. Deferred plan items may resurface as committed plan items at a later point.
· Rejected plan item - Plan items that were proposed but judged unworkable are marked as rejected plan items, with an accompanying summary of why they were dismissed. Keeping track of rejected items avoids repeating the discussion.
Release deliverables
The release deliverables have the same form as previous releases, namely:
· Source code release for Eclipse Project, available as versions tagged "R3_0" in the Eclipse Project CVS repository.
· Eclipse Project SDK (includes Platform, JDT, and PDE source zips) (downloadable).
· Eclipse Platform runtime binary distribution (downloadable).
· JDT runtime binary distribution (downloadable).
· Eclipse SDK Examples (downloadable).
· SWT distribution (downloadable).
Release milestones
Release milestone occurring at roughly 6 week intervals exist to facilitate coarse-grained planning and staging. The milestones for 2003 are:
· Friday June 6, 2003 - Milestone 1 (3.0 M1) - stable build reflecting progress
· Friday July 18, 2003 - Milestone 2 (3.0 M2) - stable build reflecting progress
· Friday August 29, 2003 - Milestone 3 (3.0 M3) - stable build reflecting progress
· Friday October 10, 2003 - Milestone 4 (3.0 M4) - initial API freeze - stable build reflecting progress
· Friday November 21, 2003 - Milestone 5 (3.0 M5) - APIs frozen - stable build reflecting progress
Additional 2004 milestones will be added later. Our target is to complete 3.0 in 2Q2004. All release deliverables will be available for download as soon as the release has been tested and validated in the target operating configurations listed below.
Target Operating Environments
In order to remain current, each Eclipse release targets reasonably current versions of the underlying operating environments.
Most of the Eclipse SDK is "pure" Java™ code and has no direct dependence on the underlying operating system. The chief dependence is therefore on the Java 2 Platform itself.
The 3.0 release of the Eclipse Project is written and compiled against version 1.4 of the Java 2 Platform APIs, and targeted to run on version 1.4 of the Java 2 Runtime Environment, Standard Edition.
There are many different implementations of the Java 2 Platform running atop a variety of operating systems. We focus Eclipse testing on a handful of popular combinations of operating system and Java 2 Platform; these are our reference platforms. Eclipse undoubtedly runs fine in many operating environments beyond the reference platforms we test. However, since we do not systematically test them we cannot vouch for them. Problems encountered when running Eclipse on non-reference platform that cannot be recreated on any reference platform will be given lower priority than problems with running Eclipse on a reference platform.
Eclipse SDK 3.0 is tested and validated on the following reference platforms (this list is updated over the course of the release cycle):
Operating system | Processor architecture | Window system | Java 2 Platform |
Microsoft Windows XP | Intel x86 | Win32 | Sun Java 2 SDK, Standard Edition, version 1.4.1_02 for Microsoft Windows |
Microsoft Windows XP | Intel x86 | Win32 | IBM 32-bit SDK for Windows, Java 2 Technology Edition, version 1.4.0 |
RedHat Linux 9 Professional | Intel x86 | GTK | Sun Java 2 SDK, Standard Edition, 1.4.1_02 for Linux x86 |
RedHat Linux 9 Professional | Intel x86 | GTK | IBM Developer Kit for Linux, Java 2 Technology Edition, version 1.4.0 |
SuSE Linux 8.2 | Intel x86 | GTK | Sun Java 2 SDK, Standard Edition, 1.4.1_02 for Linux x86 |
SuSE Linux 8.2 | Intel x86 | GTK | IBM Developer Kit for Linux, Java 2 Technology Edition, version 1.4.0 |
Sun Solaris 8 | SPARC | Motif | Sun Java 2 SDK, Standard Edition, 1.4.1_02 for Solaris SPARC |
HP HP-UX 11i | hp9000 | Motif | HP-UX SDK for the Java 2 platform, version 1.4.1.01 for hp9000 PA-RISC |
IBM AIX 5.1 | PowerPC | Motif | IBM Developer Kit for AIX, Java 2 Technology Edition, version 1.4 |
Apple Mac OS X 10.2 | PowerPC | Carbon | Java 2 Standard Edition 1.4.1 for Mac OS X |
QNX Neutrino RTOS [version TDB] | Intel x86 | Photon | IBM J9 VM for QNX [version TDB] |
Internationalization
The Eclipse Platform is designed as the basis for internationalized products. The user interface elements provided by the Eclipse SDK components, including dialogs and error messages, are externalized. The English strings are provided as the default resource bundles.
Latin-1 locales are supported by the Eclipse SDK on all of the above operating environments; DBCS locales are supported by the Eclipse SDK on the Windows, GTK, and Motif window systems; BIDI locales are supported by the Eclipse SDK only on Windows operating environments.
The Eclipse SDK supports GB 18030, the new Chinese code page standard, on Windows XP and 2000, and Linux.
German and Japanese locales are tested.
BIDI support
The Eclipse SDK is a development environment targeted at technical professionals - not an end user application. However, the Eclipse SDK tools will permit technical professionals who are working in English to build Hebrew/Arabic end user Java programs which are themselves not based on the Eclipse SDK. The BIDI support in the Eclipse SDK allows a Java programmer to work with BIDI strings, code comments, etc. but the Eclipse SDK itself is not designed to be localized for BIDI locales and its widget orientation can not be changed.
IMPORTANT: The above BIDI support is available only on Windows platforms.
Compatibility with Previous Releases
Eclipse 3.0 will not be fully compatible with Eclipse 2.0 and 2.1.
Compatibility of Release 3.0 with 2.0 and 2.1
We have decided that the next release of Eclipse will not be fully compatible with 2.0 and 2.1. This gives us additional freedom to innovate and make the next Eclipse significantly better than it could have been had we tried to maintain compatibility. That said, most of the Eclipse APIs will be the same in 3.0 as in 2.1. We will only break APIs in 3.0 when have a compelling case for doing so. And when we find we need to break APIs, we would do it in a controlled way that minimizes the effort required to port an existing plug-in to the 3.0 APIs. We will provide a comprehensive Eclipse 3.0 Porting Guide that covers all areas of breaking API changes, and describes how to port existing 2.1 plug-ins to 3.0. Up-to-date drafts of the Eclipse 3.0 Porting Guide will be included with milestone builds so that it's possible to climb aboard the 3.0 release wagon at the early stages, or to estimate the amount of effort that will be involved in eventually porting existing plug-ins to 3.0.
API Contract Compatibility: Eclipse SDK 3.0 will be upwards contract-compatible with Eclipse SDK 2.0 and 2.1 except in those areas noted in the Eclipse 3.0 Porting Guide. This means that programs in full compliance with contracts specified in Eclipse SDK 2.0 or 2.1 APIs will need to be ported to Eclipse SDK 3.0 APIs. (API is construed broadly to include such things as plug-in extension points.) Downward contract compatibility is not supported. There is no guarantee that compliance with Eclipse SDK 3.0 APIs would ensure compliance with Eclipse SDK 2.0 or 2.1 APIs. Refer to Evolving Java-based APIs for a discussion of the kinds of API changes that maintain contract compatibility.
Binary (plug-in) Compatibility: Eclipse SDK 3.0 will not be upwards binary-compatible with Eclipse SDK 2.0 and 2.1. Plug-ins built for Eclipse SDK 2.0 or 2.1 will need to be ported and recompiled for Eclipse SDK 3.0. Downward plug-in compatibility is not supported either. Plug-ins for Eclipse SDK 3.0 will not be usable in Eclipse SDK 2.0 or 2.1. Refer to Evolving Java-based APIs for a discussion of the kinds of API changes that maintain binary compatibility.
Source Compatibility: Eclipse SDK 3.0 will be upwards source-compatible with Eclipse SDK 2.0 or 2.1 except in the areas noted in the Eclipse 3.0 Porting Guide. This means that source files written to use Eclipse SDK 2.0 or 2.1 APIs might successfully compile and run against Eclipse SDK 3.0 APIs, although this is not guaranteed. Downward source compatibility is not supported. If source files use new Eclipse SDK APIs, they will not be usable with an earlier version of the Eclipse SDK.
Workspace Compatibility: Eclipse SDK 3.0 will be upwards workspace-compatible with Eclipse SDK 2.0 or 2.1 unless noted. This means that workspaces and projects created with Eclipse SDK 2.0 or 2.1 can be successfully opened by Eclipse SDK 3.0 and upgraded to a 3.0 workspace. This includes both hidden metadata, which is localized to a particular workspace, as well as metadata files found within a workspace project (e.g., the .project file), which may propagate between workspaces via file copying or team repositories. Individual plug-ins developed for Eclipse SDK 3.0 should provide similar upwards compatibility for their hidden and visible workspace metadata created by earlier versions; 3.0 plug-in developers are responsible for ensuring that their plug-ins recognize 3.0, 2.1, and 2.0 metadata and process it appropriately. User interface session state may be discarded when a workspace is upgraded. Downward workspace compatibility is not supported. A workspace created (or opened) by Eclipse SDK 3.0 will be unusable with an earlier version of Eclipse SDK. Visible metadata files created (or overwritten) by Eclipse SDK 3.0 will generally be unusable with earlier versions of Eclipse SDK.
Non-compliant usage of API's: All non-API methods and classes, and certainly everything in a package with "internal" in its name, are considered implementation details which may vary between operating environment and are subject to change without notice. Client plug-ins that directly depend on anything other than what is specified in the Eclipse SDK API are inherently unsupportable and receive no guarantees about compatibility within a single release much less with an earlier releases. Refer to How to Use the Eclipse API for information about how to write compliant plug-ins.