ProjectDefinition.st
changeset 10013 c6cd8f035693
parent 10011 4df81726da18
child 10022 e0df2092b978
equal deleted inserted replaced
10012:b2de139fbc13 10013:c6cd8f035693
   755 
   755 
   756     aTwoArgBlock 
   756     aTwoArgBlock 
   757         value: self extensionMethodNames_code
   757         value: self extensionMethodNames_code
   758         value: 'description - contents'.
   758         value: 'description - contents'.
   759 
   759 
       
   760     aTwoArgBlock 
       
   761         value: self preRequisites_code
       
   762         value: 'description'.
       
   763 
   760     (self class implements:#description) ifFalse:[
   764     (self class implements:#description) ifFalse:[
   761         aTwoArgBlock 
   765         aTwoArgBlock 
   762             value: self description_code
   766             value: self description_code
   763             value: 'description - project information'.
   767             value: 'description - project information'.
   764     ].
   768     ].
   802 
   806 
   803     preRequisites := self preRequisites asSet.
   807     preRequisites := self preRequisites asSet.
   804     preRequisites addAll: self searchForPreRequisites keys.
   808     preRequisites addAll: self searchForPreRequisites keys.
   805 
   809 
   806     self isApplicationDefinition ifTrue:[
   810     self isApplicationDefinition ifTrue:[
   807         preRequisites add:'stx:libcomp'.
   811         preRequisites add:#'stx:libcomp'.
   808         self isGUIApplication ifTrue:[
   812         self isGUIApplication ifTrue:[
   809             preRequisites add:'stx:libbasic2'.
   813             preRequisites add:#'stx:libbasic2'.
   810             preRequisites add:'stx:libview'.
   814             preRequisites add:#'stx:libview'.
   811             preRequisites add:'stx:libview2'.
   815             preRequisites add:#'stx:libview2'.
   812             preRequisites add:'stx:libwidg'.
   816             preRequisites add:#'stx:libwidg'.
   813             preRequisites add:'stx:libwidg2'.
   817             preRequisites add:#'stx:libwidg2'.
   814             preRequisites add:'stx:libui'.
   818             preRequisites add:#'stx:libui'.
   815         ].
   819         ].
   816     ].
   820     ].
   817 
   821 
   818     preRequisites removeAll: self excludedFromPreRequisites.
   822     preRequisites removeAll: self excludedFromPreRequisites.
   819     preRequisites remove:self package.
   823     preRequisites remove:self package.
   820 
   824 
   821     ^ String streamContents:[:s |
   825     ^ String streamContents:[:s |
   822         s nextPutLine:'preRequisites'.
   826         s nextPutLine:'preRequisites'.
   823         s nextPutLine:'    ^ #('.
   827         s nextPutLine:'    ^ #('.
   824         preRequisites asSortedCollection do:[:eachPackageID |    
   828         preRequisites asSortedCollection do:[:eachPackageID |
   825             s nextPutLine:eachPackageID asString storeString
   829             s spaces:8.
       
   830             eachPackageID storeOn:s.
       
   831             s cr.
   826         ].      
   832         ].      
   827         s nextPutLine:')'
   833         s nextPutLine:'    )'
   828     ].
   834     ].
   829 
   835 
   830     "
   836     "
   831      bosch_dapasx_application preRequisites_code
   837      bosch_dapasx_application preRequisites_code
   832      demo_demoApp1 preRequisites_code
   838      demo_demoApp1 preRequisites_code
       
   839      stx_libtool2 preRequisites_code
   833     "
   840     "
   834 
   841 
   835     "Modified: / 08-08-2006 / 19:24:34 / fm"
   842     "Modified: / 08-08-2006 / 19:24:34 / fm"
   836     "Created: / 17-08-2006 / 21:28:09 / cg"
   843     "Created: / 17-08-2006 / 21:28:09 / cg"
   837     "Modified: / 21-09-2006 / 17:37:28 / cg"
   844     "Modified: / 21-09-2006 / 17:37:28 / cg"
  3198 ! !
  3205 ! !
  3199 
  3206 
  3200 !ProjectDefinition class methodsFor:'documentation'!
  3207 !ProjectDefinition class methodsFor:'documentation'!
  3201 
  3208 
  3202 version
  3209 version
  3203     ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.83 2006-09-25 20:54:25 stefan Exp $'
  3210     ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.84 2006-09-26 12:10:02 stefan Exp $'
  3204 ! !
  3211 ! !
  3205 
  3212 
  3206 ProjectDefinition initialize!
  3213 ProjectDefinition initialize!