deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DELTASPIKE-222) Add possibility to set base path
Date Sat, 07 Jul 2012 21:05:35 GMT

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

Gerhard Petracek commented on DELTASPIKE-222:
---------------------------------------------

we could change it back to a string which is called e.g. MessageSourceIdentifier or ResourceIdentifier
-> to keep the resource-keys in a single place you would need a public static var.
i'm ok with changing it to a simpler identifier instead, but we should document that it is
useful to keep the identifier in one place and that the ide support doesn't help to find existing
identifiers provided e.g. by a jar (which would be possible with the current prototype).
                
> Add possibility to set base path
> --------------------------------
>
>                 Key: DELTASPIKE-222
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-222
>             Project: DeltaSpike
>          Issue Type: New Feature
>          Components: I18n-Module
>    Affects Versions: 0.2-incubating
>            Reporter: Thomas Herzog
>             Fix For: 0.3-incubating
>
>
> Add the possibility to set the base path, means the path to the properties file.
> Now they are assumed to be at same level as the @MessageResource annotated interface
is, in fact within the same package.
> Maybe someone wants to put his resource bundles at /META-INF/resources/*.properties.
> With cal10n it was possible to set the Base with @Base("/META-INF/resources")

--
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