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 de...@apache.org on 2012/10/10 02:10:39 UTC

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

Author: deweese
Date: Wed Oct 10 00:10:38 2012
New Revision: 1396431

URL: http://svn.apache.org/viewvc?rev=1396431&view=rev
Log:
Fix build of jar files when sun-codecs 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=1396431&r1=1396430&r2=1396431&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/build.xml (original)
+++ xmlgraphics/batik/trunk/build.xml Wed Oct 10 00:10:38 2012
@@ -76,7 +76,7 @@ To display the available targets type:
   <property environment="env"/>
 
   <!-- Initializations .................................................... -->
-  <target name="init" unless="init.done">
+  <target name="init">
     <tstamp>
       <format property="ts" pattern="yyyyMMdd-HHmmss-z"/>
     </tstamp>
@@ -183,7 +183,7 @@ To display the available targets type:
         </not>
       </and>
     </condition>
-    
+
     <condition property="javadoc-exclusion-rhino"
                value="org.apache.batik.script.rhino">
       <not>
@@ -231,8 +231,6 @@ To display the available targets type:
     <echo message=""/>
     <echo message="    JAVA_HOME: ${env.JAVA_HOME}"/>
     <echo message="    VM:        ${java.vm.version}, ${java.vm.vendor}"/>
-
-    <property name="init.done" value="true"/>
   </target>
 
   <!-- Help ............................................................... -->
@@ -1250,6 +1248,8 @@ JAVA=/usr/bin/java
       <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/imageio/*.class"
+                 unless="sun-codecs.present"/>
         <include name="${package-prefix}/ext/awt/image/codec/tiff/*.class"
                  if="sun-codecs.present"/>
         <include name="${package-prefix}/ext/awt/image/codec/jpeg/*.class"