--- a/ProjectDefinition.st Tue Oct 05 17:41:24 2010 +0200
+++ b/ProjectDefinition.st Tue Oct 05 17:59:32 2010 +0200
@@ -4685,10 +4685,16 @@
loadedClasses := OrderedCollection new.
self packageDirectory isNil ifTrue:[
- self
- error:(self name,'[error] cannot install because packageDirectory is unknown: ', classNamesToLoad printString)
- mayProceed:true.
- ^ false.
+ classNamesToLoad notEmpty ifTrue:[
+ "required classes are missing.
+ Autoloaded classes are considered as optional..."
+ self
+ error:(self name,'[error] cannot install because packageDirectory is unknown: ', classNamesToLoad printString)
+ mayProceed:true.
+ ^ false.
+ ].
+ (self name,'[info] cannot install autoloaded classes because packageDirectory is unknown') infoPrintCR.
+ ^ true.
].
"we need the abbreviations, since sometimes there is no 1-to-1 mapping
@@ -5422,11 +5428,11 @@
!ProjectDefinition class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.318 2010-10-05 15:41:24 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.319 2010-10-05 15:59:32 stefan Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.318 2010-10-05 15:41:24 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.319 2010-10-05 15:59:32 stefan Exp $'
! !
ProjectDefinition initialize!