[
https://issues.apache.org/jira/browse/SAMZA-501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14258455#comment-14258455
]
Yan Fang commented on SAMZA-501:
--------------------------------
Hi [~vsowrirajan], thanks for the contributing. I tried this without the patch,
did not get any error. When I compile with -debug, can see these files are
actually implicitly excluded. So I am wondering if the licenses error is caused
by other files/code.
> hello-samza - Eclipse files are not ignored by rat while scanning for licenses
> ------------------------------------------------------------------------------
>
> Key: SAMZA-501
> URL: https://issues.apache.org/jira/browse/SAMZA-501
> Project: Samza
> Issue Type: Bug
> Reporter: Venkata krishnan Sowrirajan
> Assignee: Venkata krishnan Sowrirajan
> Priority: Blocker
> Attachments: Samza-501.patch
>
>
> When I try to build hello-samza after pointing eclipse to the git directory
> of hello-samza for the second time, I am getting rat unknown licenses error.
> This is because eclipse creates .classpath and .settings files/dir inside the
> project directory which doesn't have the license info. So rat needs to
> exclude .settings and .classpath while scanning for license info.
> Unapproved licenses:
> samza-job-package/.settings/org.eclipse.core.resources.prefs
> samza-job-package/.settings/org.eclipse.m2e.core.prefs
> samza-job-package/.settings/org.eclipse.jdt.core.prefs
> samza-job-package/.classpath
> samza-wikipedia/.settings/org.eclipse.core.resources.prefs
> samza-wikipedia/.settings/org.eclipse.m2e.core.prefs
> samza-wikipedia/.settings/org.eclipse.jdt.core.prefs
> samza-wikipedia/.classpath
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)