Use of baseLanguage.math Intervals in Constraints Follow
Thanks to unmatched MPS flexibility, I've managed to use baseLanguage.math.Interval in Contraint definition for my properties:
property {value}
get:<default>
set:<default>
is valid:(node, propertyValue, scope)->boolean {
propertyValue ∈ [0, +∞);
}
It looks really nice and compiles well, but when I try to use this constraint (enter property value), IDE exception is thrown:
java.lang.NoClassDefFoundError: jetbrains/mps/baseLanguage/math/runtime/Interval
The solution is to add MPS-1.0\core\baseLanguage\jetbrains.mps.baseLanguage.math.runtime.jar into Language Properties -> Design Time -> Classpath
I hope this kind of dependencies will be automatically resolved somewhere in the future ;-)
Please sign in to leave a comment.
Alexander,
It's a bug and, I think we will fix it soon.
Regards,
Konstantin