4f8bcf7c51
* bugfix release * backport of JSR-356 Java WebSocket 1.0 * package tomcat now requires java7 at lease - Updated tomcat.keyring to reflect the fact new release is signed by Violeta Georgieva / D63011C7 see http://osdir.com/ml/dev-tomcat.apache.org/2013-10/msg00849.html - Add tomcat-dbcp.jar (bnc#847505) back into tomcat lib dir - Install tomcat-coyote.jar as well - Remove pointless scriplets OBS-URL: https://build.opensuse.org/package/show/Java:packages/tomcat?expand=0&rev=38
72 lines
2.8 KiB
XML
72 lines
2.8 KiB
XML
<!-- $Id: build.xml,v 1.25 2004/05/20 16:30:30 dirkv Exp $ -->
|
|
<project name="commons-dbcp-tomcat5" default="build" basedir=".">
|
|
|
|
<property name="tomcat-dbcp.home" value="dbcp-tomcat5"/>
|
|
<property name="commons-dbcp.home" value="."/>
|
|
<property name="tomcat-dbcp.jar" value="commons-dbcp-tomcat5.jar"/>
|
|
|
|
<!-- Java Options -->
|
|
<property name="compile.debug" value="true"/>
|
|
<property name="compile.deprecation" value="false"/>
|
|
<property name="compile.source" value="1.5"/>
|
|
|
|
<target name="clean">
|
|
<delete dir="${tomcat-dbcp.home}"/>
|
|
</target>
|
|
|
|
<target name="build">
|
|
<copy todir="${tomcat-dbcp.home}">
|
|
<!-- <fileset dir="${commons-collections.home}" >
|
|
<include name="**/collections/CursorableLinkedList.java" />
|
|
<include name="**/collections/KeyValue.java" />
|
|
<include name="**/collections/LRUMap.java" />
|
|
<include name="**/collections/SequencedHashMap.java" />
|
|
</fileset>
|
|
<fileset dir="${commons-pool.home}">
|
|
<include name="**/*.java" />
|
|
<exclude name="**/Stack*.java" />
|
|
<exclude name="**/SoftReferenceObjectPool.java" />
|
|
<exclude name="**/test/**" />
|
|
</fileset> -->
|
|
<fileset dir="${commons-dbcp.home}">
|
|
<include name="**/*.java" />
|
|
<exclude name="**/test/**" />
|
|
<exclude name="${tomcat-dbcp.home}/**"/>
|
|
</fileset>
|
|
</copy>
|
|
<replace dir="${tomcat-dbcp.home}/src/java/org/apache/commons">
|
|
<replacefilter token="return UnmodifiableList.decorate(l);"
|
|
value="return l;" />
|
|
<replacefilter token="import org.apache.commons.collections.list.UnmodifiableList;"
|
|
value=" " />
|
|
</replace>
|
|
<replace dir="${tomcat-dbcp.home}/src/java/org/apache/commons" >
|
|
<replacefilter token="org.apache.commons"
|
|
value="org.apache.tomcat.dbcp" />
|
|
</replace>
|
|
<mkdir dir="${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp" />
|
|
<move todir="${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp">
|
|
<fileset dir="${tomcat-dbcp.home}/src/java/org/apache/commons" />
|
|
</move>
|
|
<mkdir dir="${tomcat-dbcp.home}/classes"/>
|
|
<javac target="1.5" destdir="${tomcat-dbcp.home}/classes"
|
|
optimize="off"
|
|
debug="${compile.debug}"
|
|
deprecation="${compile.deprecation}"
|
|
source="${compile.source}"
|
|
sourcepath="${tomcat-dbcp.home}/src/java"
|
|
srcdir="${tomcat-dbcp.home}/src/java" >
|
|
<include name="**" />
|
|
</javac>
|
|
<jar destfile="${tomcat-dbcp.home}/${tomcat-dbcp.jar}"
|
|
index="true">
|
|
<fileset dir="${tomcat-dbcp.home}/classes">
|
|
<include name="**/*.class" />
|
|
<include name="**/*.properties" />
|
|
</fileset>
|
|
</jar>
|
|
</target>
|
|
|
|
</project>
|
|
|