netbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emilian Bold <emilian.b...@gmail.com>
Subject Re: Apache File Headers
Date Wed, 23 Nov 2016 16:55:21 GMT
I believe you transfer the code as-is. The license header will be changed
when the code is imported in the Apache repo.

If Oracle wants to change the license to Apache they could use the template
mentioned on http://www.apache.org/licenses/LICENSE-2.0#apply which is
slightly different:

Copyright [yyyy] [name of copyright owner]


> Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License.

You may obtain a copy of the License at


>     http://www.apache.org/licenses/LICENSE-2.0


> Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an "AS IS" BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.





--emi

On Wed, Nov 23, 2016 at 6:28 PM, Jaroslav Tulach <jaroslav.tulach@oracle.com
> wrote:

> Hi.
> When transfering the NetBeans code to Apache, we need to change the file
> headers. Currently they look like
> http://hg.netbeans.org/releases/file/e98b094d3240/
> debugger.jpda.truffle/src/org/
> netbeans/modules/debugger/jpda/truffle/vars/TruffleSlotVariable.java
>
> I assume the header should change to something like
> https://git-wip-us.apache.org/repos/asf?p=ant.git;a=blob;f=
> src/tests/junit/
> org/apache/tools/ant/taskdefs/optional/
> TraXLiaisonTest.java;h=648e6440ee41a2d9f8c610818431991a8f01b513;hb=
> 8cf0c0bb49bddf92d95b6fa9e41b9b23ada63abf
>
> Is that the right header to use? E.g. shall we put the following text into
> header of all NetBeans files?
>
>    1 /*
>    2  *  Licensed to the Apache Software Foundation (ASF) under one or more
>    3  *  contributor license agreements.  See the NOTICE file distributed
> with
>    4  *  this work for additional information regarding copyright
> ownership.
>    5  *  The ASF licenses this file to You under the Apache License,
> Version
> 2.0
>    6  *  (the "License"); you may not use this file except in compliance
> with
>    7  *  the License.  You may obtain a copy of the License at
>    8  *
>    9  *      http://www.apache.org/licenses/LICENSE-2.0
>   10  *
>   11  *  Unless required by applicable law or agreed to in writing,
> software
>   12  *  distributed under the License is distributed on an "AS IS" BASIS,
>   13  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
> implied.
>   14  *  See the License for the specific language governing permissions
> and
>   15  *  limitations under the License.
>   16  *
>   17  */
>
> Thanks for your opinions.
> -jt
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message