falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balu Vellanki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-899) Avoid duplicate *.properties files
Date Fri, 17 Jul 2015 00:57:04 GMT

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

Balu Vellanki commented on FALCON-899:
--------------------------------------

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)

Mime
View raw message