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 | String Required. The application package name. |
clientCode | String The application package organization client code. |
dir | String Required. 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