Jump to content
Changes to the Jaspersoft community edition download ×

How to attach resource bundle with report in Jasper Studio


atifoxon

Recommended Posts

Hi

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

jasper_studio_report.png.d5736759f1b9064f9040d598bcba6024.png

 

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

resource(1).png.5f3bcc4afd01022aed2d12673e047e07.png

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

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 years later...
  • 4 years later...

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

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...