Skip to main content
Jump to: navigation, search

Difference between revisions of "Papyrus/Code Standards"

(Java classes)
(Features)
Line 9: Line 9:
 
**Main Papyrus components: org.eclipse.papyrus.<feature.name>.feature  
 
**Main Papyrus components: org.eclipse.papyrus.<feature.name>.feature  
 
***e.g. ''org.eclipse.papyrus.infra.core.feature''  
 
***e.g. ''org.eclipse.papyrus.infra.core.feature''  
**Extra components: org.eclipse.papyrus.extra.<feature.name>.feature
+
*Name: Papyrus <Feature Name>
***e.g. ''org.eclipse.papyrus.extra.marte.feature''  
+
**e.g. ''Papyrus Core''  
*Name: Papyrus <Feature Name> (Incubation)
+
**e.g. ''Papyrus Model2Doc (Incubation)''
**e.g. ''Papyrus core (Incubation)''  
+
***Incubation plugin and feature have a version lower than 1.0.0
**e.g. ''Papyrus Marte (Incubation)''  
+
***Here you will find a definition of incubation: [[Development_Resources/Process_Guidelines/What_is_Incubation]]
*Each feature must contain the files ''epl-v10.html'' and ''license.html'' (April 9, 2014)
+
*Each feature.xml file must contains:
 +
**in ''Information Tab -> Copyright Notice'',
 +
*** ''Optional URL'' : ''https://www.eclipse.org/legal/epl-2.0/''
 +
*** ''Copyright'' :
 +
<blockquote>
 +
Copyright (c) 20XX CEA LIST
 +
<br/>
 +
All rights reserved. This program and the accompanying materials
 +
are made available under the terms of the Eclipse Public License
 +
2.0
 +
<br/>
 +
which accompanies this distribution, and is available at
 +
https://www.eclipse.org/legal/epl-2.0/
 +
<br/>
 +
SPDX-License-Identifier: EPL-2.0
 +
</blockquote>
 +
 
 +
** in ''Information Tab -> License Agreement''
 +
***Check the field ''Shared License'',
 +
***License Feature ID: ''org.eclipse.license'',
 +
***License Feature Version: ''2.0.2''.
 +
 
 
*The build.properties file must contain the following files in the "Binary build" section:  
 
*The build.properties file must contain the following files in the "Binary build" section:  
**epl-v10.html
 
 
**feature.properties (When available)  
 
**feature.properties (When available)  
 
**feature.xml  
 
**feature.xml  
**licence.html
 
*The build.properties file must contain the following files in the "Source build" section:
 
**build.properties (Optional)
 
**epl-v10.html
 
**licence.html
 
  
 
<br>
 
<br>

Revision as of 10:25, 12 November 2020

Coding rules for Papyrus plug-ins and features

These rules apply to all plug-ins and features developed for the Papyrus Eclipse project, and distributed under the EPL licence.


Features

  • ID:
    • Main Papyrus components: org.eclipse.papyrus.<feature.name>.feature
      • e.g. org.eclipse.papyrus.infra.core.feature
  • Name: Papyrus <Feature Name>
  • Each feature.xml file must contains:

Copyright (c) 20XX CEA LIST
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0

    • in Information Tab -> License Agreement
      • Check the field Shared License,
      • License Feature ID: org.eclipse.license,
      • License Feature Version: 2.0.2.
  • The build.properties file must contain the following files in the "Binary build" section:
    • feature.properties (When available)
    • feature.xml


Papyrus.Build.properties-selectedOptions.png

Back to the top