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 <[email protected]>: > Ok thanks Romain, will do this asap. :) > > On 1 Mar 2014, at 17:18, Romain Manni-Bucau <[email protected]> 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 <[email protected]>: >>> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]>: >>>>>> 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 <[email protected]> >>>>>> 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 <[email protected]>: >>>>>>>> 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 <[email protected]> >>>>>>>> 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 <[email protected]>: >>>>>>>>>> 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'. >>>>>>>> >>>>>> >>>> >>> >
