Menu

DomainObjecetGen.exe argument list

2006-07-29
2013-04-22
  • Stephen Bohlen

    Stephen Bohlen - 2006-07-29

    FYI, the correct command-line arguments to DomainObjectGen.exe are as follows...

    DomainObjectGen /repository <full_path_to_repository.xml_file>  /class <directory_path>  /field <directory_path>

    and NOT

    DomainObjectGen /repository <full_path_to_repository.xml_file>  /interface <dire
    ctory_path>  /class <directory_path>  /field <directory_path>

    as the binary notes for you if you execute it using either NO args or the /? help arg switch.  Note that there is NO /interface argument accepted in the actual program but the /? switch reports that there is.

    Took me a bit to discover what was going on since calling DomainObjectGen.exe and passing an /interface argument always results in no code begin generated ;)

    I offer this to anyone using this tool since it took me the better part of an hour to determine that my command-line syntax didnt actually contain an error, just a whole invalid switch~!

     
    • Richard Beauchamp

      Hi Stephen,

      Thanks for your feedback and your bug posting. I will fix this issue and make the fix available in the next release.

      Best regards,

      Richard

       

Log in to post a comment.