Version: 23.04
app-scaffold
The app-scaffold task provides a project scaffolding task to create a new application package project.
When you run this task, you specify an application package name and a source directory. The task creates an app-package-def.json file for you, and creates an application package project scaffolding, with folder structures component definition files.
Task Attributes
All attributes are optional unless otherwise indicated.
| Attribute | Description |
|---|---|
name | StringRequired. The application package name. |
clientCode | StringThe application package organization client code. |
dir | StringRequired. The target project directory to create and deploy files to. |
Example
The example Ant task below creates an application package project using the app-scaffold task. This example prompts the user to specify the required parameters.
<app-scaffold
name="TrackMeFunc"
packageName="com.trackme"
clientCode="maguire"
dir="src/trackme-app" />
Example Ant log output:
app-scaffold:
[app-scaffold] Created new project: src/trackme-app