[mapguide-psc] MapGuide's 1st RFC!

Bruce Dechant bruce.dechant at autodesk.com
Tue Oct 31 14:34:37 EST 2006


If you do enter an incorrect commandline parameter you already get the
following response from the MapGuide server to the console: (Windows
version shown below)

Unrecognized option: "/hello".

MapGuide Server

The following is a list of supported command line options:

  /? or /help
      Displays this information.

  /install <Name>
      Installs the server as a service. Automatically starts the
service.

      Default service display name installed:
      "MapGuide Server"

      You can use a different display name for the service if you
specify an
      optional "Name".

  /interactive
      Runs the server interactively as an application instead of a
service.

  /start
      Starts the server service. Note: The service must be installed.

  /stop
      Stops the server service. Note: The service must be installed.

  /testfdo <Filename>
      Runs the FDO unit tests.

      Default output of the FDO unit tests will be the console unless
you
      specify an optional "Filename". The output to the "Filename" will
be
      in XML.

  /testmode /t <Test> /o <Filename>
      Runs the server unit tests.

      By default all of the unit tests will be run unless you specify an
      optional "Test" to run. If you specify "List" as the test to run
you
      will get a list of the available unit tests.

      Default output of the unit tests will be the console unless you
specify
      an optional "Filename". The output to the "Filename" will be in
XML.

  /uninstall
      Uninstalls an installed server service. Automatically stops the
service
      before uninstalling.


Note: Only 1 command line option can be used at a time.


-----Original Message-----
From: Paul Spencer (External) 
Sent: October 31, 2006 12:29 PM
To: psc at mapguide.osgeo.org
Subject: Re: [mapguide-psc] MapGuide's 1st RFC!

I am normally a big fan of backwards compatibility too, but I really  
don't see this as a big issue.  Perhaps if the tool just spits out an  
appropriate message if called with incorrect parameters?

Then again, windows users are most likely used to the / style of  
adding parameters so perhaps that makes it worthwhile supporting both?

Paul

On 31-Oct-06, at 2:08 PM, Andy Morsell wrote:

> I agree with Frank in that keeping it backwards compatible with the  
> older command line parameters while in the future only documenting  
> the new ones would be the best.  There are many references, mostly  
> in archived messages in the mapguide-users mailing list, to the  
> current parameter syntax that new users are bound to run across  
> (and try to use) when doing research.
>
> Regarding the RFC format, that seems to work very well.
>
> Andy
>
> From: Bruce Dechant [mailto:bruce.dechant at autodesk.com]
> Sent: Tuesday, October 31, 2006 10:20 AM
> To: psc at mapguide.osgeo.org
> Subject: [mapguide-psc] MapGuide's 1st RFC!
>
> Hi All,
>
>
>
> I wrote up a simple MapGuide RFC to give our process a trial run.
>
>
>
> http://wiki.osgeo.org/index.php/MG_RFC_1_- 
> _Commandline_parameter_changes
>
>
>
> Please have a look and post any feedback.
>
>
>
> Thanks,
>
> Bruce
>
>
>
>

+-----------------------------------------------------------------+
|Paul Spencer                          pspencer at dmsolutions.ca    |
+-----------------------------------------------------------------+
|Chief Technology Officer                                         |
|DM Solutions Group Inc                http://www.dmsolutions.ca/ |
+-----------------------------------------------------------------+









More information about the Mapguide_psc mailing list