Reference

Home > Documentation > Command Line Usage


Help

View command line options. The output is sent to the console.

metadrone /?

 

 

Open project file

Open a project on start-up.

metadrone "c:\dev\app1\codegen\classes.mdrone"

 

 

Build a project

The IDE won’t be shown. A project file will be opened, code is generated, and the application exits. Output is sent to the console.

metadrone /build "c:\dev\app1\codegen\classes.mdrone"

 

 

Log output

To log the build output to a file. If the file does not exist a new one is created, otherwise the output is just appended to the existing file.

metadrone /build "c:\dev\app1\codegen\classes.mdrone" /log "c:\dev\app1\codegen\genoutput.txt"

 

 



2 Comments for this entry

Steve
April 13th, 2011 on 10:41 am

This is useful for automated or scheduled tasks, such as part of the compilation process. You can add this before compilation to generate (refresh) code from the database schema.

    Steve
    April 13th, 2011 on 10:43 am

    What would be nice is a way to abort compilation on the code generation error.