Files
gentoo/dev-java/jdom/files/build-xml-2.patch
T
James Le Cuirot f92754eb59 dev-java/jdom: Another rewrite of the v2 ebuild using Ant
Here comes a new challenger! I got sick of monsieurp and wltjr arguing
about this package so I decided to outdo them both. :) It was awkward
to build before because they had missed the build.xml file present on
GitHub.

 * All tests now pass.
 * RDEPEND on junit removed.
 * Unnecessary xml-commons-external dependency removed.
 * License changed as "JDOM" is basically just Apache-1.1.

Package-Manager: portage-2.2.20.1
2015-08-27 23:52:25 +01:00

37 lines
1.5 KiB
Diff

--- build.xml.orig 2015-02-15 02:58:04.000000000 +0000
+++ build.xml 2015-08-27 23:11:09.807800249 +0100
@@ -267,7 +267,7 @@
</javac>
</target>
- <target name="compile" depends="compile.core, compile.junit, compile.contrib, compile.samples"
+ <target name="compile" depends="compile.core, compile.contrib, compile.samples"
description="Compiles all JDOM code (core, samples, junit, contrib)" />
<!-- =================================================================== -->
@@ -296,7 +296,7 @@
<!-- =================================================================== -->
<!-- Creates the jars -->
<!-- =================================================================== -->
- <target name="jars" depends="compile, javadoc"
+ <target name="jars" depends="compile"
description="Builds the Jars">
<fixcrlf srcdir="." includes="**/*.bat" excludes="build*.*" eol="crlf"/>
<fixcrlf srcdir="." includes="**/*.sh" excludes="build*.*" eol="lf"/>
@@ -320,6 +320,7 @@
<fileset dir="${contrib.build}" includes="**/*" />
<fileset dir="${metainf.build}" excludes="**/MANIFEST.MF" />
</jar>
+<!--
<jar jarfile="${package}/${jarbase}-junit.jar" >
<fileset dir="${junit.build}" includes="**/*" />
<fileset dir="${metainf.build}" excludes="**/MANIFEST.MF" />
@@ -332,6 +333,7 @@
<fileset dir="${contrib.src}" includes="**/*" />
</jar>
+-->
</target>
<target name="androidtests" depends="jars">