It would be nice id JSS would be able to handle .jrxml and .jasper files by default on Mac. This is quite easy to do.
In the Info.plist inside the Mac version's appbundle:
Something similar to this should be added to the keys (this works fine and is minimalistic):
<string>Compiled Jasper Report</string>
Maarten @ Yesplan
as far as I could find there is no such "easy" way to modify the Info.plist information being produced when materializing the OSX product.
I found this reference that sounds interesting, anyhow, as you may see it is still in status NEW: https://bugs.eclipse.org/bugs/show_bug.cgi?id=339526
What I could try to do is to create something custom, like this maven plugin that, among the other tasks, patches the Info.plist file.
Reference here: https://github.com/komaz/eclipse-ini-patcher
I will put this among the TODO list in the road map.
The section you proposed above is fine, and you can as workaround for now apply it to the Info.plist located in /Applications/Jaspersoft Studio 5.6.1.final/Jaspersoft Studio.app/Contents
After that you give the following commands in terminal:
>> alias lsregister='/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister'
>> lsregister -lint -f /Applications/Jaspersoft\ Studio\ 5.6.1.final/Jaspersoft\ Studio.app
This will register the associations correctly and you will be able to double click on the JRXML (and .jasper) files to open them.
You can verify that the associations are present by verifying the output of "lsregister -dump" command.
we should have it also for Linux and Windows, to create this file associations and desktop shortcuts
file associations should be not only for .jrxml and .jasper but also for .jrtx .jrctx, all extensions we use