]
Alexey Kazakov reassigned JBIDE-18012:
--------------------------------------
Assignee: Alexey Kazakov
For JBIDE 4.2.0.CR1: Ensure copyrights and provider names are correct
in all plugins and features [JST]
-------------------------------------------------------------------------------------------------------
Key: JBIDE-18012
URL:
https://issues.jboss.org/browse/JBIDE-18012
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: common/jst/core
Reporter: Nick Boldt
Assignee: Alexey Kazakov
Priority: Blocker
Labels: task
Fix For: 4.2.0.CR1
For JBIDE 4.2.0.CR1 [JST]: Please perform the following *2* tasks:
1. Verify that all your plugin and feature copyright dates end in 2014, and that the
copyright holder is *{color:red}Red Hat, Inc.{color}* or a variation similar to the
examples below.
Be sure to also include *translated* files, where they exist.
*java files*
{code:title=*.java}
Copyright (c) 2010-2014 Red Hat, Inc. and others.
{code}
*html files*
{code:title=about.html}
© 2014 Red Hat, Inc. All rights reserved
{code}
*properties files*
{code:title=about.properties}
Copyright (c) Red Hat, Inc., contributors and others 2004 - 2014. All rights reserved
{code}
{code:title=about_fr.properties}
Copyright (c) Red Hat, Inc., contributors and others 2004 - 2014. Tous droits
r\u00E9serv\u00E9s.
{code}
{code:title=feature.properties}
Copyright (c) 2010-2014 Red Hat, Inc. and others.
{code}
{code:title=Messages.properties}
# Copyright (c) 2014 Red Hat, Inc. and others.
{code}
*xsd files*
{code:title=jboss-as-naming_1_3.xsd}
Copyright 2014, Red Hat, Inc., and individual contributors
{code}
2. Verify that all your plugin and feature provider names are *{color:red}JBoss by Red
Hat{color}*.
Be sure to also include *translated* files, where they exist.
*This step is particularly important for new plugins and features that have been added
recently.*
Depending on how your plugin is configured you should see something like this in your
*plugin.properties* files:
{code}BundleName = JMX Resources Bundle
BundleProvider = JBoss by Red Hat{code}
or
{code}Bundle-Name.0 = JBossTools Archives Core Plugin
Bundle-Vendor.0 = JBoss by Red Hat{code}
Then in your MANIFEST.MF files, you will reference these variables like this.
*Bundle-Localization* is required or your plugin won't see the values in your
*plugin.properties* file!
{code}Bundle-Localization: plugin
Bundle-Name: %BundleName
Bundle-Vendor: %BundleProvider{code}
or
{code}Bundle-Localization: plugin
Bundle-Name: %Bundle-Name.0
Bundle-Vendor: %Bundle-Vendor.0{code}
For features, check that your *feature.properties* file contains good values too:
{code}featureName=JMX Console
featureProvider=JBoss by Red Hat{code}
or
{code}featureName=JBoss Archives Tools
providerName=JBoss by Red Hat{code}
Then in your feature.xml files, you will reference these variables like this:
{code}<feature label="%featureName"
provider-name="%featureProvider" ...>{code}
or
{code}<feature label="%featureName" provider-name="%providerName"
...>{code}
3. If you would like QE to review your changes, please *Resolve* this JIRA when done.
4. If you do not require QE to review your changes, please *Close* this JIRA when done.
5. If you have any questions, please contact [~nickboldt].
[Search for all task
JIRA|https://issues.jboss.org/issues/?jql=%28%28project+in+%28JBDS%29+and...],
or [Search for JST task
JIRA|https://issues.jboss.org/issues/?jql=%28%28project+in+%28JBDS%29+and...]