I had almost forgot about that. It used to be a problem but I think we
can now fix this properly, mostly because we're now releasing the sync
with the Mono project.
The trick is to check for definitions-{w.x.y.z}.zip and, if not found we
download it. This means that a new Mono release, triggers:
a) a new MoMA release (and definitions update);
b) a new Gendarme release (with a different version number);
So updating Gendarme will update the definitions to the matching Mono
release. That should cover most cases (and be better than the existing
behavior).
The next step is to use a configurable property to allow users to
specify a specific Mono version. E.g. someone use the latest Gendarme
but wants to check Mono compatibility with 2.4.2.3 (since it's the long
term supported version of Mono, included in SLE11 code base).
I'll look at implementing the above this weekend.
>
> - [Problem ("The method has some known limitations when used with the Mono runtime.")]
> - [Solution ("Check if this code is critical to your application. Also make sure your definition files are up to date.")]
> + [Problem ("The method is either missing or partially implemented on Mono.")]
> + [Solution ("Review the code. Also delete the definitions.zip to ensure that the latest version is downloaded.")]
Not that the original text was awesome by any mean but "Review the code"
is not enough. The later part (definitions) we can now drop. What about
"Review and test the code to ensure it can deal with the limitations"
for the solution ?
Sebastien
That's fine with me. Is it OK to check in with that change?
-- Jesse
Yes, go ahead. I'll merge/commit my changes later tonight (it needs some
more testing).
Thanks
Sebastien
r140726
Note that I changed this to "Review and test the code to ensure that
it works properly on Mono."
-- Jesse