summaryrefslogtreecommitdiff
path: root/rules/jdom-bootstrap/00-only-core.patch
diff options
context:
space:
mode:
Diffstat (limited to 'rules/jdom-bootstrap/00-only-core.patch')
-rw-r--r--rules/jdom-bootstrap/00-only-core.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/rules/jdom-bootstrap/00-only-core.patch b/rules/jdom-bootstrap/00-only-core.patch
new file mode 100644
index 0000000..5022706
--- /dev/null
+++ b/rules/jdom-bootstrap/00-only-core.patch
@@ -0,0 +1,47 @@
+diff -ruN jdom-core.orig/build.properties jdom-core/build.properties
+--- jdom-core.orig/build.properties 1969-12-31 19:00:00.000000000 -0500
++++ jdom-core/build.properties 2014-06-03 18:37:41.048699776 -0400
+@@ -0,0 +1,7 @@
++ant.jar=/opt/apache-ant/lib/ant.jar
++junit.jar=/usr/share/java/junit.jar
++serializer.jar=/usr/share/java/serializer.jar
++xalan.jar=/usr/share/java/xalan.jar
++xercesImpl.jar=/usr/share/java/xercesImpl.jar
++jaxen.jar=/home/luke/src/maven-dist/build/packages/jaxen-bootstrap/usr/share/maven/repository/jaxen/jaxen/1.1.6/jaxen-1.1.6.jar
++version=2.0.5
+diff -ruN jdom-core.orig/build.xml jdom-core/build.xml
+--- jdom-core.orig/build.xml 2014-06-03 17:32:11.428184214 -0400
++++ jdom-core/build.xml 2014-06-03 18:38:25.357844783 -0400
+@@ -296,7 +296,7 @@
+ <!-- =================================================================== -->
+ <!-- Creates the jars -->
+ <!-- =================================================================== -->
+- <target name="jars" depends="compile, javadoc"
++ <target name="jars" depends="compile.core, javadoc"
+ description="Builds the Jars">
+ <fixcrlf srcdir="." includes="**/*.bat" excludes="build*.*" eol="crlf"/>
+ <fixcrlf srcdir="." includes="**/*.sh" excludes="build*.*" eol="lf"/>
+@@ -316,14 +316,6 @@
+ <fileset dir="${core.build}" includes="**/*.class" />
+ <fileset dir="${metainf.build}" excludes="**/MANIFEST.MF" />
+ </jar>
+- <jar jarfile="${package}/${jarbase}-contrib.jar" >
+- <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" />
+- </jar>
+ <jar destfile="${package}/${jarbase}-javadoc.jar"
+ basedir="${build.javadocs}" includes="**/*" />
+ <jar jarfile="${package}/${jarbase}-sources.jar" >
+@@ -371,7 +363,7 @@
+ <!-- =================================================================== -->
+ <!-- Creates the class package -->
+ <!-- =================================================================== -->
+- <target name="package" depends="coverage, jars"
++ <target name="package" depends="jars"
+ description="Creates the class package">
+ <zip destfile="${package}/${jarbase}.zip">
+ <fileset dir="${package}" includes="${jarbase}*.jar" />