Building Projects from the Command Line

Use the following syntax to build MoSync projects from the Windows command line:

mosyncc.exe -application com.mobilesorcery.sdk.builder.headless  -data workspacelocation -project
   [-f finalizerscript] projectname

Replace workspacelocation with the location of your workspace, and projectname with the name of the project to build. This will actually launch a Finalizer build with the currently set device filters.

If you wish to produce binaries for a different set of devices you will need to create a Finalizer script and use the -f switch. A finalizer script is just a text file containing lines like the ones produced when you click the Propagate button in the Finalize view in the IDE.



Share on Facebook