Changeset 13558


Ignore:
Timestamp:
Sep 20, 2019 1:42:59 PM (3 months ago)
Author:
jkulla
Message:

#5841 Use condition instead of if-then-else

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-jku-2482/Compiler/build-base.xml

    r13525 r13558  
    638638
    639639                <!-- We need to add this to builds with Java v9 or greater -->
    640                 <var name="javadoc_additional_params" value="--no-module-directories"/>
    641                 <if>
     640                <condition property="javadoc_additional_params" value="" else="--no-module-directories">
    642641                    <or>
    643642                        <equals arg1="${ant.java.version}" arg2="1.7" />
    644643                        <equals arg1="${ant.java.version}" arg2="1.8" />
    645644                    </or>
    646                     <then>
    647                         <var name="javadoc_additional_params" value=""/>
    648                     </then>
    649                 </if>
     645                </condition>
    650646
    651647                <!-- The javadoc directory is sometimes unusable, unclear why.
Note: See TracChangeset for help on using the changeset viewer.