blob: da5c253ed3a36cc2a668773098843522bf11adc5 (
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
|
diff -uprN dtdparser-1.21.old/build.xml dtdparser-1.21/build.xml
--- dtdparser-1.21.old/build.xml 2002-07-29 14:06:51.000000000 +0200
+++ dtdparser-1.21/build.xml 2004-12-24 13:13:02.626325296 +0100
@@ -12,7 +12,7 @@
<property name="src" value="source"/>
<property file="product.properties"/>
<property name="prod.distbase" value="${prod.name}-${prod.version.major}.${prod.version.minor}"/>
- <property name="prod.jar" value="${prod.distbase}/${prod.name}${prod.version.major}${prod.version.minor}.jar"/>
+ <property name="prod.jar" value="${prod.distbase}/${prod.name}.jar"/>
<property name="doc" value="${prod.distbase}/doc"/>
<!--
@@ -40,8 +40,11 @@
</target>
<target name="compile">
- <javac srcdir="${src}" destdir="${lib}"
- deprecation="on">
+ <javac srcdir="${src}"
+ destdir="${lib}"
+ deprecation="off"
+ source="1.3"
+ target="1.3">
<classpath refid="default.classpath"/>
</javac>
</target>
@@ -94,4 +97,9 @@
<delete dir="${lib}"/>
</target>
+ <target name="sourcezip">
+ <zip destfile="${dist}/dtdparser-src.zip">
+ <zipfileset dir="${src}" />
+ </zip>
+ </target>
</project>
|