comment/format in:
authorClaus Gittinger <cg@exept.de>
Tue, 21 Dec 2010 11:04:50 +0100
changeset 13176 9cfa8b8de3d0
parent 13175 ea7102cce519
child 13177 f7bebd737d65
comment/format in: #basicFileNamesToGenerate #generateFile:
ApplicationDefinition.st
--- a/ApplicationDefinition.st	Mon Dec 20 14:34:54 2010 +0100
+++ b/ApplicationDefinition.st	Tue Dec 21 11:04:50 2010 +0100
@@ -642,6 +642,8 @@
         at:self nsiFilename     put:#'generate_packageName_dot_nsi'.
 
     ^ dict.
+
+    "Modified: / 21-12-2010 / 11:01:27 / cg"
 !
 
 generateFile:filename
@@ -649,6 +651,8 @@
         ^ self generate_packageName_dot_nsi
     ].
     ^ super generateFile:filename
+
+    "Modified: / 21-12-2010 / 11:00:59 / cg"
 !
 
 generate_modules_dot_c
@@ -766,6 +770,59 @@
     "Created: / 15-10-2006 / 12:59:03 / cg"
 !
 
+autopackage_default_dot_apspec_mappings
+    |mappings|
+
+    mappings := super autopackage_default_dot_apspec_mappings.
+
+    mappings
+"/        at: 'TOP' put: ( self pathToTop_unix );
+"/        at: 'NSI_FILENAME' put: self nsiFilename ;
+        at: 'APPLICATION' put: self applicationName;
+        at: 'APPLICATION_PACKAGE' put: self package printString "applicationPackage";
+        at: 'APPLICATION_TYPE' put: self applicationType;
+"/        at: 'STARTUP_CLASS' put: (self startupClassName);
+"/        at: 'STARTUP_SELECTOR' put: (self startupSelector);
+"/        at: 'MAIN_DEFINES' put: (self mainDefines);
+"/        at: 'REQUIRED_LIBS' put: (self generateRequiredLibs_make_dot_proto);  
+"/        at: 'PREREQUISITES_LIBS' put: (self generatePreRequisiteLines_make_dot_proto);  
+"/        at: 'SUBPROJECTS_LIBS' put: (self generateSubProjectLines_make_dot_proto); 
+"/        at: 'REQUIRED_LIBOBJS' put: (self generateRequiredLibobjs_make_dot_proto);
+"/        at: 'REQUIRED_LINK_LIBOBJS' put: (self generateRequiredLinkLibobjs_make_dot_proto);
+"/        at: 'DEPENDENCIES' put: (self generateDependencies_unix);
+"/        at: 'SUBPROJECTS_LIBS' put: (self generateSubProjectLines_make_dot_proto ); 
+"/        at: 'BUILD_TARGET' put: (self buildTarget );
+        yourself.
+
+    self offerSmalltalkSourceCode ifTrue:[ 
+"/        mappings
+"/            at: 'STX_SOURCE_RULES' put: ( self replaceMappings: mappings 
+"/                                            in: self make_dot_proto_stx_source_rules).
+    ].
+
+    self offerApplicationSourceCode ifTrue:[  
+"/        mappings
+"/            at: 'SOURCE_RULES' put:( self replaceMappings: mappings 
+"/                                            in: self make_dot_proto_app_source_rules ).
+    ].
+
+    self needResources ifTrue:[
+"/        mappings
+"/            at: 'REQUIRED_SUPPORT_DIRS' put: 'RESOURCEFILES';
+"/            at: 'RESOURCE_RULES' put:( self replaceMappings: mappings 
+"/                                            in: self make_dot_proto_resource_rules );
+"/            at: 'STX_RESOURCE_RULES' put: ( self replaceMappings: mappings 
+"/                                            in: self make_dot_proto_stx_resource_rules);
+"/            at: 'ADDITIONAL_RESOURCE_TARGETS' put:( self additionalResourceTargets asStringWith:' ');
+"/            yourself.
+    ].
+
+    ^ mappings
+
+    "Created: / 21-12-2010 / 09:00:49 / cg"
+    "Modified: / 21-12-2010 / 11:00:22 / cg"
+!
+
 bc_dot_mak_mappings
     |d|
 
@@ -2674,9 +2731,9 @@
 !ApplicationDefinition class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/ApplicationDefinition.st,v 1.163 2010-11-09 10:57:46 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ApplicationDefinition.st,v 1.164 2010-12-21 10:04:50 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/ApplicationDefinition.st,v 1.163 2010-11-09 10:57:46 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ApplicationDefinition.st,v 1.164 2010-12-21 10:04:50 cg Exp $'
 ! !