netbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaroslav Tulach <jaroslav.tul...@oracle.com>
Subject Apache File Headers
Date Wed, 23 Nov 2016 16:28:30 GMT
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
View raw message