Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > main-testing-src > by-pkgid > 2013cd8321cdcd1c23a12530bb1db679 > files > 6

tomcat5-5.5.27-0.3.0.2mdv2009.1.src.rpm

--- connectors/util/build.xml.sav	2008-07-14 12:20:27.000000000 -0400
+++ connectors/util/build.xml	2008-07-14 12:21:22.000000000 -0400
@@ -61,7 +61,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">
@@ -89,6 +91,7 @@
 	       debug="${compile.debug}"
 	       optimize="off"
 	       verbose="off"
+               source="${build.javac.source}"
 	       excludes="**/CVS/**">
             <classpath>
                <path refid="compile.classpath"/>