Publishing jasperreports.properties using Jaspersoft Server REST API

I've already published all necessary resources to create my report unit and make it work, but I haven't been able to publish jasperreports.properties to WEB-INF/classes directory. All other files where published just fine, and it is definitely the problem with hyphen in folder name. When I am trying to make POST request to ...resources/WEB-INF/classes, I get "WEB-INF" for parameter "folder"."name" is invalid, and it seems that there is nothing I can do about it. Earlier I was creating directories and adding properties using web interface, but via REST API I cannot do that.

It is important, that this file contain only one string:

net.sf.jasperreports.web.resource.pattern.fonts=fonts/.*

Maybe, there is another way to add this string to jasperreports.properties, using only REST API, or put it to another place where it will be applied to the server.

 

 

 

 

 

vera.shavela's picture
Joined: Oct 6 2021 - 4:57pm
Last seen: 1 week 2 days ago

0 Answers:

No answers yet
Feedback