geant |
Sometimes when projects get large it is useful to make build scripts more modular. It would be useful for example to call subtargets in a procedural manner and it would be useful to use more than one build script since the build script usually grows with the size of the project. With the geant task you can accomplish this.
Domain: Comma separated list of values
Default: -
When not specified the following default behavior applies: If parameter 'file' has been specified the default value for 'fork' is 'true'. If no parameter 'file' has been specified the default value for 'fork' is 'false',
Domain: true|false
Default: see description
Domain: Name of existing file
Default: -
Domain: existing target
Default: -
Domain: Integer (usually 0 for OK, and any other number for not OK)
Default: `Void' (no variable is set if attribute is not specified)
Domain: true|false
Default: false
Domain: -
Default: -
<define name="geant"> <element name="geant"> <ref name="dir_if_unless"/> <optional> <choice> <attribute name="arguments"/> <zeroOrMore> <element name="argument"> <attribute name="name"/> <attribute name="value"/> </element> </zeroOrMore> </choice> </optional> <optional> <attribute name="fork"> <!-- runtime evaluation <choice> <value>true</value> <value>false</value> </choice> --> </attribute> </optional> <optional> <attribute name="exit_code_variable"/> </optional> <choice> <attribute name="target"/> <group> <attribute name="file"/> <optional> <attribute name="reuse_variables"> <!-- runtime evaluation <choice> <value>true</value> <value>false</value> </choice> --> </attribute> </optional> <optional> <ref name="fileset"/> </optional> </group> <group> <attribute name="file"/> <attribute name="target"/> <optional> <attribute name="reuse_variables"> <!-- runtime evaluation <choice> <value>true</value> <value>false</value> </choice> --> </attribute> </optional> <optional> <ref name="fileset"/> </optional> </group> <ref name="fileset"/> </choice> </element> </define>
<geant file="build2.eant"/> <geant file="build2.eant" target="compile"/> <geant file="build2.eant" target="compile" reuse_variables="true"/> <geant target="compile"/>
Copyright © 2002-2005, Sven Ehrke mailto:ericb@gobosoft.com http://www.gobosoft.com Last Updated: 7 July 2005 |