tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Christo <_...@mail.com>
Subject Re: Properties within META-INF/
Date Sat, 01 Mar 2014 15:54:16 GMT
Still had no luck in getting this to work, so will just stick to apps/myapp/WEB-INF/classes/META-INF/resources.json
for now. Thanks anyway, Romain :)


On 27 Feb 2014, at 13:18, Chris Christo <_c.c@mail.com> wrote:

> huh? maybe I confused you :)
> 
> apache-openejb/
> \---apps/myapp/WEB-INF/module.properties - IGNORED
> \---apps/myapp/WEB-INF/application.properties - IGNORED
> \---apps/myapp/WEB-INF/resources.json - IGNORED
> \—apps/myapp/WEB-INF/classes/META-INF/resources.json - WORKS
> 
> 
> On 27 Feb 2014, at 13:04, Romain Manni-Bucau <rmannibucau@gmail.com> wrote:
> 
>> why do you say so?
>> Romain Manni-Bucau
>> Twitter: @rmannibucau
>> Blog: http://rmannibucau.wordpress.com/
>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> Github: https://github.com/rmannibucau
>> 
>> 
>> 
>> 2014-02-27 13:39 GMT+01:00 Chris Christo <_c.c@mail.com>:
>>> hahaha *facepalm* :P my badd Romain.
>>> 
>>> Hmm ok still WEB-INF/application.properties or WEB-INF/module.properties is not
being picked up :(
>>> 
>>> 
>>> 
>>> 
>>> On 27 Feb 2014, at 12:27, Romain Manni-Bucau <rmannibucau@gmail.com> wrote:
>>> 
>>>> when i said WEB-INF i didn't say WEB-INF/classes/META-INF ;).
>>>> "WEB-INF/classes/META-INF" working is a side effect.
>>>> Romain Manni-Bucau
>>>> Twitter: @rmannibucau
>>>> Blog: http://rmannibucau.wordpress.com/
>>>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>>> Github: https://github.com/rmannibucau
>>>> 
>>>> 
>>>> 
>>>> 2014-02-27 13:22 GMT+01:00 Chris Christo <_c.c@mail.com>:
>>>>> Sorry should have clarified, when I say META-INF I mean, WEB-INF/classes/META-INF/
>>>>> 
>>>>> still couldn't get application | module.properties to work... any ideas?
>>>>> 
>>>>> WEB-INF/classes/META-INF/resouces.json - WORKS
>>>>> WEB-INF/classes/META-INF/resouces.xml - WORKS
>>>>> WEB-INF/classes/META-INF/application.properties - NOT WORK
>>>>> WEB-INF/classes/META-INF/module.properties - NOT WORK
>>>>> 
>>>>> 
>>>>> On 27 Feb 2014, at 12:14, Romain Manni-Bucau <rmannibucau@gmail.com>
wrote:
>>>>> 
>>>>>> Hi
>>>>>> 
>>>>>> all these files should be in WEB-INF. resources.properties,
>>>>>> app.properties, system.properties doesn't exist here. Only
>>>>>> resources.xml|json, application.properties and module.properties
IIRC.
>>>>>> Romain Manni-Bucau
>>>>>> Twitter: @rmannibucau
>>>>>> Blog: http://rmannibucau.wordpress.com/
>>>>>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>>>>> Github: https://github.com/rmannibucau
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 2014-02-27 13:12 GMT+01:00 Chris Christo <_c.c@mail.com>:
>>>>>>> Hi, how do you name the properties file within the war's META-INF
folder? resources.json and resources.xml gets picked up fine, but NOT 'resources.properties'
or 'app.properties' or 'system.properties'.
>>>>> 
>>> 
> 


Mime
View raw message