]> Pileus Git - ~andy/sunrise/blob - net-im/tigase-server/files/classpaths.patch
net-im/tigase-server: New EBuild for Tigase Server
[~andy/sunrise] / net-im / tigase-server / files / classpaths.patch
1 Index: build.properties
2 ===================================================================
3 --- build.properties    (revision 1113)
4 +++ build.properties    (working copy)
5 @@ -6,7 +6,8 @@
6  src.java.dir=${src}
7  build=classes
8  jars=jars
9 -libs=libs
10 +xmltools=/usr/share/tigase-xmltools/lib/tigase-xmltools.jar
11 +utils=/usr/share/tigase-utils/lib/tigase-utils.jar
12  docs=docs
13  dist=dist
14  unittests=tests/unittests/src
15 Index: ant-definitions.xml
16 ===================================================================
17 --- ant-definitions.xml (revision 1113)
18 +++ ant-definitions.xml (working copy)
19 @@ -13,13 +13,9 @@
20                 destdir="${build}"
21                 debug="on"
22                 encoding="UTF-8"
23 +               classpath="${xmltools}:${utils}"
24                 deprecation="@{deprecation}">
25                 <compilerarg line="@{xlint}"/>
26 -               <classpath>
27 -                <fileset dir="${libs}">
28 -           <include name="**/*.jar"/>
29 -                </fileset>
30 -               </classpath>
31          </javac>
32         </sequential>
33   </macrodef>
34 @@ -79,14 +75,8 @@
35          version="true"
36          verbose="false"
37          protected="true"
38 +       classpath="${xmltools};${utils}"
39          bottom="${javadoc-copyright}">
40 -        <link offline="true" href="http://java.sun.com/j2se/1.5.0/docs/api/"
41 -          packagelistLoc="package-list"/>
42 -       <classpath>
43 -         <fileset dir="${libs}">
44 -           <include name="**/*.jar"/>
45 -         </fileset>
46 -       </classpath>
47        </javadoc>
48      </sequential>
49    </macrodef>