ProjectDefinition.st
changeset 17094 49e291c57459
parent 17070 713e0328c7d0
child 17109 7c49508fa1bf
equal deleted inserted replaced
17093:9ace5a9cc66d 17094:49e291c57459
  1292                     newSpec add:newEntry.
  1292                     newSpec add:newEntry.
  1293                 ]
  1293                 ]
  1294             ].
  1294             ].
  1295         ].
  1295         ].
  1296     ].
  1296     ].
  1297 
       
  1298     self searchForClasses do:[:eachClass |
  1297     self searchForClasses do:[:eachClass |
  1299         |className attributes oldSpecEntry oldAttributes newEntry|
  1298         |className attributes oldSpecEntry oldAttributes newEntry|
  1300 
  1299 
  1301         eachClass isJavaClass ifFalse:[
  1300         eachClass isJavaClass ifFalse:[
  1302             className := eachClass name.
  1301             className := eachClass name.
  2502 
  2501 
  2503     ^ '-warnNonStandard'
  2502     ^ '-warnNonStandard'
  2504 
  2503 
  2505     "Created: / 18-08-2006 / 12:51:38 / cg"
  2504     "Created: / 18-08-2006 / 12:51:38 / cg"
  2506 ! !
  2505 ! !
       
  2506 
  2507 
  2507 
  2508 !ProjectDefinition class methodsFor:'description - project information'!
  2508 !ProjectDefinition class methodsFor:'description - project information'!
  2509 
  2509 
  2510 applicationAdditionalIconFileNames
  2510 applicationAdditionalIconFileNames
  2511     "Return the icon-filenames for additional icons of the application
  2511     "Return the icon-filenames for additional icons of the application
  5170      But not make them autoloaded when the package is separate
  5170      But not make them autoloaded when the package is separate
  5171      test-package - by conventions such package should by named
  5171      test-package - by conventions such package should by named
  5172      #'module:package/subpackage/tests'
  5172      #'module:package/subpackage/tests'
  5173     "
  5173     "
  5174     ((self package endsWith: '/tests') or:[(self package endsWith: '/test')]) ifFalse:[
  5174     ((self package endsWith: '/tests') or:[(self package endsWith: '/test')]) ifFalse:[
  5175         (aClass inheritsFrom: TestCase) ifTrue:[^#(autoload)].
  5175         (TestCase notNil and:[aClass inheritsFrom: TestCase]) ifTrue:[^#(autoload)].
  5176         (aClass inheritsFrom: TestResource) ifTrue:[^#(autoload)].
  5176         (TestResource notNil and:[aClass inheritsFrom: TestResource]) ifTrue:[^#(autoload)].
  5177     ].
  5177     ].
  5178 
  5178 
  5179     "No additional attributes"
  5179     "No additional attributes"
  5180     ^#()
  5180     ^#()
  5181 
  5181 
  5280 
  5280 
  5281                 (entry isArray and:[entry size == 1]) ifTrue:[
  5281                 (entry isArray and:[entry size == 1]) ifTrue:[
  5282                     nm := entry first.
  5282                     nm := entry first.
  5283                     entriesByName at:nm put:nm.
  5283                     entriesByName at:nm put:nm.
  5284                 ] ifFalse:[
  5284                 ] ifFalse:[
  5285                     nm := entry.
  5285                     (entry isArray and:[entry size > 1]) ifTrue:[
  5286                     entriesByName at:nm put:entry.
  5286                         nm := entry first.
       
  5287                         entriesByName at:nm put:entry.
       
  5288                     ] ifFalse:[
       
  5289                         nm := entry.
       
  5290                         entriesByName at:nm put:entry.
       
  5291                     ].
  5287                 ].
  5292                 ].
  5288                 nm
  5293                 nm
  5289             ].
  5294             ].
  5290 
  5295 
  5291     "/ extract loaded and unloaded classes.
  5296     "/ extract loaded and unloaded classes.
  7643 ! !
  7648 ! !
  7644 
  7649 
  7645 !ProjectDefinition class methodsFor:'documentation'!
  7650 !ProjectDefinition class methodsFor:'documentation'!
  7646 
  7651 
  7647 version
  7652 version
  7648     ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.520 2014-11-18 16:16:00 cg Exp $'
  7653     ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.521 2014-11-20 00:56:20 cg Exp $'
  7649 !
  7654 !
  7650 
  7655 
  7651 version_CVS
  7656 version_CVS
  7652     ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.520 2014-11-18 16:16:00 cg Exp $'
  7657     ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.521 2014-11-20 00:56:20 cg Exp $'
  7653 !
  7658 !
  7654 
  7659 
  7655 version_SVN
  7660 version_SVN
  7656     ^ '$ Id: ProjectDefinition.st 10645 2011-06-09 15:28:45Z vranyj1  $'
  7661     ^ '$ Id: ProjectDefinition.st 10645 2011-06-09 15:28:45Z vranyj1  $'
  7657 ! !
  7662 ! !