equal
deleted
inserted
replaced
13 |
13 |
14 "{ NameSpace: Smalltalk }" |
14 "{ NameSpace: Smalltalk }" |
15 |
15 |
16 Object subclass:#ProjectDefinition |
16 Object subclass:#ProjectDefinition |
17 instanceVariableNames:'' |
17 instanceVariableNames:'' |
18 classVariableNames:'LibraryType GUIApplicationType NonGUIApplicationType |
18 classVariableNames:'AbbrevDictionary AccessLock FolderForSubApplicationsType |
19 PackagesBeingLoaded Verbose AbbrevDictionary AccessLock |
19 GUIApplicationType LibraryType NonGUIApplicationType |
20 FolderForSubApplicationsType' |
20 PackagesBeingLoaded Verbose' |
21 poolDictionaries:'' |
21 poolDictionaries:'' |
22 category:'System-Support-Projects' |
22 category:'System-Support-Projects' |
23 ! |
23 ! |
24 |
24 |
25 ProjectDefinition class instanceVariableNames:'safeForOverwrittenMethods extensionOverwriteInfo projectIsLoaded' |
25 ProjectDefinition class instanceVariableNames:'safeForOverwrittenMethods extensionOverwriteInfo projectIsLoaded' |
2979 |
2979 |
2980 "Created: / 21-12-2010 / 09:32:16 / cg" |
2980 "Created: / 21-12-2010 / 09:32:16 / cg" |
2981 ! |
2981 ! |
2982 |
2982 |
2983 productFilename |
2983 productFilename |
2984 "Returns a filename which be used as linkname, product file name etc." |
2984 "Returns a filename which will be used as linkname, product file name etc. |
|
2985 The final deployable will be named like this (<fn>.dmg / <fn>Setup.ex / <fn>Install.pkg etc.)" |
2985 |
2986 |
2986 ^ self productNameAsValidFilename |
2987 ^ self productNameAsValidFilename |
2987 |
2988 |
2988 " |
2989 " |
2989 stx_projects_smalltalk productName |
2990 stx_projects_smalltalk productName |
2990 stx_projects_smalltalk productFilename |
2991 stx_projects_smalltalk productFilename |
|
2992 stx_libbasic productFilename |
|
2993 stx_doc_coding_demoConsoleApp productFilename |
2991 " |
2994 " |
2992 |
2995 |
2993 "Created: / 01-03-2007 / 19:33:06 / cg" |
2996 "Created: / 01-03-2007 / 19:33:06 / cg" |
2994 ! |
2997 ! |
2995 |
2998 |
3068 |
3071 |
3069 "Modified: / 08-11-2007 / 16:45:14 / cg" |
3072 "Modified: / 08-11-2007 / 16:45:14 / cg" |
3070 ! |
3073 ! |
3071 |
3074 |
3072 productNameAsValidFilename |
3075 productNameAsValidFilename |
3073 "Returns a product name which will appear in <lib>.rc. |
3076 "Returns a filename generated from the product name. |
3074 Under win32, this is placed into the dlls file-info" |
3077 This will be the name of the deployable package (i.e. <fn>.dmg, <fn>Setup.exe, etc.)" |
3075 |
3078 |
3076 |nm| |
3079 |nm| |
3077 |
3080 |
3078 nm := self productName. |
3081 nm := self productName. |
3079 ^ nm copy replaceAny:'/\:;.,' with:$_ |
3082 ^ nm copy replaceAny:'/\:;., ' with:$_ |
3080 |
3083 |
3081 " |
3084 " |
3082 'Smalltalk/X' replaceAny:'/\:;.,' with:nil |
3085 'Smalltalk/X' replaceAny:'/\:;.,' with:nil |
|
3086 stx_doc_coding_demoConsoleApp productName |
|
3087 stx_doc_coding_demoConsoleApp productNameAsValidFilename |
3083 " |
3088 " |
3084 |
3089 |
3085 "Created: / 01-03-2007 / 19:19:21 / cg" |
3090 "Created: / 01-03-2007 / 19:19:21 / cg" |
3086 ! |
3091 ! |
3087 |
3092 |