forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
1.8-build.xml-jar-target.patch
47 lines (43 loc) · 1.78 KB
/
1.8-build.xml-jar-target.patch
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
37
38
39
40
41
42
43
44
45
46
47
--- build.xml.orig 2007-12-26 13:43:35.000000000 +1300
+++ build.xml 2007-12-26 13:47:32.000000000 +1300
@@ -117,6 +117,7 @@
<pathelement location="${jaxp.jaxp.jar}"/>
<pathelement location="${jaxp.parser.jar}"/>
<pathelement location="${commons-beanutils.jar}"/>
+ <pathelement location="${commons-collections.jar}" />
<pathelement location="${commons-logging.jar}"/>
<pathelement location="${junit.jar}"/>
</path>
@@ -140,6 +141,7 @@
<pathelement location="${junit.jar}"/>
<pathelement location="${jaxp.jaxp.jar}"/>
<pathelement location="${jaxp.parser.jar}"/>
+ <pathelement location="${commons-collections.jar}" />
<pathelement location="${commons-beanutils.jar}"/>
<pathelement location="${commons-logging.jar}"/>
</path>
@@ -256,20 +258,22 @@
</javadoc>
</target>
+ <target name="jar" depends="compile"
+ description="Create commons-digester.jar">
+ <mkdir dir="${dist.home}"/>
+ <jar jarfile="${dist.home}/commons-${component.name}.jar"
+ basedir="${build.home}/classes"
+ manifest="${build.home}/conf/MANIFEST.MF"/>
+ </target>
- <target name="dist" depends="compile,javadoc"
+ <target name="dist" depends="jar,javadoc"
description="Create binary distribution">
- <mkdir dir="${dist.home}"/>
<copy file="LICENSE.txt"
todir="${dist.home}"/>
- <mkdir dir="${build.home}/classes/META-INF"/>
<copy file="RELEASE-NOTES.txt"
todir="${dist.home}"/>
<copy file="NOTICE.txt"
todir="${dist.home}"/>
- <jar jarfile="${dist.home}/commons-${component.name}.jar"
- basedir="${build.home}/classes"
- manifest="${build.home}/conf/MANIFEST.MF"/>
</target>