Fixing license headers for configuration files
authorJan Lahoda <jlahoda@netbeans.org>
Sun, 08 Jan 2017 20:11:55 +0100
changeset 10381e294e9e1ef4
parent 1037 55c0650c5969
child 1039 2d3a933b12e4
Fixing license headers for configuration files
cmdline/ap/src/META-INF/services/javax.annotation.processing.Processor
cmdline/maven/tests/test-custom/src/main/resources/META-INF/upgrade/test.hint
remoting/server/indexer/etc/app.conf
remoting/server/web/web.ui.frontend/config/jsTestDriver.conf
     1.1 --- a/cmdline/ap/src/META-INF/services/javax.annotation.processing.Processor	Sun Jan 08 20:11:44 2017 +0100
     1.2 +++ b/cmdline/ap/src/META-INF/services/javax.annotation.processing.Processor	Sun Jan 08 20:11:55 2017 +0100
     1.3 @@ -1,1 +1,43 @@
     1.4 + # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     1.5 + #
     1.6 + # Copyright 2009-2017 Oracle and/or its affiliates. All rights reserved.
     1.7 + #
     1.8 + # Oracle and Java are registered trademarks of Oracle and/or its affiliates.
     1.9 + # Other names may be trademarks of their respective owners.
    1.10 + #
    1.11 + # The contents of this file are subject to the terms of either the GNU
    1.12 + # General Public License Version 2 only ("GPL") or the Common
    1.13 + # Development and Distribution License("CDDL") (collectively, the
    1.14 + # "License"). You may not use this file except in compliance with the
    1.15 + # License. You can obtain a copy of the License at
    1.16 + # http://www.netbeans.org/cddl-gplv2.html
    1.17 + # or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
    1.18 + # specific language governing permissions and limitations under the
    1.19 + # License.  When distributing the software, include this License Header
    1.20 + # Notice in each file and include the License file at
    1.21 + # nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
    1.22 + # particular file as subject to the "Classpath" exception as provided
    1.23 + # by Oracle in the GPL Version 2 section of the License file that
    1.24 + # accompanied this code. If applicable, add the following below the
    1.25 + # License Header, with the fields enclosed by brackets [] replaced by
    1.26 + # your own identifying information:
    1.27 + # "Portions Copyrighted [year] [name of copyright owner]"
    1.28 + #
    1.29 + # Contributor(s):
    1.30 + #
    1.31 + # The Original Software is NetBeans. The Initial Developer of the Original
    1.32 + # Software is Sun Microsystems, Inc. Portions Copyright 2009-2010 Sun
    1.33 + # Microsystems, Inc. All Rights Reserved.
    1.34 + #
    1.35 + # If you wish your version of this file to be governed by only the CDDL
    1.36 + # or only the GPL Version 2, indicate your decision by adding
    1.37 + # "[Contributor] elects to include this software in this distribution
    1.38 + # under the [CDDL or GPL Version 2] license." If you do not indicate a
    1.39 + # single choice of license, a recipient has the option to distribute
    1.40 + # your version of this file under either the CDDL, the GPL Version 2 or
    1.41 + # to extend the choice of license to its licensees as provided above.
    1.42 + # However, if you add GPL Version 2 code and therefore, elected the GPL
    1.43 + # Version 2 license, then the option applies only if the new code is
    1.44 + # made subject to such option by the copyright holder.
    1.45 +
    1.46  org.netbeans.modules.jackpot30.ap.ProcessorImpl
     2.1 --- a/cmdline/maven/tests/test-custom/src/main/resources/META-INF/upgrade/test.hint	Sun Jan 08 20:11:44 2017 +0100
     2.2 +++ b/cmdline/maven/tests/test-custom/src/main/resources/META-INF/upgrade/test.hint	Sun Jan 08 20:11:55 2017 +0100
     2.3 @@ -1,1 +1,45 @@
     2.4 +/*
     2.5 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     2.6 + *
     2.7 + * Copyright 2009-2017 Oracle and/or its affiliates. All rights reserved.
     2.8 + *
     2.9 + * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
    2.10 + * Other names may be trademarks of their respective owners.
    2.11 + *
    2.12 + * The contents of this file are subject to the terms of either the GNU
    2.13 + * General Public License Version 2 only ("GPL") or the Common
    2.14 + * Development and Distribution License("CDDL") (collectively, the
    2.15 + * "License"). You may not use this file except in compliance with the
    2.16 + * License. You can obtain a copy of the License at
    2.17 + * http://www.netbeans.org/cddl-gplv2.html
    2.18 + * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
    2.19 + * specific language governing permissions and limitations under the
    2.20 + * License.  When distributing the software, include this License Header
    2.21 + * Notice in each file and include the License file at
    2.22 + * nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
    2.23 + * particular file as subject to the "Classpath" exception as provided
    2.24 + * by Oracle in the GPL Version 2 section of the License file that
    2.25 + * accompanied this code. If applicable, add the following below the
    2.26 + * License Header, with the fields enclosed by brackets [] replaced by
    2.27 + * your own identifying information:
    2.28 + * "Portions Copyrighted [year] [name of copyright owner]"
    2.29 + *
    2.30 + * Contributor(s):
    2.31 + *
    2.32 + * The Original Software is NetBeans. The Initial Developer of the Original
    2.33 + * Software is Sun Microsystems, Inc. Portions Copyright 2009-2010 Sun
    2.34 + * Microsystems, Inc. All Rights Reserved.
    2.35 + *
    2.36 + * If you wish your version of this file to be governed by only the CDDL
    2.37 + * or only the GPL Version 2, indicate your decision by adding
    2.38 + * "[Contributor] elects to include this software in this distribution
    2.39 + * under the [CDDL or GPL Version 2] license." If you do not indicate a
    2.40 + * single choice of license, a recipient has the option to distribute
    2.41 + * your version of this file under either the CDDL, the GPL Version 2 or
    2.42 + * to extend the choice of license to its licensees as provided above.
    2.43 + * However, if you add GPL Version 2 code and therefore, elected the GPL
    2.44 + * Version 2 license, then the option applies only if the new code is
    2.45 + * made subject to such option by the copyright holder.
    2.46 + */
    2.47 +
    2.48  $str.length() == 0 :: $str instanceof java.lang.String;;
     3.1 --- a/remoting/server/indexer/etc/app.conf	Sun Jan 08 20:11:44 2017 +0100
     3.2 +++ b/remoting/server/indexer/etc/app.conf	Sun Jan 08 20:11:55 2017 +0100
     3.3 @@ -1,3 +1,45 @@
     3.4 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     3.5 +#
     3.6 +# Copyright 2009-2017 Oracle and/or its affiliates. All rights reserved.
     3.7 +#
     3.8 +# Oracle and Java are registered trademarks of Oracle and/or its affiliates.
     3.9 +# Other names may be trademarks of their respective owners.
    3.10 +#
    3.11 +# The contents of this file are subject to the terms of either the GNU
    3.12 +# General Public License Version 2 only ("GPL") or the Common
    3.13 +# Development and Distribution License("CDDL") (collectively, the
    3.14 +# "License"). You may not use this file except in compliance with the
    3.15 +# License. You can obtain a copy of the License at
    3.16 +# http://www.netbeans.org/cddl-gplv2.html
    3.17 +# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
    3.18 +# specific language governing permissions and limitations under the
    3.19 +# License.  When distributing the software, include this License Header
    3.20 +# Notice in each file and include the License file at
    3.21 +# nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
    3.22 +# particular file as subject to the "Classpath" exception as provided
    3.23 +# by Oracle in the GPL Version 2 section of the License file that
    3.24 +# accompanied this code. If applicable, add the following below the
    3.25 +# License Header, with the fields enclosed by brackets [] replaced by
    3.26 +# your own identifying information:
    3.27 +# "Portions Copyrighted [year] [name of copyright owner]"
    3.28 +#
    3.29 +# Contributor(s):
    3.30 +#
    3.31 +# The Original Software is NetBeans. The Initial Developer of the Original
    3.32 +# Software is Sun Microsystems, Inc. Portions Copyright 2009-2010 Sun
    3.33 +# Microsystems, Inc. All Rights Reserved.
    3.34 +#
    3.35 +# If you wish your version of this file to be governed by only the CDDL
    3.36 +# or only the GPL Version 2, indicate your decision by adding
    3.37 +# "[Contributor] elects to include this software in this distribution
    3.38 +# under the [CDDL or GPL Version 2] license." If you do not indicate a
    3.39 +# single choice of license, a recipient has the option to distribute
    3.40 +# your version of this file under either the CDDL, the GPL Version 2 or
    3.41 +# to extend the choice of license to its licensees as provided above.
    3.42 +# However, if you add GPL Version 2 code and therefore, elected the GPL
    3.43 +# Version 2 license, then the option applies only if the new code is
    3.44 +# made subject to such option by the copyright holder.
    3.45 +
    3.46  # ${HOME} will be replaced by user home directory according to platform
    3.47  default_userdir="${HOME}/.${APPNAME}/dev"
    3.48  default_mac_userdir="${HOME}/Library/Application Support/${APPNAME}/dev"
     4.1 --- a/remoting/server/web/web.ui.frontend/config/jsTestDriver.conf	Sun Jan 08 20:11:44 2017 +0100
     4.2 +++ b/remoting/server/web/web.ui.frontend/config/jsTestDriver.conf	Sun Jan 08 20:11:55 2017 +0100
     4.3 @@ -1,3 +1,45 @@
     4.4 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     4.5 +#
     4.6 +# Copyright 2009-2017 Oracle and/or its affiliates. All rights reserved.
     4.7 +#
     4.8 +# Oracle and Java are registered trademarks of Oracle and/or its affiliates.
     4.9 +# Other names may be trademarks of their respective owners.
    4.10 +#
    4.11 +# The contents of this file are subject to the terms of either the GNU
    4.12 +# General Public License Version 2 only ("GPL") or the Common
    4.13 +# Development and Distribution License("CDDL") (collectively, the
    4.14 +# "License"). You may not use this file except in compliance with the
    4.15 +# License. You can obtain a copy of the License at
    4.16 +# http://www.netbeans.org/cddl-gplv2.html
    4.17 +# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
    4.18 +# specific language governing permissions and limitations under the
    4.19 +# License.  When distributing the software, include this License Header
    4.20 +# Notice in each file and include the License file at
    4.21 +# nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
    4.22 +# particular file as subject to the "Classpath" exception as provided
    4.23 +# by Oracle in the GPL Version 2 section of the License file that
    4.24 +# accompanied this code. If applicable, add the following below the
    4.25 +# License Header, with the fields enclosed by brackets [] replaced by
    4.26 +# your own identifying information:
    4.27 +# "Portions Copyrighted [year] [name of copyright owner]"
    4.28 +#
    4.29 +# Contributor(s):
    4.30 +#
    4.31 +# The Original Software is NetBeans. The Initial Developer of the Original
    4.32 +# Software is Sun Microsystems, Inc. Portions Copyright 2009-2010 Sun
    4.33 +# Microsystems, Inc. All Rights Reserved.
    4.34 +#
    4.35 +# If you wish your version of this file to be governed by only the CDDL
    4.36 +# or only the GPL Version 2, indicate your decision by adding
    4.37 +# "[Contributor] elects to include this software in this distribution
    4.38 +# under the [CDDL or GPL Version 2] license." If you do not indicate a
    4.39 +# single choice of license, a recipient has the option to distribute
    4.40 +# your version of this file under either the CDDL, the GPL Version 2 or
    4.41 +# to extend the choice of license to its licensees as provided above.
    4.42 +# However, if you add GPL Version 2 code and therefore, elected the GPL
    4.43 +# Version 2 license, then the option applies only if the new code is
    4.44 +# made subject to such option by the copyright holder.
    4.45 +
    4.46  server: http://localhost:42442
    4.47  
    4.48  load: