2013-10-27 23:12:14 +01:00
|
|
|
--- misc/commons-logging-1.1.1-src/build.xml 2007-11-22 00:27:52.000000000 +0100
|
|
|
|
+++ misc/build/commons-logging-1.1.1-src/build.xml 2008-06-24 14:23:56.316301736 +0200
|
2014-08-14 23:20:27 +02:00
|
|
|
@@ -130,10 +130,10 @@
|
2008-07-17 12:40:25 +00:00
|
|
|
<!-- ========== Compiler Defaults ========================================= -->
|
|
|
|
|
|
|
|
<!-- Version of java class files to generate. -->
|
2014-08-14 23:20:27 +02:00
|
|
|
- <property name="target.version" value="1.2"/>
|
2012-12-19 20:47:17 +00:00
|
|
|
+ <property name="target.version" value="1.5"/>
|
2008-07-17 12:40:25 +00:00
|
|
|
|
|
|
|
<!-- Version of java source to accept -->
|
|
|
|
- <property name="source.version" value="1.2"/>
|
|
|
|
+ <property name="source.version" value="1.3"/>
|
|
|
|
|
|
|
|
<!-- Should Java compilations set the 'debug' compiler option? -->
|
|
|
|
<property name="compile.debug" value="true"/>
|
2014-08-14 23:20:27 +02:00
|
|
|
@@ -283,6 +283,10 @@
|
2013-10-27 23:12:14 +01:00
|
|
|
classpathref="compile.classpath"
|
|
|
|
classname="org.apache.avalon.framework.logger.Logger"/>
|
|
|
|
|
|
|
|
+ <available property="servlet-api.present"
|
|
|
|
+ classpathref="compile.classpath"
|
|
|
|
+ classname="javax.servlet.ServletContextListener"/>
|
|
|
|
+
|
|
|
|
<available file="${log4j12.jar}" property="log4j12.present"/>
|
|
|
|
<available file="${log4j13.jar}" property="log4j13.present"/>
|
|
|
|
<available file="${build.home}/docs" property="maven.generated.docs.present"/>
|
2014-08-14 23:20:27 +02:00
|
|
|
@@ -373,6 +377,8 @@
|
2013-10-27 23:12:14 +01:00
|
|
|
unless="logkit.present"/>
|
|
|
|
<exclude name="org/apache/commons/logging/impl/AvalonLogger.java"
|
|
|
|
unless="avalon-framework.present"/>
|
|
|
|
+ <exclude name="org/apache/commons/logging/impl/ServletContextCleaner.java"
|
|
|
|
+ unless="servlet-api.present"/>
|
|
|
|
</javac>
|
|
|
|
</target>
|
|
|
|
|