smalltalk
/
osmo-st-mgcp
Archived
1
0
Fork 0

Use prereq and such instead of manual dependency loading

With PackageLoader loadPackageFromFile we do not need to load
the package in the source file.
This commit is contained in:
Holger Hans Peter Freyther 2015-07-24 18:39:11 +02:00
parent ed9b198256
commit e32d2ac2be
6 changed files with 4 additions and 14 deletions

View File

@ -16,10 +16,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
"
PackageLoader
fileInPackage: 'Sockets';
fileInPackage: 'OsmoNetwork'.
Object subclass: MGCPCallAgentBase [
| net trunks sem addr port |
<category: 'OsmoMGCP-Callagent'>

View File

@ -16,8 +16,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
"
PackageLoader fileInPackage: #OsmoLogging.
Osmo.LogArea subclass: MGCPLogArea [
<category: 'OsmoMGCP-Logging'>

View File

@ -16,10 +16,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
"
PackageLoader
fileInPackage: 'Sockets';
fileInPackage: 'OsmoCore'.
Object subclass: MGCPTransactionBase [
| callagent t_retransmit t_expire t_remove sem |
<comment: 'I handle timers for the transaction'>

View File

@ -16,8 +16,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
"
PackageLoader fileInPackage: 'PetitParser'.
PP.PPCompositeParser subclass: MGCPGrammar [
| MGCPMessage EOL One_WSP MGCPMessage MGCPCommandLine MGCPVerb transaction_id endpointName MGCPversion MGCPParameter MGCPCommand ParameterValue SDPRecord SDPLine SDPinformation MGCPResponseLine responseCode responseString packageName wordParser |
<category: 'OsmoMGCP-Core'>

View File

@ -16,8 +16,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
"
PackageLoader fileInPackage: 'PetitParserTests'.
PP.PPCompositeParserTest subclass: MGCPGrammarTest [
<comment: 'I test some parts of the grammar'>
<category: 'OsmoMGCP-Core-Tests'>

View File

@ -2,8 +2,11 @@
<name>OsmoMGCP</name>
<namespace>Osmo</namespace>
<prereq>Sockets</prereq>
<prereq>PetitParser</prereq>
<prereq>OsmoLogging</prereq>
<prereq>OsmoCore</prereq>
<prereq>OsmoNetwork</prereq>
<filein>grammar/MGCPGrammar.st</filein>
<filein>callagent/MGCPCallAgent.st</filein>
@ -16,6 +19,7 @@
<filein>callagent/MGCPParser.st</filein>
<test>
<prereq>PetitParserTests</prereq>
<sunit>Osmo.MGCPGrammarTest</sunit>
<sunit>Osmo.MGCPCommandTest</sunit>
<sunit>Osmo.MGCPEndpointAllocTest</sunit>