ProjectDefinition.st
changeset 19905 b0aeb6e60706
parent 19898 24a7019a1f7e
child 19912 ca84ec5f80a7
child 19955 823336f6198b
--- a/ProjectDefinition.st	Fri May 27 09:03:45 2016 +0200
+++ b/ProjectDefinition.st	Sat May 28 17:51:08 2016 +0200
@@ -5197,6 +5197,14 @@
 
 !ProjectDefinition class methodsFor:'loading'!
 
+checkForLoad
+    "raise an error, if the package is not suitable for loading-"
+
+    self supportedOnPlatform ifFalse:[
+        PackageNotCompatibleError raiseWith:self package.
+    ].
+!
+
 ensureFullyLoaded
     "ensure that all classes and extensions are loaded properly.
      This is normally no problem for compiled classLibs - however, if a package