-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from ba-st/gs64
Add support for GemStone 64
- Loading branch information
Showing
56 changed files
with
1,013 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
RwSimpleProjectLoadComponentV2 { | ||
#name : 'Deployment', | ||
#projectNames : [ | ||
'Bell', | ||
'Buoy', | ||
'INI-Parser', | ||
'SortFunctions' | ||
], | ||
#componentNames : [ ], | ||
#packageNames : [ | ||
'Launchpad-Applications', | ||
'Launchpad-Commands', | ||
'Launchpad-Configuration', | ||
'Launchpad-Configuration-GS64-Extensions', | ||
'Launchpad-GS64-Extensions', | ||
'Launchpad-Tracing', | ||
'Launchpad-Tracing-GS64' | ||
], | ||
#conditionalPackageMapSpecs : { | ||
'gemstone' : { | ||
'allusers' : { | ||
#packageNameToPlatformPropertiesMap : { | ||
'Launchpad-Applications' : { 'symbolDictName' : 'Launchpad' }, | ||
'Launchpad-Commands' : { 'symbolDictName' : 'Launchpad' }, | ||
'Launchpad-Configuration' : { 'symbolDictName' : 'Launchpad' }, | ||
'Launchpad-Configuration-GS64-Extensions' : { 'symbolDictName' : 'Globals' }, | ||
'Launchpad-GS64-Extensions' : { 'symbolDictName' : 'Launchpad' }, | ||
'Launchpad-Tracing' : { 'symbolDictName' : 'Launchpad' }, | ||
'Launchpad-Tracing-GS64' : { 'symbolDictName' : 'Launchpad' } | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
RwSimpleProjectLoadComponentV2 { | ||
#name : 'Tests', | ||
#condition : 'tests', | ||
#projectNames : [ ], | ||
#componentNames : [ | ||
'Deployment' | ||
], | ||
#packageNames : [ | ||
'Launchpad-Applications-Tests', | ||
'Launchpad-Commands-Tests', | ||
'Launchpad-Configuration-Tests', | ||
'Launchpad-Examples', | ||
'Launchpad-GS64-Extensions-Tests', | ||
'Launchpad-SUnit', | ||
'Launchpad-Tracing-Tests' | ||
], | ||
#conditionalPackageMapSpecs : { | ||
'gemstone' : { | ||
'allusers' : { | ||
#packageNameToPlatformPropertiesMap : { | ||
'Launchpad-Applications-Tests' : { 'symbolDictName' : 'Launchpad' }, | ||
'Launchpad-Commands-Tests' : { 'symbolDictName' : 'Launchpad' }, | ||
'Launchpad-Configuration-Tests' : { 'symbolDictName' : 'Launchpad' }, | ||
'Launchpad-Examples' : { 'symbolDictName' : 'Launchpad' }, | ||
'Launchpad-GS64-Extensions-Tests' : { 'symbolDictName' : 'Launchpad' }, | ||
'Launchpad-SUnit' : { 'symbolDictName' : 'Launchpad' }, | ||
'Launchpad-Tracing-Tests' : { 'symbolDictName' : 'Launchpad' } | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
RwProjectSpecificationV2 { | ||
#specName : 'project', | ||
#projectSpecPath : 'rowan', | ||
#componentsPath : 'rowan/components', | ||
#packagesPath : 'source', | ||
#projectsPath : 'rowan/projects', | ||
#specsPath : 'rowan/specs', | ||
#packageFormat : 'tonel', | ||
#packageConvention : 'Rowan', | ||
#comment : 'Launchpad project specification' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
RwLoadSpecificationV2 { | ||
#specName: 'Bell', | ||
#projectName : 'Bell', | ||
#gitUrl : 'https://github.com/ba-st/Bell.git', | ||
#revision : 'v2', | ||
#projectSpecFile : 'rowan/project.ston', | ||
#componentNames : [ | ||
'Deployment', | ||
'Dependent-SUnit-Extensions' | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
RwLoadSpecificationV2 { | ||
#specName: 'Buoy', | ||
#projectName : 'Buoy', | ||
#gitUrl : 'https://github.com/ba-st/Buoy.git', | ||
#revision : 'v7', | ||
#projectSpecFile : 'rowan/project.ston', | ||
#componentNames : [ | ||
'Deployment', | ||
'Dependent-SUnit-Extensions' | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
RwLoadSpecificationV2 { | ||
#specName: 'INI-Parser', | ||
#projectName : 'INI-Parser', | ||
#gitUrl : 'https://github.com/ba-st-dependencies/INI-Parser.git', | ||
#revision : 'v2', | ||
#projectSpecFile : 'rowan/project.ston', | ||
#componentNames : [ | ||
'Deployment' | ||
] | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
RwLoadSpecificationV2 { | ||
#specName: 'SortFunctions', | ||
#projectName : 'SortFunctions', | ||
#gitUrl : 'https://github.com/ba-st-dependencies/SortFunctions.git', | ||
#revision : 'v1', | ||
#projectSpecFile : 'rowan/project.ston', | ||
#componentNames : [ | ||
'Deployment' | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
RwLoadSpecificationV2 { | ||
#specName: 'Launchpad-CI', | ||
#projectName : 'Launchpad', | ||
#diskUrl : 'Launchpad', | ||
#projectSpecFile : 'rowan/project.ston', | ||
#componentNames : [ | ||
'Tests' | ||
], | ||
#customConditionalAttributes : [ | ||
'tests', | ||
'sunit' | ||
], | ||
#comment : 'Loading spec for the continuous integration setup' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
RwLoadSpecificationV2 { | ||
#specName: 'Launchpad-Deployment', | ||
#projectName : 'Launchpad', | ||
#diskUrl : 'Launchpad', | ||
#projectSpecFile : 'rowan/project.ston', | ||
#componentNames : [ | ||
'Deployment' | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
#format : #tonel | ||
#format : #tonel, | ||
#convention : 'Rowan' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
source/Launchpad-Commands-Pharo-Tests/LaunchpadRootCommandTest.extension.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Extension { #name : #LaunchpadRootCommandTest } | ||
|
||
{ #category : #'*Launchpad-Commands-Pharo-Tests' } | ||
LaunchpadRootCommandTest >> testHandlingStartGreeterApplicationEnablingTCPCommandServer [ | ||
|
||
| output | | ||
|
||
output := self handle: { | ||
'launchpad'. | ||
'start'. | ||
'--debug-mode'. | ||
'--enable-tcp-command-server=0'. | ||
LaunchpadGreeterApplication commandName. | ||
'--name=John' }. | ||
|
||
self assert: output equals: 'Hi John!<n>' expandMacros. | ||
|
||
self assertLogRecordsMatch: #( | ||
'[INFO] Receiving commands over TCP/0' | ||
'[INFO] greeter [v1.0.0] - A greetings application' | ||
'[INFO] Obtaining configuration...' | ||
'[WARNING] "Title" parameter not provided. Using default.' | ||
'[INFO] Name: John' | ||
'[INFO] Title: ' | ||
'[INFO] Obtaining configuration... [DONE]' | ||
'[INFO] Exit application' ) | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Package { #name : #'Launchpad-Commands-Pharo-Tests' } |
14 changes: 14 additions & 0 deletions
14
source/Launchpad-Commands-Pharo/LaunchpadStartApplicationCommand.extension.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Extension { #name : #LaunchpadStartApplicationCommand } | ||
|
||
{ #category : #'*Launchpad-Commands-Pharo' } | ||
LaunchpadStartApplicationCommand >> enableTCPCommandServerListeningOn: listeningPort [ | ||
|
||
commandServer := TCPCommandServer listeningOn: listeningPort. | ||
commandServer registerCommandNamed: 'SHUTDOWN' executing: [ | ||
[ | ||
LaunchpadApplication currentlyRunning | ||
stop; | ||
exitSuccess | ||
] forkAt: Processor timingPriority named: 'Launchpad shutdown process' | ||
] | ||
] |
Oops, something went wrong.