You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Lucas Ventura Carro (JIRA)" <ji...@apache.org> on 2012/07/03 12:24:24 UTC

[jira] [Comment Edited] (DELTASPIKE-215) Add a new annotation to override the location of the apache-deltaspike.properties file

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

Lucas Ventura Carro edited comment on DELTASPIKE-215 at 7/3/12 10:24 AM:
-------------------------------------------------------------------------

Useful example. But: why PropertyFileConfigSource is not a public ConfigSource implementation? Is more useful than using the BaseConfigSource, and moreover: then can be done a ConfigSourceProvider, which add all properties file in classpath.
                
      was (Author: lucasvc):
    Useful example. But: PropertyFileConfigSource is not a public ConfigSource implementation? Is more useful than using the BaseConfigSource, and moreover: then can be done a ConfigSourceProvider, which add all properties file in classpath.
                  
> Add a new annotation to override the location of the apache-deltaspike.properties file
> --------------------------------------------------------------------------------------
>
>                 Key: DELTASPIKE-215
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-215
>             Project: DeltaSpike
>          Issue Type: New Feature
>            Reporter: Charles Moulliard
>
> I don't see a property (or annotation) that we can use to override the name to be used to load the properties file (META-INF/apache-deltaspike.properties) and its location like we can do with Spring (@ContextConfiguration(locations = { "classpath:mycontext.xml" })).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira