Skip to main content
Jump to: navigation, search

Difference between revisions of "Papyrus/Code Standards"

(Features)
Line 31: Line 31:
 
</blockquote>
 
</blockquote>
  
[[Image:CopyrightNoticeFeature.png|600px|thumb|left|Copyright Notice]]
+
[[Image:CopyrightNoticeFeature.png|700px|thumb|none]]
  
 
** in ''Information Tab -> License Agreement''
 
** in ''Information Tab -> License Agreement''
Line 38: Line 38:
 
***License Feature Version: ''2.0.2''.
 
***License Feature Version: ''2.0.2''.
  
[[Image:LicenseAgreementFeature.png|600px|thumb|left|License Agreement]]
+
[[Image:LicenseAgreementFeature.png|700px|thumb|none]]
  
 
*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:  
Line 46: Line 46:
 
<br>
 
<br>
  
[[Image:Papyrus.Build.properties-selectedOptions.png|1000px|thumb|left|Feature Build properties]]
+
[[Image:Papyrus.Build.properties-selectedOptions.png|1000px|thumb|left]]
  
 
[[Category:Papyrus]]
 
[[Category:Papyrus]]

Revision as of 10:56, 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

CopyrightNoticeFeature.png
    • in Information Tab -> License Agreement
      • Check the field Shared License,
      • License Feature ID: org.eclipse.license,
      • License Feature Version: 2.0.2.
LicenseAgreementFeature.png
  • 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