With the Run Ant Buildfile workflow action, you can launch Apache Ant buildfiles as part of your Typefi workflow. Apache Ant buildfiles are essentially small computer programs that can perform many tasks.
Apache Ant is often used as an entry point to a Typefi workflow when multiple source files may be submitted within a ZIP-compressed container that requires special handling.
Specifically, Run Ant Buildfile does the following:
- It creates a folder within the job folder called Unzipped Resources. If that folder already exists, it is deleted first (so multiple Run Ant Buildfile actions can be used in a single workflow).
- It unzips each file in your Resources input into this Unzipped Resources folder. If you have multiple resources, then beware of files and folders overwriting each other.
- It assumes one of the files unzipped into this folder is called build.xml. This is the Apache Ant buildfile. One of your resources must contain this file; otherwise, nothing will work.
- It executes the default target of this Apache Ant buildfile.
Field | Description |
---|---|
Input | Optional. The path to the input file. If you specify a file, it is passed to the Apache Ant buildfile. |
Resources | Required. You must specify at least one resource. Each resource will be unzipped, so they must be ZIP or XZIP files. One of your resources must contain a top-level file called build.xml (the Apache Ant buildfile). |
Parameters* |
Optional. A collection of Here is an example with a single parameter (use the equal
Here is an example with multiple parameters (with each
|
*In Ant plug-in (v9 and earlier), use a semicolon as a separator. In Ant plug-in (v10 or later), existing semicolons in the Parameters field are automatically replaced with line breaks.
Comments
0 comments
Please sign in to leave a comment.