You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Chris Christo <_c...@mail.com> on 2014/02/27 13:12:06 UTC

Properties within META-INF/

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

Re: Properties within META-INF/

Posted by Romain Manni-Bucau <rm...@gmail.com>.
didn't retest today but used it a lot to configure async pool.
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014-03-01 19:14 GMT+01:00 Chris Christo <_c...@mail.com>:
> ok thanks yeah will move my resources.json to WEB-INF/resources.json. Did you also mean that WEB-INF/application.properties worked for you when you tested?
>
>
> On 1 Mar 2014, at 18:03, Romain Manni-Bucau <rm...@gmail.com> wrote:
>
>> just checked the code + tested and WEB-INF/resources.xml works
>> (WEB-INF/classes/META-INF too and it is less possble to remove this
>> than what i thought but still not the default you should use if you
>> can).
>> Romain Manni-Bucau
>> Twitter: @rmannibucau
>> Blog: http://rmannibucau.wordpress.com/
>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> Github: https://github.com/rmannibucau
>>
>>
>>
>> 2014-03-01 18:43 GMT+01:00 Chris Christo <_c...@mail.com>:
>>> Ok thanks Romain, will do this asap. :)
>>>
>>> On 1 Mar 2014, at 17:18, Romain Manni-Bucau <rm...@gmail.com> wrote:
>>>
>>>> if you prepare a project i can run quickly i'll have a look (mvn
>>>> package tomee:run ;). Keep in mind
>>>> web-inf/classes/meta-inf/resources.json is not officially supported
>>>> and if it doesn't break you can't cry ;)
>>>> Romain Manni-Bucau
>>>> Twitter: @rmannibucau
>>>> Blog: http://rmannibucau.wordpress.com/
>>>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>>> Github: https://github.com/rmannibucau
>>>>
>>>>
>>>>
>>>> 2014-03-01 16:54 GMT+01:00 Chris Christo <_c...@mail.com>:
>>>>> 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...@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 <rm...@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...@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 <rm...@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...@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 <rm...@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...@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'.
>>>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>
>>>
>

Re: Properties within META-INF/

Posted by Chris Christo <_c...@mail.com>.
ok thanks yeah will move my resources.json to WEB-INF/resources.json. Did you also mean that WEB-INF/application.properties worked for you when you tested?


On 1 Mar 2014, at 18:03, Romain Manni-Bucau <rm...@gmail.com> wrote:

> just checked the code + tested and WEB-INF/resources.xml works
> (WEB-INF/classes/META-INF too and it is less possble to remove this
> than what i thought but still not the default you should use if you
> can).
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
> 
> 
> 
> 2014-03-01 18:43 GMT+01:00 Chris Christo <_c...@mail.com>:
>> Ok thanks Romain, will do this asap. :)
>> 
>> On 1 Mar 2014, at 17:18, Romain Manni-Bucau <rm...@gmail.com> wrote:
>> 
>>> if you prepare a project i can run quickly i'll have a look (mvn
>>> package tomee:run ;). Keep in mind
>>> web-inf/classes/meta-inf/resources.json is not officially supported
>>> and if it doesn't break you can't cry ;)
>>> Romain Manni-Bucau
>>> Twitter: @rmannibucau
>>> Blog: http://rmannibucau.wordpress.com/
>>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>> Github: https://github.com/rmannibucau
>>> 
>>> 
>>> 
>>> 2014-03-01 16:54 GMT+01:00 Chris Christo <_c...@mail.com>:
>>>> 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...@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 <rm...@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...@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 <rm...@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...@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 <rm...@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...@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'.
>>>>>>>>> 
>>>>>>> 
>>>>> 
>>>> 
>> 


Re: Properties within META-INF/

Posted by Romain Manni-Bucau <rm...@gmail.com>.
just checked the code + tested and WEB-INF/resources.xml works
(WEB-INF/classes/META-INF too and it is less possble to remove this
than what i thought but still not the default you should use if you
can).
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014-03-01 18:43 GMT+01:00 Chris Christo <_c...@mail.com>:
> Ok thanks Romain, will do this asap. :)
>
> On 1 Mar 2014, at 17:18, Romain Manni-Bucau <rm...@gmail.com> wrote:
>
>> if you prepare a project i can run quickly i'll have a look (mvn
>> package tomee:run ;). Keep in mind
>> web-inf/classes/meta-inf/resources.json is not officially supported
>> and if it doesn't break you can't cry ;)
>> Romain Manni-Bucau
>> Twitter: @rmannibucau
>> Blog: http://rmannibucau.wordpress.com/
>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> Github: https://github.com/rmannibucau
>>
>>
>>
>> 2014-03-01 16:54 GMT+01:00 Chris Christo <_c...@mail.com>:
>>> 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...@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 <rm...@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...@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 <rm...@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...@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 <rm...@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...@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'.
>>>>>>>>
>>>>>>
>>>>
>>>
>

Re: Properties within META-INF/

Posted by Chris Christo <_c...@mail.com>.
Ok thanks Romain, will do this asap. :)

On 1 Mar 2014, at 17:18, Romain Manni-Bucau <rm...@gmail.com> wrote:

> if you prepare a project i can run quickly i'll have a look (mvn
> package tomee:run ;). Keep in mind
> web-inf/classes/meta-inf/resources.json is not officially supported
> and if it doesn't break you can't cry ;)
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
> 
> 
> 
> 2014-03-01 16:54 GMT+01:00 Chris Christo <_c...@mail.com>:
>> 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...@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 <rm...@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...@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 <rm...@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...@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 <rm...@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...@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'.
>>>>>>> 
>>>>> 
>>> 
>> 


Re: Properties within META-INF/

Posted by Romain Manni-Bucau <rm...@gmail.com>.
if you prepare a project i can run quickly i'll have a look (mvn
package tomee:run ;). Keep in mind
web-inf/classes/meta-inf/resources.json is not officially supported
and if it doesn't break you can't cry ;)
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014-03-01 16:54 GMT+01:00 Chris Christo <_c...@mail.com>:
> 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...@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 <rm...@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...@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 <rm...@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...@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 <rm...@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...@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'.
>>>>>>
>>>>
>>
>

Re: Properties within META-INF/

Posted by Chris Christo <_c...@mail.com>.
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...@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 <rm...@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...@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 <rm...@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...@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 <rm...@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...@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'.
>>>>> 
>>> 
> 


Re: Properties within META-INF/

Posted by Chris Christo <_c...@mail.com>.
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 <rm...@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...@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 <rm...@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...@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 <rm...@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...@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'.
>>>> 
>> 


Re: Properties within META-INF/

Posted by Romain Manni-Bucau <rm...@gmail.com>.
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...@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 <rm...@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...@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 <rm...@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...@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'.
>>>
>

Re: Properties within META-INF/

Posted by Chris Christo <_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 <rm...@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...@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 <rm...@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...@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'.
>> 


Re: Properties within META-INF/

Posted by Romain Manni-Bucau <rm...@gmail.com>.
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...@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 <rm...@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...@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'.
>

Re: Properties within META-INF/

Posted by Chris Christo <_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 <rm...@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...@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'.


Re: Properties within META-INF/

Posted by Romain Manni-Bucau <rm...@gmail.com>.
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...@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'.