Geant's built-in variables PreviousNext

cwd

Current working directory. The value of this variable changes whenever the current working directory changes. This usually happens when the attribute 'dir' is used which is supported by tasks and the element 'target'.

GOBO_OS

The value of this variable contains the name of the used operating system: 'windows', 'unix'

is_windows

If the used operating system is windows then this variable is set (to the value 'true'). Thus you can simply use it in all targets/tasks in the if/unless attributes: ... if="${is_windows}"

is_unix

If the used operating system is unix then this variable is set (to the value 'true'). Thus you can simply use it in all targets/tasks in the if/unless attributes: ... if="${is_unix}"

path_separator

The value of this variable is '\' if the used operating system is windows and '/' if it is unix.

exe

The value of this variable is '.exe' if the used operating system is windows and '' (empty string) if it is unix.

verbose

This variable is set (to 'true') when geant is run in verbose mode.


Copyright © 2002-2005, Sven Ehrke
mailto:ericb@gobosoft.com
http://www.gobosoft.com
Last Updated: 7 July 2005
HomeTocPreviousNext