ProjectDefinition.st
changeset 12748 0092049ca4d1
parent 12743 c39a4553e1ed
child 12749 160f7b56e426
equal deleted inserted replaced
12747:0b1eae8de7a4 12748:0092049ca4d1
  1740 
  1740 
  1741     ^ nil.
  1741     ^ nil.
  1742 !
  1742 !
  1743 
  1743 
  1744 subProjects
  1744 subProjects
  1745     "list packages which are known as subprojects. This method is generated automatically.
  1745     <resource: #obsolete>
       
  1746 
       
  1747     "OBSOLETE.
       
  1748      list packages which are known as subprojects. This method is generated automatically.
  1746      However, when generating automatically, packages are only added - never removed, unless listed
  1749      However, when generating automatically, packages are only added - never removed, unless listed
  1747      in excludedFromSubProjects."
  1750      in excludedFromSubProjects."
  1748 
  1751 
  1749     ^ #()
  1752     ^ #()
  1750 
  1753 
  3872         newStuffHasBeenLoaded := newStuffHasBeenLoaded | meOrMySecondIncarnation loadExtensions.
  3875         newStuffHasBeenLoaded := newStuffHasBeenLoaded | meOrMySecondIncarnation loadExtensions.
  3873         self activityNotification:'Loading classes'.
  3876         self activityNotification:'Loading classes'.
  3874         newStuffHasBeenLoaded := newStuffHasBeenLoaded | (meOrMySecondIncarnation loadAllClassesAsAutoloaded:asAutoloaded).
  3877         newStuffHasBeenLoaded := newStuffHasBeenLoaded | (meOrMySecondIncarnation loadAllClassesAsAutoloaded:asAutoloaded).
  3875 "/ no, don't load subProjects here - will lead to a recursion, which leads
  3878 "/ no, don't load subProjects here - will lead to a recursion, which leads
  3876 "/ to some classes being loaded from source (soap)
  3879 "/ to some classes being loaded from source (soap)
  3877 "/        self activityNotification:'Loading sub projects'.
  3880         self activityNotification:'Loading sub projects'.
  3878 "/        meOrMySecondIncarnation loadSubProjectsAsAutoloaded:asAutoloaded.
  3881         meOrMySecondIncarnation loadSubProjectsAsAutoloaded:asAutoloaded.
  3879     ].
  3882     ].
  3880     self activityNotification:'Executing post-load action'.
  3883     self activityNotification:'Executing post-load action'.
  3881 
  3884 
  3882     "/ mhmh - already done for dll-loaded packages
  3885     "/ mhmh - already done for dll-loaded packages
  3883     "/ meOrMySecondIncarnation initializeAllClasses.
  3886     "/ meOrMySecondIncarnation initializeAllClasses.
  4748 
  4751 
  4749 loadExtensions
  4752 loadExtensions
  4750     "load extension methods - do not load if they are already present"
  4753     "load extension methods - do not load if they are already present"
  4751 
  4754 
  4752     self hasAllExtensionsLoaded ifFalse:[
  4755     self hasAllExtensionsLoaded ifFalse:[
       
  4756 self halt.
  4753         Verbose == true ifTrue:[
  4757         Verbose == true ifTrue:[
  4754             Transcript showCR:('  %1: filing in extensions...' bindWith:self name).
  4758             Transcript showCR:('  %1: filing in extensions...' bindWith:self name).
  4755         ].
  4759         ].
  4756         Smalltalk loadExtensionsForPackage:self package.
  4760         Smalltalk loadExtensionsForPackage:self package.
  4757         ^ true.
  4761         ^ true.
  5335 ! !
  5339 ! !
  5336 
  5340 
  5337 !ProjectDefinition class methodsFor:'documentation'!
  5341 !ProjectDefinition class methodsFor:'documentation'!
  5338 
  5342 
  5339 version
  5343 version
  5340     ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.307 2010-02-26 14:38:10 cg Exp $'
  5344     ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.308 2010-03-02 11:07:16 cg Exp $'
  5341 !
  5345 !
  5342 
  5346 
  5343 version_CVS
  5347 version_CVS
  5344     ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.307 2010-02-26 14:38:10 cg Exp $'
  5348     ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.308 2010-03-02 11:07:16 cg Exp $'
  5345 ! !
  5349 ! !
  5346 
  5350 
  5347 ProjectDefinition initialize!
  5351 ProjectDefinition initialize!