Browse Source

Build changes to optionally include/exclude the JAI <image> task.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273178 13f79535-47bb-0310-9956-ffa450edef68
master
Erik Hatcher 23 years ago
parent
commit
4a0fa32119
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      build.xml

+ 8
- 0
build.xml View File

@@ -299,6 +299,10 @@
<patternset id="needs.jmf">
<exclude name="${optional.package}/sound/*.java" unless="jmf.present" />
</patternset>
<patternset id="needs.jai">
<exclude name="${optional.package}/image/*.java" unless="jai.present"/>
<exclude name="${optional.package}/image/types/*.java" unless="jai.present"/>
</patternset>
<patternset id="needs.jdepend">
<exclude name="${optional.package}/jdepend/*" unless="jdepend.present" />
</patternset>
@@ -404,6 +408,9 @@
<available property="jmf.present"
classname="javax.sound.sampled.Clip"
classpathref="classpath"/>
<available property="jai.present"
classname="javax.media.jai.JAI"
classpathref="classpath"/>
<condition property="icontract.present">
<and>
<isset property="jdk1.2+"/>
@@ -601,6 +608,7 @@
<patternset refid="needs.vaj" />
<patternset refid="needs.servletapi" />
<patternset refid="needs.jmf" />
<patternset refid="needs.jai"/>
<patternset refid="needs.xalan2" />
<patternset refid="needs.jdepend" />
<patternset refid="needs.sun.tools" />


Loading…
Cancel
Save