How to attach resource bundle with report in Jasper Studio

Hi

I am trying to attach resource bundle with my jrxml file and I have properties file available in same folder as jrxml

 

But when I try to lookup using opern resource I cannot see prorpties file, list is empty

Can you help me how to locate and link resource bundle with report?

atifoxon's picture
Joined: May 17 2015 - 6:03am
Last seen: 7 years 3 months ago

4 Answers:

hozawa's picture
177959
Joined: Apr 24 2010 - 4:31pm
Last seen: 4 years 1 min ago

I have tried this one but it does not seems to be working

atifoxon's picture
Joined: May 17 2015 - 6:03am
Last seen: 7 years 3 months ago

 

Hello! Please!...Could you tell me how to create a resource and a bundle from the beginning? Thanks

anais.henriquez's picture
Joined: Oct 5 2017 - 7:21am
Last seen: 5 years 5 months ago

Hi and sorry for being late to the party,

I've been suffering this since the 1st time I tried Jaspersoft Studio.

Information regarding this is scarce or non existant, as usual.

In my experience, there's a couple of things to take into account:

1) Don't LINK resource boundles. It won't work. Just include the actual files and it will copy them in the project directory. The problem is that if you modify them outside, you have to overwrite them every time.

2) Include your resource bundle files or directory in the build path (right click over directory or file -> "Build Path" -> "Use as Resource Folder"). Otherwise it won't work (or that's what I've experienced).

 

pere.pasqual's picture
Joined: Sep 17 2020 - 1:45am
Last seen: 1 year 1 month ago
Feedback
randomness