Does anybody know if it is possible to automatically invoke the building of an executable (.EXE) using command line (scriptable) tools?
Thanks,
EAK
Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig
(System commandLine anySatisfy: [:each | each sameAs: '-buildRuntime']) ifTrue: [
[self buildRuntimeImage] fork]
buildRuntimeImage
| list edition packagers |
list := EmConfigurationMap editionsFor: 'our config map name'.
edition := list detect: [:each | each isEdition] ifNone: [nil].
edition ifNil: [^Transcript cr; show: Time now displayString; show: ' ... no open edition found'].
Transcript cr; show: Time now displayString; show: ' ... loading latest config map'.
edition loadWithTracing: true.
EpPackagerInstructions default: RuntimeImagePackagingInstructions.
Transcript cr; show: Time now displayString; show: ' ... packaging started'.
RuntimeImagePackagingInstructions packagerClass
packageConfigurationMap: edition
resumableProblemsBrowser: true.
packagers := RuntimeImagePackagingInstructions packagerClass inMemoryPackagers.
packagers isEmpty
ifTrue: [...send email that was successful, copy runtime image to common directory, shut down the image...]
ifFalse: [...send email notifying the dev team that the build failed, leave image open to fix and re-build]
Return to VA Smalltalk 7.0, 7.5 & 8.0
Users browsing this forum: Yahoo [Bot] and 1 guest