[jboss-jira] [JBoss JIRA] (DROOLS-1006) License header: replace Jboss Inc by Red Hat, Inc. and/or its affiliates.

Geoffrey De Smet (JIRA) issues at jboss.org
Tue Dec 15 04:07:00 EST 2015


Geoffrey De Smet created DROOLS-1006:
----------------------------------------

             Summary: License header: replace Jboss Inc by Red Hat, Inc. and/or its affiliates.
                 Key: DROOLS-1006
                 URL: https://issues.jboss.org/browse/DROOLS-1006
             Project: Drools
          Issue Type: Task
    Affects Versions: 6.3.0.Final
            Reporter: Geoffrey De Smet
            Assignee: Michael Biarnes Kiefer


1) In java and drl files, replace in path this Case Sensitive Regular Expression in IntelliJ:

{code}
^/\*\n \* Copyright (\d{4}) JBoss Inc\n
{code}

by with this

{code}
/*\n * Copyright $1 Red Hat, Inc. and/or its affiliates.\n
{code}

To understand the regex, read this:
  https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html

Commit that already before starting step 2. I even recommend doing a separate commit per file type. (But wait with pushing until all are fixed.)

2) Then look for the string "JBoss Inc" in all files, case insensitive. Fix those too if applicable. Either by another smart regex find-replace or manually.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list