class: Builder::Report
authorStefan Vogel <sv@exept.de>
Mon, 08 Apr 2013 10:50:48 +0200
changeset 142 bbebfa86daea
parent 141 9265bed28ff5
child 143 252c91b7f96d
class: Builder::Report changed: #loadPackageIfNotAlready:
reports/Builder__Report.st
--- a/reports/Builder__Report.st	Tue Mar 26 14:51:13 2013 +0100
+++ b/reports/Builder__Report.st	Mon Apr 08 10:50:48 2013 +0200
@@ -276,18 +276,19 @@
 !
 
 loadPackageIfNotAlready: pkg
-    "Loads a package, if it is not loaded allready. Raises an error if package cannot be loaded"
+    "Loads a package, if it is not loaded already. 
+     Raises an error if package cannot be loaded"
 
     | def |
     def := ProjectDefinition definitionClassForPackage:pkg.
     def isNil ifTrue:[ 
-        (Smalltalk loadPackage:pkg asSymbol) ifFalse:[
+        (Smalltalk loadPackage:pkg) ifFalse:[
             self error:'Cannot load package: ', pkg.
         ].
         def := ProjectDefinition definitionClassForPackage:pkg. 
     ].
     def isNil ifTrue:[
-        self error:'Package loaded but project definition not found: ', pkg
+        self error:'Package loaded but project definition not found: ', pkg.
     ].
 
     "Created: / 13-01-2012 / 12:56:48 / Jan Vrany <jan.vrany@fit.cvut.cz>"
@@ -375,4 +376,5 @@
     ^ '§Id: Builder__Report.st 294 2011-11-27 11:08:02Z vranyj1 §'
 ! !
 
+
 Report initialize!