Hi Brad, If the file was part of the donation (which it was), and the license header does not look suspicious (which it does not), then I believe the header can be replaced with the standard ASF header, look for example into: cnd/cnd.modelimpl/src/org/netbeans/modules/cnd/modelimpl/csm/IncludeImpl.java
You could look into the convert tool to see why it didn't detect this license and possibly enhance the tool: https://github.com/apache/netbeans-tools/tree/master/convert But, in this case, it seems the reason is the '*' in the middle of one of the lines (or, more likely, two lines accidentally merged including the '*'), and there don't appear to be other files like this, so a manual replacement seems fine to me. Thanks, Jan On Wed, Jun 10, 2020 at 3:39 AM Brad Walker <[email protected]> wrote: > Now the C/C++ modules are sitting on their own branch, I'm trying to fix > things. This is the main reason for me getting involved in the project. > > How do I fix the licenses? > > For example, the following file: > > ./cnd/cnd.modelimpl/src/org/netbeans/modules/cnd/modelimpl/csm/DeclTypeImpl.java > > Has an Oracle license that looks like this: > > /* > * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. > * > * Copyright 2013 Oracle and/or its affiliates. All rights reserved. > * > * Oracle and Java are registered trademarks of Oracle and/or its > affiliates. > * Other names may be trademarks of their respective owners. > * > * The contents of this file are subject to the terms of either the GNU > * General Public License Version 2 only ("GPL") or the Common > * Development and Distribution License("CDDL") (collectively, the > * "License"). You may not use this file except in compliance with the > > ... > > */ > > What do replace it with? Suggestions? > > -brad w. >
