[jbosstools-issues] [JBoss JIRA] (JBIDE-18024) For JBIDE 4.2.0.CR1: Ensure copyrights and provider names are correct in all plugins and features [Central]

Nick Boldt (JIRA) issues at jboss.org
Thu Jul 31 12:42:33 EDT 2014


Nick Boldt created JBIDE-18024:
----------------------------------

             Summary: For JBIDE 4.2.0.CR1: Ensure copyrights and provider names are correct in all plugins and features [Central]
                 Key: JBIDE-18024
                 URL: https://issues.jboss.org/browse/JBIDE-18024
             Project: Tools (JBoss Tools)
          Issue Type: Sub-task
          Components: central, maven, project-examples
            Reporter: Nick Boldt
            Priority: Blocker


For JBIDE 4.2.0.CR1 [Central]: 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+fixVersion+%3D+%228.0.0.CR1%22%29+or+%28project+in+%28JBIDE%29+and+fixVersion+%3D+%224.2.0.CR1%22%29%29+AND+labels+%3D+task], or [Search for Central task JIRA|https://issues.jboss.org/issues/?jql=%28%28project+in+%28JBDS%29+and+fixVersion+%3D+%228.0.0.CR1%22%29+or+%28project+in+%28JBIDE%29+and+fixVersion+%3D+%224.2.0.CR1%22%29%29+AND+labels+%3D+task+and+component+in+%28%22maven%22%2C%22central%22%2C%22project-examples%22%29]



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbosstools-issues mailing list