Executes one or more lines of anonymous Apex code.
It executes the apex run command.
In addition to the attributes used by every ant-sf task, this task uses the following attributes:
Attribute | Command line equivalent | Description | Required |
---|---|---|---|
file | --file | Local file that contains Apex code. | No |
logproperty |
The name of a property under which custom properties can be set by interpreting the informational level log output by the script. If the script outputs an especially formatted informational log, this can be recognized a a new subproperty to be set.
For example, the following Apex code
|
No | |
targetorg | -u | A username or alias for the target org. | No |
Version: 0.0.0-master