blob: 773cba13b50a2d342bb3a7660ee5aed18e962b21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
--- build.xml.orig 2004-12-19 15:48:41.189142888 +0100
+++ build.xml 2004-12-19 15:47:52.200590280 +0100
@@ -30,30 +30,15 @@
usage: Displays this message.</echo>
</target>
- <target name="hasServlet" unless="hasServlet">
- <fail>
-
- The Java Servlet API classes could not be found. These files can be
- obtained from:
-
- http://java.sun.com/products/servlet/download.html
- </fail>
- </target>
-
- <target name="dependencies">
- <available classname="javax.servlet.Servlet" property="hasServlet"/>
- <antcall target="hasServlet"/>
- </target>
-
- <target name="compile" depends="dependencies">
+ <target name="compile">
<mkdir dir="build"/>
- <javac srcdir="src" destdir="build" debug="on"/>
+ <javac srcdir="src" destdir="build" debug="off" source="1.4" target="1.4"/>
<copy file="src/jcifs/util/mime.map" tofile="build/jcifs/util/mime.map" overwrite="yes"/>
<copy file="src/jcifs/http/ne.css" tofile="build/jcifs/http/ne.css" overwrite="yes"/>
</target>
<target name="jar" depends="compile">
- <jar jarfile="jcifs-${version}.jar">
+ <jar jarfile="jcifs.jar">
<fileset dir="build"/>
</jar>
</target>
|