deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DELTASPIKE-215) Add a new annotation to override the location of the apache-deltaspike.properties file
Date Thu, 05 Jul 2012 22:43:33 GMT

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

Mark Struberg commented on DELTASPIKE-215:
------------------------------------------

Yes, the solution now is to simply implement an Interface returning the property file name.
This class will get picked up automatically.
                
> 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
>            Assignee: Mark Struberg
>             Fix For: 0.3-incubating
>
>         Attachments: DELTASPIKE-215-interface.patch, DELTASPIKE-215.patch
>
>
> 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

        

Mime
View raw message