Command syntax and parameter descriptions.
Run codegen.bat to execute the Code Generation Utility. The codegen.bat file is located in <UnwiredPlatform_InstallDir>\UnwiredPlatform\MobileSDK\DOE-C_SDK\bin.
Syntax
codegen -android|-cs|-oc|-rim -client -doe -sqlite|-ulj -log:co
[-output <output_dir>] [-doc] <ESDMA_dir>\META-INF\sup-db.xml
All parameters not enclosed by "[...]" are required for use with DOE-C.
Parameters
- -cs – for Windows and Windows Mobile, generates C# source files.
- -android – for Android, generates Java source files.
- -oc – for iPhone, generates Object C source files.
- -rim – for BlackBerry, generates Java source files.
- -client – generates client side source code.
- -doe – generates code for a DOE-based synchronization package.
- -sqlite – for Windows and Windows Mobile, and iPhone, generates code for database type SQLite.
- -ulj – for BlackBerry, generates code for database type UltraLiteJ.
- -log:co – generates a client-only log record.
- -output – specifies the output directory where generated code is placed. Defaults to <UnwiredPlatform_InstallDir>UnwiredPlatform\ClientAPI\utils\genfiles.
- -doc – generates documentation for the generated code.