Aenigma / ActionMockup

Other
1 stars 0 forks source link

change how .jrxml file calls are handled #28

Closed jackal390iv closed 10 years ago

jackal390iv commented 10 years ago

currently the calls made are directly, not sure if this is the best use as the calls will have to be changed constantly.

jackal390iv commented 10 years ago

currently: "reportSource = "C:\Users........."

Aenigma commented 10 years ago

Add reports into Other Sources/src/main/resources/. You can create a directory in there like jrxml or jaspereports or something. You can then obtain this resource using getResource().

I described this prior in https://github.com/Allcoware/TesterFactory/issues/5.

Aenigma commented 10 years ago

Actually, this is an excellent resource on the subject I found afterwards:

http://javachannel.org/posts/how-to-access-static-resources/