You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Balu Vellanki (JIRA)" <ji...@apache.org> on 2015/07/17 02:58:04 UTC

[jira] [Comment Edited] (FALCON-899) Avoid duplicate *.properties files

    [ https://issues.apache.org/jira/browse/FALCON-899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14630618#comment-14630618 ] 

Balu Vellanki edited comment on FALCON-899 at 7/17/15 12:57 AM:
----------------------------------------------------------------

Because System property "config.location" is not set by any of falcon tests, the common/target/classes is the fallback location for finding the *.properties files. The files are copied from common/src/main/resources/ to common/target/classes/ when the tests are run.  Moving properties files to common/src/test/resources/ will result in these files being copies to common/target/test-classes/ , and thus being unavailable to ApplicationProperties class. 

Closing this Jira as "Not a problem" 


was (Author: bvellanki):
Because System property "config.location" is not set by any of falcon tests, the common/target/classes is the fallback location for finding the *.properties files. The files are copied from common/src/main/resources/ to common/target/classes/ when the tests are run.  Moving properties files to common/src/test/resources/ will result in these files being copies to common/target/test-classes/ , and thus being unavailable to ApplicationProperties class. 

Closing this Jira as wontfix 

> Avoid duplicate *.properties files 
> -----------------------------------
>
>                 Key: FALCON-899
>                 URL: https://issues.apache.org/jira/browse/FALCON-899
>             Project: Falcon
>          Issue Type: Bug
>          Components: common
>    Affects Versions: 0.6
>            Reporter: Balu Vellanki
>            Assignee: Balu Vellanki
>             Fix For: 0.7
>
>
>  Properties files are located under common/ and src/. By having them at two locations, it is possible to introduce errors when dev update one location and forget to update the other, merge these duplicate files to a single location



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)