1 |
serkan 09/01/31 10:06:31 |
2 |
|
3 |
Added: java-wakeonlan-1.0.0-build.xml.patch |
4 |
Log: |
5 |
Revbump to avoid bundling of unit tests in the jar. Add jsap to javadoc classpath. Keyword for amd64. |
6 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 net-misc/java-wakeonlan/files/java-wakeonlan-1.0.0-build.xml.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/java-wakeonlan/files/java-wakeonlan-1.0.0-build.xml.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/java-wakeonlan/files/java-wakeonlan-1.0.0-build.xml.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: java-wakeonlan-1.0.0-build.xml.patch |
15 |
=================================================================== |
16 |
--- build.xml 2004-06-03 16:21:44.000000000 +0300 |
17 |
+++ build.xml.fixed 2009-01-31 11:48:56.000000000 +0200 |
18 |
@@ -38,7 +38,6 @@ |
19 |
target="${build.target}" |
20 |
classpathref="build.classpath" > |
21 |
<src path="${src.dir}" /> |
22 |
- <src path="${testsrc.dir}" /> |
23 |
</javac> |
24 |
<copy todir="${build.classes.dir}" overwrite="true"> |
25 |
<fileset dir="${src.dir}"> |
26 |
@@ -56,6 +55,16 @@ |
27 |
</copy> |
28 |
</target> |
29 |
|
30 |
+ <target name="build-test"> |
31 |
+ <javac destdir="${build.classes.dir}" |
32 |
+ debug="${build.debug}" |
33 |
+ optimize="${build.optimize}" |
34 |
+ target="${build.target}" |
35 |
+ classpathref="build.classpath" > |
36 |
+ <src path="${testsrc.dir}" /> |
37 |
+ </javac> |
38 |
+ </target> |
39 |
+ |
40 |
<target name="init.javadoc"> |
41 |
<mkdir dir="${deploy.javadoc.dir}"/> |
42 |
</target> |
43 |
@@ -74,7 +83,7 @@ |
44 |
</javadoc> |
45 |
</target> |
46 |
|
47 |
- <target name="test" depends="build"> |
48 |
+ <target name="test" depends="build-test"> |
49 |
<junit showoutput="true" printsummary="true"> |
50 |
<classpath > |
51 |
<path refid="build.classpath" /> |
52 |
@@ -179,4 +188,4 @@ |
53 |
<antcall target="deploy.ws" /> |
54 |
<antcall target="deploy.zip" /> |
55 |
</target> |
56 |
-</project> |
57 |
\ Dosya sonunda yenisatır yok. |
58 |
+</project> |