ICU-2180 fix icu4j javadoc instructions in build.xml to work on ant 1.5
X-SVN-Rev: 10274
This commit is contained in:
parent
ee96dfa7ac
commit
dcc3d2715e
@ -6,8 +6,8 @@
|
||||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/build.xml,v $
|
||||
* $Date: 2002/08/03 07:43:18 $
|
||||
* $Revision: 1.54 $
|
||||
* $Date: 2002/11/15 22:40:16 $
|
||||
* $Revision: 1.55 $
|
||||
*
|
||||
*******************************************************************************
|
||||
* This is the ant build file for ICU4J. See readme.html for more information.
|
||||
@ -69,11 +69,28 @@
|
||||
<!-- note must not have '/' before 'com' in srcfiles includes arg! -->
|
||||
<srcfiles dir="${build.dir}" includes="com/ibm/icu/impl/data/LocaleElements_index.class"/>
|
||||
</uptodate>
|
||||
<property name="doc.params" value=""/>
|
||||
<condition property="doc.params"
|
||||
value="-breakiterator -tag draft:a:"Draft" -tag internal:X:"Internal"">
|
||||
<echo message="java home: ${java.home}"/>
|
||||
<echo message="java version: ${java.version}"/>
|
||||
<echo message="ant java version: ${ant.java.version}"/>
|
||||
<echo message="${ant.version}"/>
|
||||
<!-- It's a real pain to set properties conditionally.
|
||||
Ant 1.5 isn't really any better than 1.4, in fact 1.5 enforces that
|
||||
properties are write-once so you can't even set a default and then
|
||||
override it, which we used to do for Ant 1.4. -->
|
||||
<condition property="version.1.4.or.higher">
|
||||
<or>
|
||||
<equals arg1="${ant.java.version}" arg2="1.4"/>
|
||||
</or>
|
||||
</condition>
|
||||
<condition property="doc.params"
|
||||
value="-breakiterator -tag draft:a:"Draft" -tag internal:X:"Internal" -tag stable:a:"Stable"">
|
||||
<equals arg1="${version.1.4.or.higher}" arg2="true"/>
|
||||
</condition>
|
||||
<condition property="doc.params"
|
||||
value="">
|
||||
<equals arg1="${version.1.4.or.higher}" arg2="false"/>
|
||||
</condition>
|
||||
<echo message="javadoc: ${doc.params}"/>
|
||||
</target>
|
||||
|
||||
<!-- build everything but dist-related stuff -->
|
||||
|
Loading…
Reference in New Issue
Block a user