blob: cfb5355f5e1a9d2cf0ae30c296bacb5bc2d8da67 (
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
37
38
39
40
41
42
43
44
45
46
47
|
--- build.xml.orig 2006-10-30 19:36:49.000000000 +0100
+++ build.xml 2006-10-30 19:49:01.000000000 +0100
@@ -127,6 +127,7 @@
<mkdir dir="${build.home}/docs/api"/>
<mkdir dir="${build.home}/tests"/>
<mkdir dir="${build.home}/examples"/>
+ <mkdir dir="${build.home}/contrib"/>
</target>
<target name="static" depends="prepare"
@@ -154,6 +155,13 @@
<include name="LICENSE.txt"/>
</metainf>
</jar>
+ <jar jarfile ="${dist.home}/commons-${component.name}-contrib.jar"
+ basedir ="${build.home}/contrib"
+ manifest ="${build.home}/conf/MANIFEST.MF">
+ <metainf dir="${dist.home}">
+ <include name="LICENSE.txt"/>
+ </metainf>
+ </jar>
<mkdir dir="${dist.home}/src"/>
<copy todir="${dist.home}/src" filtering="on">
<fileset dir="${source.home}"/>
@@ -193,6 +201,13 @@
optimize ="${compile.optimize}">
<classpath refid="compile.classpath"/>
</javac>
+ <javac srcdir ="${source.home}/contrib"
+ destdir ="${build.home}/contrib"
+ debug ="${compile.debug}"
+ deprecation ="${compile.deprecation}"
+ optimize ="${compile.optimize}">
+ <classpath refid="compile.classpath"/>
+ </javac>
</target>
<target name="compile.tests" depends="compile"
@@ -239,7 +254,7 @@
<mkdir dir="${dist.home}"/>
<mkdir dir="${dist.home}/docs"/>
<mkdir dir="${dist.home}/docs/api"/>
- <javadoc sourcepath ="${source.home}/java"
+ <javadoc sourcepath ="${source.home}/java:${source.home}/contrib"
destdir ="${dist.home}/docs/api"
packagenames ="org.apache.commons.*"
author ="true"
|