In a custom plugin I need to check for the version of WAS that is being launched. It seems that the API in Nika has changed a bit and the plugin fails to do its job now.
Here's how the code looked like for the versions prior to 11:
So what is required is to check, if the WAS version is 6.1 or later.
Could anyone to suggest how to check for this version in case of IntelliJ 11?