Target |
A build file's target is comparable to a method of class in an object oriented programming language. Targets can be invoked from the command line or from within the build script itself. If a build script 'build.eant' contains a target 't1' for example you can invoke this target from the commondline like this:
geant t1
Domain: String
Default: -
Domain: variable definition or variable-value comparison
Default: -
Domain: variable definition or variable-value comparison
Default: -
Domain: true|false
Default: false
Domain: Comma separated list of target names
Default: -
Domain: Text
Default: -
Domain: Text
Default: -
Domain: -
Default: -
<define name="target"> <element name="target"> <optional> <element name="obsolete"> <text/> </element> </optional> <zeroOrMore> <element name="argument"> <attribute name="name"/> </element> </zeroOrMore> <ref name="description"/> <attribute name="name"/> <optional> <attribute name="once"/> </optional> <optional> <attribute name="depend"/> </optional> <ref name="dir_if_unless"/> <ref name="tasks"/> </element> </define> <define name="tasks"> <zeroOrMore> <choice> <ref name="available"/> <ref name="copy"/> <ref name="echo"/> <ref name="delete"/> <ref name="exec"/> <ref name="exit"/> <ref name="geant"/> <ref name="gelex"/> <ref name="geyacc"/> <ref name="gepp"/> <ref name="getest"/> <ref name="gexmlsplit"/> <ref name="input"/> <ref name="ise"/> <ref name="mkdir"/> <ref name="move"/> <ref name="outofdate"/> <ref name="precursor"/> <ref name="replace"/> <ref name="set"/> <ref name="setenv"/> <ref name="unset"/> <ref name="xslt"/> </choice> </zeroOrMore> </define>
Copyright © 2002-2019, Sven Ehrke mailto:ericb@gobosoft.com http://www.gobosoft.com Last Updated: 15 March 2019 |