
<target name="setupProduction" if="production">
<property name="lib" value="/usr/home/production/lib"/>
<property name="outputdir" value="/usr/home/production/classes"/>
To define a target that executes only if the production target is not set, use this:
<target name="setupDevelopment" unless="production">
<property name="lib" value="c:/hello/lib"/>
<property name="outputdir" value="c:/hello/classes"/>
Conditional execution of targets is another way to support multiple deployment environments.
Describe what you're looking for in as much detail as you'd like.
Our AI reads your request and finds the best matching books for you.
Popular searches:
Join 2 million readers and get unlimited free ebooks