Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 195a905876397eeed45aee73db465ce2 > files > 7

tomcat5-5.5.26-2.5.6mdv2009.0.src.rpm

--- ./connectors/util/build.xml.sav	2007-03-14 15:13:18.000000000 -0400
+++ ./connectors/util/build.xml	2007-03-14 17:25:27.000000000 -0400
@@ -44,7 +44,9 @@
         <available property="commons-logging.present" file="${commons-logging.jar}"/>
         <available property="modeler.present" file="${commons-modeler.jar}"/>
 	<available property="jdk1.4.present" classname="java.lang.CharSequence" />
+        <condition property="build.javac.source" value="1.5" else="1.4">
         <available property="jdk1.5.present" classname="javax.net.ssl.CertPathTrustManagerParameters" />
+        </condition>
     </target>
 
     <target name="build-prepare" depends="detect">
@@ -72,6 +74,7 @@
 	       debug="${compile.debug}"
 	       optimize="off"
 	       verbose="off"
+               source="${build.javac.source}"
 	       excludes="**/CVS/**">
             <classpath>
                <path refid="compile.classpath"/>