You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@edgent.apache.org by "Dale LaBossiere (JIRA)" <ji...@apache.org> on 2016/10/21 19:10:58 UTC
[jira] [Updated] (EDGENT-284) Check all source files have license
headers
[ https://issues.apache.org/jira/browse/EDGENT-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dale LaBossiere updated EDGENT-284:
-----------------------------------
Description:
TODO check into existing tools for this.
In the mean time, these steps should be a sensible substitute:
cd edgent
find . -name '*.java' >all.java.txt
grep -l "Licensed to the Apache" `cat all.java.txt` > lic.java.txt
diff {all,lic}.java.txt
find . -name '*.sh' >all.sh.txt
grep -l "Licensed to the Apache" `cat all.sh.txt` > lic.sh.txt
diff {all,lic}.sh.txt
find . -name '*.cmd' >all.cmd.txt
grep -l "Licensed to the Apache" `cat all.cmd.txt` > lic.cmd.txt
diff {all,lic}.cmd.txt
> Check all source files have license headers
> -------------------------------------------
>
> Key: EDGENT-284
> URL: https://issues.apache.org/jira/browse/EDGENT-284
> Project: Edgent
> Issue Type: Sub-task
> Reporter: Dale LaBossiere
> Assignee: Dale LaBossiere
>
> TODO check into existing tools for this.
> In the mean time, these steps should be a sensible substitute:
> cd edgent
> find . -name '*.java' >all.java.txt
> grep -l "Licensed to the Apache" `cat all.java.txt` > lic.java.txt
> diff {all,lic}.java.txt
> find . -name '*.sh' >all.sh.txt
> grep -l "Licensed to the Apache" `cat all.sh.txt` > lic.sh.txt
> diff {all,lic}.sh.txt
> find . -name '*.cmd' >all.cmd.txt
> grep -l "Licensed to the Apache" `cat all.cmd.txt` > lic.cmd.txt
> diff {all,lic}.cmd.txt
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)