Properties

   The table below contains the list of system properties AntXtras uses directly. All AntXtras owned properties are prefixed with “jware.antxtras.” For brevity this prefix is omitted in the table but you need to include it when you actually use the property.

Property Description Defaults
defaults.noiselevel Lets you alter the default message level used by AntXtras <show> and other echoing type tasks like <printenv>. Possible noise level values are: ‘debug’, ‘verbose’, ‘info’, ‘warning’, and ‘error’. “info”
defaults.asserts.flag Lets you turn off the AntXtras assertion task <assert>. If set “off” all assertions return true unconditionally— no actual checks are done. “on”
defaults.haltiferror.flag
defaults.haltiferror.<feature>.flag
Lets you force AntXtras to signal an error when a variety of normally lenient tasks encounter some predefined condition or are otherwise unable to complete successfully. You can define both the default as well as feature-specific flags. “off”
defaults.emptyvars.flag Tells AntXtras that empty strings are allowed for variable values. Normally AntXtras interprets setting of a variable to the empty string the same as if you deleted the variable. “off”
defaults.passwordfile Tells AntXtras where your default cleartext basic username-password properties file lives. The named file should be formatted as a standard Java properties file, with the key as the user id and the value as the basic password for that user id. Depending on the component that needs the information, the default location used for this property can vary; however, most components use $HOME/.ant/run.passwords. <default>
defaults.property.prefix Lets you change the property prefix AntXtras uses to find fallback default default as read by the $default: function shortcut. “default.”
defaults.loadfile.maxsize Lets you define the maximum file size for any file loaded into AntXtras via components and function shortcuts like $loadfile:. 1MB
defaults.haltiferror.funcuts.flag Lets you force AntXtras to signal an error when a function shortcut is unable to determine its value successfully. Normally funcuts will signal an error but will print warnings or whatever to the Ant console if they encounter any issues. “off”
defaults.shortlocations.flag Lets you control whether AntXtras will abbreviate its location strings to 41 chars. These location strings are supplied to the builtin AntXtras messages location parameters and various error messages. “on”

Navigation
Personal Tools