StandaloneStartup.st
changeset 23422 ed09984cc665
parent 23421 99e827978ecc
child 23425 21edd7a6b660
equal deleted inserted replaced
23421:99e827978ecc 23422:ed09984cc665
   816     "used in verbose messages - can/should be redefined in subclasses"
   816     "used in verbose messages - can/should be redefined in subclasses"
   817 
   817 
   818     ^ self applicationName asLowercase,'Start.rc'
   818     ^ self applicationName asLowercase,'Start.rc'
   819 
   819 
   820     "
   820     "
   821      ExpeccoStartup startupFilename -> 'expecco.rc'
   821      ExpeccoStartup startupFilename -> 'expeccoStart.rc'
   822     "
   822     "
   823 
   823 
   824     "Created: / 19-09-2006 / 16:38:28 / cg"
   824     "Created: / 19-09-2006 / 16:38:28 / cg"
   825 ! !
   825 ! !
   826 
   826 
   827 !StandaloneStartup class methodsFor:'startup'!
   827 !StandaloneStartup class methodsFor:'startup'!
   828 
   828 
   829 handleRCFileOptionsFromArguments:argv
   829 handleRCFileOptionsFromArguments:argv
   830     "handle rc-file command line arguments:
   830     "handle rc-file command line arguments:
   831         --rcFileName ......... define a startup rc-file
   831         --rcFileName ......... define a startup rc-file
       
   832                                (defaults to <appname>Start.rc)    
   832     "
   833     "
   833 
   834 
   834     |idx nextArg rcFilename|
   835     |idx nextArg rcFilename|
   835 
   836 
   836     idx := argv indexOf:'--rcFileName'.
   837     idx := argv indexOf:'--rcFileName'.
  1049     "handle common command line arguments:
  1050     "handle common command line arguments:
  1050         --help ............... print usage and exit
  1051         --help ............... print usage and exit
  1051         --verbose (-V) ....... be verbose during startup
  1052         --verbose (-V) ....... be verbose during startup
  1052         --debug .............. enable debugger & inspector
  1053         --debug .............. enable debugger & inspector
  1053         --rcFileName ......... define a startup rc-file
  1054         --rcFileName ......... define a startup rc-file
       
  1055                                (defaults to <appname>Start.rc)    
  1054         --scripting portNr ... start a scripting server
  1056         --scripting portNr ... start a scripting server
  1055         --allowHost host ..... add host to the allowed scripting hosts
  1057         --allowHost host ..... add host to the allowed scripting hosts
  1056     "
  1058     "
  1057 
  1059 
  1058     |idx debugging baseDir|
  1060     |idx debugging baseDir|