You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-commits@xmlgraphics.apache.org by ca...@apache.org on 2007/10/27 04:07:29 UTC

svn commit: r589040 - /xmlgraphics/batik/trunk/build.xml

Author: cam
Date: Fri Oct 26 19:07:29 2007
New Revision: 589040

URL: http://svn.apache.org/viewvc?rev=589040&view=rev
Log:
TIFF encoder from JAI won't compile without sun jpeg classes, so exclude
it if they aren't available.

Modified:
    xmlgraphics/batik/trunk/build.xml

Modified: xmlgraphics/batik/trunk/build.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/build.xml?rev=589040&r1=589039&r2=589040&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/build.xml (original)
+++ xmlgraphics/batik/trunk/build.xml Fri Oct 26 19:07:29 2007
@@ -671,6 +671,8 @@
       <exclude name="**/jacl/*"    unless="jacl.present"/>
       <exclude name="${src}/${package-prefix}/ext/awt/image/codec/jpeg/*"
                unless="sun-codecs.present"/>
+      <exclude name="${src}/${package-prefix}/ext/awt/image/codec/tiff/*"
+               unless="sun-codecs.present"/>
     </javac>
     <property name="compile.done" value="true"/>
   </target>
@@ -904,7 +906,8 @@
       <fileset dir="${dest}">
         <include name="${package-prefix}/ext/awt/image/codec/util/*.class"/>
         <include name="${package-prefix}/ext/awt/image/codec/png/*.class"/>
-        <include name="${package-prefix}/ext/awt/image/codec/tiff/*.class"/>
+        <include name="${package-prefix}/ext/awt/image/codec/tiff/*.class"
+                 if="sun-codecs.present"/>
         <include name="${package-prefix}/ext/awt/image/codec/jpeg/*.class"
                  if="sun-codecs.present"/>
         <include name="${package-prefix}/ext/awt/image/codec/imageio/*.class"