--- a/AbstractLauncherApplication.st Thu Mar 31 18:07:08 2016 +0200
+++ b/AbstractLauncherApplication.st Fri Apr 01 00:15:01 2016 +0200
@@ -7622,13 +7622,18 @@
ifTrue:[ path first , ':' , ((path copyFrom:2) asStringWith:$/) ]
ifFalse:[ path first ].
- isAlreadyLoaded :=
- (defClass := ProjectDefinition definitionClassForPackage:packageID) notNil
- and:[ defClass isLoaded
- and:[ defClass isFullyLoaded ]].
-
item := self getItemByPath:path packageID:packageID.
+ isAlreadyLoaded := false.
+ Error handle:[:ex |
+ item label:(item label , (' ERROR - please rebuild!!' colorizeAllWith:Color red)).
+ ] do:[
+ isAlreadyLoaded :=
+ (defClass := ProjectDefinition definitionClassForPackage:packageID) notNil
+ and:[ defClass isLoaded
+ and:[ defClass isFullyLoaded ]].
+ ].
+
target := fn contents first.
((target startsWith:'lib ') or:[(target startsWith:'app ')]) ifTrue:[
pathByItem at:item put:(target copyFrom:(target indexOfSeparator + 1)) withoutSeparators.