Parameters
| Attribute | Description | Required |
| srcproject | The project or workspace from which to find the specified .cml files. | Yes |
| includes | List of files or patterns, separated by commas, that are to be included. If omitted, all cml files starting under srcproject will be included | No |
| excludes | List of files or patterns, separated by commas, that are to be excluded. If omitted, no cml files under srcproject will be excluded | No |
Examples
<devicekit.cmlgenerate srcproject="${mySrc}"/>
Generates java for all cml files under the project ${mySrc}
<devicekit.cmlgenerate srcproject="${mySrc}" excludes="fileone.cml, filetwo.cml"/>
Generates java for all cml files under the project ${mySrc}except "fileone.cml" and "filetwo.cml"
<devicekit.cmlgenerate srcproject="./../" includes="**/*"/>
Generates java for all cml files one level above the base directory (the directory where the ant script is located). If the ant script is in a project named "Build", this example would generate every .cml file in the workspace.