Gentoo Archives: gentoo-commits

From: "Serkan Kaba (serkan)" <serkan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/commons-math/files: commons-math-2.1-r1-buildfixes.patch commons-math-2.1-buildfixes.patch
Date: Fri, 26 Nov 2010 21:03:42
Message-Id: 20101126203038.CDD0320051@flycatcher.gentoo.org
1 serkan 10/11/26 20:30:38
2
3 Added: commons-math-2.1-r1-buildfixes.patch
4 Removed: commons-math-2.1-buildfixes.patch
5 Log:
6 Fix empty jar when tests are not run. Reported in bug #346823 by Hendrik Iben <hiben@×××.de>. Reenable docs.
7
8 (Portage version: 2.2.0_alpha2/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 dev-java/commons-math/files/commons-math-2.1-r1-buildfixes.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-math/files/commons-math-2.1-r1-buildfixes.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-math/files/commons-math-2.1-r1-buildfixes.patch?rev=1.1&content-type=text/plain
15
16 Index: commons-math-2.1-r1-buildfixes.patch
17 ===================================================================
18 --- build.xml 2010-10-24 11:20:46.000000000 +0300
19 +++ build.xml.fixed 2010-10-24 11:25:42.000000000 +0300
20 @@ -114,6 +114,7 @@
21 <pathelement location="${build.home}/classes"/>
22 <pathelement location="${build.home}/test-classes"/>
23 <pathelement location="${junit.jar}"/>
24 + <pathelement location="hamcrest-core.jar"/>
25 <path refid="downloaded.lib.classpath"/>
26 </path>
27
28 @@ -232,7 +233,7 @@
29
30 <!-- ========== Create Jar ================================================ -->
31
32 - <target name="jar" depends="test" description="Create jar file">
33 + <target name="jar" depends="compile" description="Create jar file">
34
35 <mkdir dir="${build.home}/classes/META-INF"/>
36 <copy file="LICENSE.txt" tofile="${build.home}/classes/META-INF/LICENSE.txt"/>