217 ) |
217 ) |
218 |
218 |
219 (AssistantPageSpec |
219 (AssistantPageSpec |
220 pageTitle: 'ProjectDefinition Selection' |
220 pageTitle: 'ProjectDefinition Selection' |
221 windowSpecSelector: page2_projectSelectionSpec |
221 windowSpecSelector: page2_projectSelectionSpec |
222 enterCallbackSelector: updateListOfMatchingProjects |
222 enterCallbackSelector: updateListOfMatchingProjectsAndProjectIDs |
223 infoText: 'Choose an existing project definition or create a new one. These are subclasses of <I>ProjectDefinition</I> and define the type and contents of a project.' |
223 infoText: 'Choose an existing project definition or create a new one. These are subclasses of <I>ProjectDefinition</I> and define the type and contents of a project. Notice that the ID directly reflects the project''s location within the source code repository (module:directory/subdirectory...). If in doubt, use "<yourname>:demos/xxx_n".' |
224 ) |
224 ) |
225 |
225 |
226 (AssistantPageSpec |
226 (AssistantPageSpec |
227 pageTitle: 'Startup Application Selection' |
227 pageTitle: 'Startup Application Selection' |
228 windowSpecSelector: page3_applicationSelectionSpec |
228 windowSpecSelector: page3_applicationSelectionSpec |
252 (AssistantPageSpec |
252 (AssistantPageSpec |
253 pageTitle: 'Specify Prerequisites' |
253 pageTitle: 'Specify Prerequisites' |
254 windowSpecSelector: page5b_specifyPrerequisitePackages |
254 windowSpecSelector: page5b_specifyPrerequisitePackages |
255 enterCallbackSelector: enterPrerequisitesSpecification |
255 enterCallbackSelector: enterPrerequisitesSpecification |
256 canEnterQuerySelector: #canEnterPrerequisitesSelection |
256 canEnterQuerySelector: #canEnterPrerequisitesSelection |
257 infoText: 'Define which (other) packages are needed as prerequisites. Press "<I>Scan</I>" to search for prerequisites; browse to edit the list manually.' |
257 infoText: 'Define which packages are needed as prerequisites. Press "<I>Scan</I>" to search for prerequisites; browse to edit the list manually.' |
258 ) |
258 ) |
259 |
259 |
260 (AssistantPageSpec |
260 (AssistantPageSpec |
261 pageTitle: 'Specify Project Attributes' |
261 pageTitle: 'Specify Project Attributes' |
262 windowSpecSelector: page6a_specifyProjectAttributes |
262 windowSpecSelector: page6a_specifyProjectAttributes |
276 pageTitle: 'Build' |
276 pageTitle: 'Build' |
277 windowSpecSelector: page7_buildSpec |
277 windowSpecSelector: page7_buildSpec |
278 canEnterQuerySelector: #canEnterBuild |
278 canEnterQuerySelector: #canEnterBuild |
279 enterCallbackSelector: #restoreMakeOutputsContents |
279 enterCallbackSelector: #restoreMakeOutputsContents |
280 leaveCallbackSelector: #rememberMakeOutputsContents |
280 leaveCallbackSelector: #rememberMakeOutputsContents |
281 infoText: 'Start the build-process. This will run make/bcc to compile all required classes and nsis to generate a self-installable executable. You must have the borland-cc and NullSoft NSIS packages installed for this to work.' |
281 infoText: 'Start the build-process. This will run make+bcc/vc to compile all required classes and nsis to generate a self-installable executable. You must have the compiler (borland-bcc or visual-c) and NullSoft NSIS packages installed for this to work.' |
282 ) |
282 ) |
283 |
283 |
284 (AssistantPageSpec |
284 (AssistantPageSpec |
285 pageTitle: 'Deploy' |
285 pageTitle: 'Deploy' |
286 windowSpecSelector: page8_deploySpec |
286 windowSpecSelector: page8_deploySpec |
287 canEnterQuerySelector: #canEnterDeploy |
287 canEnterQuerySelector: #canEnterDeploy |
288 infoText: 'Find the installer to be deployed (or test-run the binary). You can open a WindowsExplorer there to copy the files for deployment. After that, the build directory is no longer needed (but you can keep it for a faster compile the next time).' |
288 infoText: 'Find the installer to be deployed (or test-run the binary). You can open a Windows-Explorer there to copy the files for deployment. After that, the build directory is no longer needed. However, you can keep it for a faster compile the next time.' |
289 ) |
289 ) |
290 ) decodeAsLiteralArray. |
290 ) decodeAsLiteralArray. |
291 |
291 |
292 "Modified: / 19-01-2012 / 15:36:05 / cg" |
292 "Modified: / 20-08-2012 / 19:44:04 / cg" |
293 ! ! |
293 ! ! |
294 |
294 |
295 !ProjectBuilderAssistantApplication class methodsFor:'defaults'! |
295 !ProjectBuilderAssistantApplication class methodsFor:'defaults'! |
296 |
296 |
297 defaultIcon |
297 defaultIcon |
2839 ]. |
2839 ]. |
2840 |
2840 |
2841 "Modified: / 20-07-2012 / 15:04:15 / cg" |
2841 "Modified: / 20-07-2012 / 15:04:15 / cg" |
2842 ! |
2842 ! |
2843 |
2843 |
|
2844 updateListOfMatchingProjectsAndProjectIDs |
|
2845 self updateListOfMatchingProjects. |
|
2846 self updateListOfNewProjectsName. |
|
2847 |
|
2848 "Created: / 20-08-2012 / 19:33:12 / cg" |
|
2849 ! |
|
2850 |
2844 updateListOfNewProjectsName |
2851 updateListOfNewProjectsName |
2845 |
|
2846 |loadedProjectIDsWithoutProjectDefinition| |
2852 |loadedProjectIDsWithoutProjectDefinition| |
2847 |
2853 |
2848 loadedProjectIDsWithoutProjectDefinition := Smalltalk allLoadedProjectIDs |
2854 loadedProjectIDsWithoutProjectDefinition := Smalltalk allLoadedProjectIDs |
2849 select:[:eachProjectID | |
2855 select:[:eachProjectID | |
2850 eachProjectID ~= PackageId noProjectID |
2856 eachProjectID ~= PackageId noProjectID |
2851 and:[ (ProjectDefinition definitionClassForPackage: eachProjectID) isNil ]. |
2857 and:[ (ProjectDefinition definitionClassForPackage: eachProjectID) isNil ]. |
2852 ]. |
2858 ]. |
|
2859 loadedProjectIDsWithoutProjectDefinition := loadedProjectIDsWithoutProjectDefinition asOrderedCollection. |
|
2860 loadedProjectIDsWithoutProjectDefinition addFirst:(OperatingSystem getLoginName,':','demos','/','demo1'). |
2853 self listOfNewProjectsName value:loadedProjectIDsWithoutProjectDefinition. |
2861 self listOfNewProjectsName value:loadedProjectIDsWithoutProjectDefinition. |
|
2862 |
|
2863 "Modified: / 20-08-2012 / 19:31:35 / cg" |
2854 ! |
2864 ! |
2855 |
2865 |
2856 updateListOfPrerequisitesInProject |
2866 updateListOfPrerequisitesInProject |
2857 self listOfPrerequisitesInProject value:(selectedProjectDefinition preRequisites). |
2867 self listOfPrerequisitesInProject value:(selectedProjectDefinition preRequisites). |
2858 |
2868 |