Still not working but perhaps a tip is in the IRC discussion :
[16:27] <nmicoud> Hi CarlosRuiz ; just in case, any idea for
https://groups.google.com/d/msg/idempiere/Cyk0z4xv4eo/VKuZjkkhS-sJ ?
[16:29] <@CarlosRuiz> hi nmicoud
[16:29] <@CarlosRuiz> does setting the default for the parameter doesn't work?
[16:30] <@CarlosRuiz> BTW - you said 4.6.0? or maybe is 5.6.0
[16:30] <nmicoud> no, 4.6
[16:30] <@CarlosRuiz> for idempiere it works with 5.6.0
[16:31] <nmicoud> i don't understand. The issue I have is when launching the report within iReport. You mean if i use 5.6, it will be ok ?
[16:32] <@CarlosRuiz> no
[16:32] <@CarlosRuiz> I mean - the version for idempiere 2.1 is 5.6.0
[16:32] <@CarlosRuiz> but I think the solution must be just to set a default for the parameter
[16:32] <@CarlosRuiz> not tested
[16:33] <nmicoud> which parameter ?
[16:33] <nmicoud> RESOURCE ?
[16:33] <@CarlosRuiz> CURRENT_LANG
[16:33] <nmicoud> trying
[16:34] <nmicoud> but there is not such parameter on PruebaOSGI.jrxml
[16:35] <nmicoud> and even if i had on, i still got null (with a value es or es_ES)
[16:40] <@CarlosRuiz> does P_RESOURCE has a default ?
[16:40] <nmicoud> no
[16:41] <nmicoud> and 'Use as a prompt' is not ticked
[16:41] <@CarlosRuiz> don't know where does jasper looks for resource if that's not marked
[16:42] <nmicoud> i though it was in the same directory, but seems not
[16:42] <nmicoud> and i can't find any tutorial
[16:42] <@CarlosRuiz> and if you set P_RESOURCE default?
[16:43] <nmicoud> with 'es' ?
[16:43] <@CarlosRuiz> no - is a folder
[16:43] <@CarlosRuiz> where the resources are
[16:43] <@CarlosRuiz> ending with /
[16:43] <nmicoud> i've put them in the same directory
[16:43] <nmicoud> trying ./ and still returns null
[16:44] <@CarlosRuiz> ... wait ... reading ReportStarter ...
[16:45] <@CarlosRuiz> I see the resources are passed like PropertyResourceBundle
[16:45] <nmicoud> i see
[16:53] <nmicoud> trying
http://stackoverflow.com/questions/4684679/program-not-finding-jasperreports-resource-bundle-properties-file[16:59] <@CarlosRuiz> Nicolas
[16:59] <@CarlosRuiz> there is a property on the report
[17:00] <@CarlosRuiz> called "Resource bundle"
[17:00] <@CarlosRuiz> I set it to "PruebaOSGi" .. maybe it works - can't test because the report has references to Msg that cannot be solved
[17:02] <nmicoud> i see it
[17:02] <nmicoud> setting value to PruebaOSGI and launch
error : Can't find bundle for base name PruebaOSGi, locale es_ES
[17:03] <nmicoud> that should be something like that
[17:40] <nmicoud> I give up... I may not be far from the solution, but still got 'null'. I will copy/paste the discussion on the google group thread and try to do it later