Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Development Resources/HOWTO/The Eclipse Code Namespace Policy"

(Replaced content with "The EMO has moved this content to the [http://localhost/projects/handbook/#trademarks-code Eclipse Project Handbook].")
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Eclipse projects must carefully manage their namespaces in order to help identify the producer of components and avoid namespace collisions.
+
The EMO has moved this content to the [http://localhost/projects/handbook/#trademarks-code Eclipse Project Handbook].
 
+
Exceptions to these guidelines must be approved by the Project Management Committee and the EMO.
+
 
+
=Java Package Names=
+
Java package names take the standard [http://en.wikipedia.org/wiki/Reverse-DNS reverse DNS] form:
+
org.<forge>.<shortname>.<component>.*
+
Where:
+
* ''forge'' is the short name of the hosting forge, e.g. "eclipse", "locationtech", or "polarsys";
+
* ''shortname'' is the short name of the project (i.e. the last segment of the project id), e.g. "dali", "egit", "udig"; and
+
* ''component'' is project-specific
+
 
+
Multiple component segments are permitted.
+
 
+
Examples:
+
* <code>org.eclipse.emf.core</code>, <code>org.eclipse.emf.edit</code>, <code>org.eclipse.emf.edit.ui</code>; and
+
* <code>org.locationtech.udig.resources</code>
+
 
+
Java package names use the "flat" or "short" project name in the third segment; they should not include, for example, the name of the top-level project or any parent/container project.
+
* e.g. <code>org.eclipse.graphiti.core</code>, not <strike><code>org.eclipse.modeling.mdt.graphiti.core</code></strike> or <strike><code>org.eclipse.mdt.graphiti.core</code></strike>.
+
 
+
=OSGi Bundle Names=
+
 
+
OSGi Bundle names follow the same rules as [[#Java Package Names|Java Package Names]].
+
 
+
=Java Archive (JAR/WAR/EAR) Names=
+
 
+
TBD
+
 
+
=JavaScript=
+
 
+
TBD
+
 
+
<hr/>
+
''This page is moderated by the EMO.''
+

Latest revision as of 15:59, 18 May 2023

The EMO has moved this content to the Eclipse Project Handbook.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.