1
Vote

New command line

description

The command line interface is in need of an overhaul. We could allow the user to use the ‘settings’ files (mentioned in another proposed work item) as part of the command line. The new command line would also target both Classic and Blue if possible.

file attachments

comments

murkjohansen wrote Aug 6, 2012 at 9:05 PM

Here is a rudimentary implementation of a command line. No settable options, all options are hardcoded to the values I generally use. This patch was created using version 88407 of wscf.blue.



USAGE:

wscfblue.exe <PATH_TO_XSD> <CLR_NAMESPACE> <PROJECT_DIR> [FILE_PATTERN]

EXAMPLE 1:
This will process all .XSD files in the "c:\Program Files\Projects\XSDs" directory and the generated code files will be in the Acme.ServicesNamespace

wscfblue.exe "c:\Program Files\Projects\XSDs" Acme.Services "c:\Program Files\Projects" *.xsd
EXAMPLE 2:
This will process only the "c:\Program Files\Projects\XSDs\foo.xsd" file

wscfblue.exe "c:\Program Files\Projects\XSDs\foo.xsd" Acme.Services "c:\Program Files\Projects"

wrote Feb 21, 2013 at 11:16 PM