< Variables Types & Converters >

Built-in Variables

terp provides a number of built-in variables that provide access to constants or reflected values.

The complete list of built-in variables follows below.

Built-in variables
Name Type Description
ant a ShellLauncher A launcher for ANT if one has already been instantiated.
e java.lang.Double The value of Math.E, Euler's number.
hosts Collection<>
The collection of known hosts.
localhost The local host.
now java.util.Calendar The current time.
os The local operating system.
pi java.lang.Double The value of Math.PI, the number pi.
procarchs Collection<>
The processor architectures of this host. 64-bit chips often have 32-bit compatibility modes, so both are returned.


Copyright 2006-2016 by Codemesh, Inc., ALL RIGHTS RESERVED

terp expressions home expressions templates ant about us contact us download