|
|
a54a35 |
From 05a8a2fa49e92ad36a86d5d73588a2e46bf9ff95 Mon Sep 17 00:00:00 2001
|
|
|
a54a35 |
From: Michael Simacek <msimacek@redhat.com>
|
|
|
a54a35 |
Date: Mon, 23 Jul 2018 14:30:14 +0200
|
|
|
a54a35 |
Subject: [PATCH] Adapt build
|
|
|
a54a35 |
|
|
|
a54a35 |
---
|
|
|
a54a35 |
build.xml | 40 +++++++++++++++++++++++++---------------
|
|
|
a54a35 |
1 file changed, 25 insertions(+), 15 deletions(-)
|
|
|
a54a35 |
|
|
|
a54a35 |
diff --git a/build.xml b/build.xml
|
|
|
a54a35 |
index cd7c2ed..10d8df6 100644
|
|
|
a54a35 |
--- a/build.xml
|
|
|
a54a35 |
+++ b/build.xml
|
|
|
a54a35 |
@@ -112,17 +112,7 @@ For instructions on how to build JDOM, please view the README.txt file.
|
|
|
a54a35 |
|
|
|
a54a35 |
|
|
|
a54a35 |
<path id="base.class.path">
|
|
|
a54a35 |
- <pathelement location="${jaxen.jar}" />
|
|
|
a54a35 |
- <pathelement location="${parser.jar}" />
|
|
|
a54a35 |
- <pathelement location="${xmlapi.jar}" />
|
|
|
a54a35 |
- <pathelement location="${junit.jar}" />
|
|
|
a54a35 |
- <pathelement location="${isorelax.jar}" />
|
|
|
a54a35 |
- <pathelement location="${xalan.jar}" />
|
|
|
a54a35 |
- <pathelement location="${xalanser.jar}" />
|
|
|
a54a35 |
-
|
|
|
a54a35 |
-
|
|
|
a54a35 |
- <pathelement location="${stax.dir}/jsr173_1.0_api.jar" />
|
|
|
a54a35 |
- <pathelement location="${stax.dir}/sjsxp.jar" />
|
|
|
a54a35 |
+ <fileset dir="${lib.dir}" includes="*.jar" />
|
|
|
a54a35 |
</path>
|
|
|
a54a35 |
|
|
|
a54a35 |
<path id="core.class.path">
|
|
|
a54a35 |
@@ -289,6 +279,7 @@ For instructions on how to build JDOM, please view the README.txt file.
|
|
|
a54a35 |
header="<b>${Name}<br><font size='-1'>${version}</font></b>"
|
|
|
a54a35 |
bottom="Copyright © ${year} Jason Hunter, Brett McLaughlin. All Rights Reserved.">
|
|
|
a54a35 |
<classpath refid="base.class.path"/>
|
|
|
a54a35 |
+ <link href="${j2se.apidoc}"/>
|
|
|
a54a35 |
</javadoc>
|
|
|
a54a35 |
</target>
|
|
|
a54a35 |
|
|
|
a54a35 |
@@ -373,11 +364,11 @@ For instructions on how to build JDOM, please view the README.txt file.
|
|
|
a54a35 |
|
|
|
a54a35 |
|
|
|
a54a35 |
description="Creates the class package">
|
|
|
a54a35 |
- <zip destfile="${package}/${jarbase}.zip">
|
|
|
a54a35 |
+
|
|
|
a54a35 |
<fileset dir="${package}" includes="${jarbase}*.jar" />
|
|
|
a54a35 |
<fileset dir="${basedir}" includes="lib/xerces* lib/jaxen* lib/xml* lib/xalan/**" />
|
|
|
a54a35 |
<fileset dir="${basedir}" includes="LICENSE.txt README.txt" />
|
|
|
a54a35 |
- </zip>
|
|
|
a54a35 |
+ </zip>-->
|
|
|
a54a35 |
</target>
|
|
|
a54a35 |
|
|
|
a54a35 |
|
|
|
a54a35 |
@@ -401,6 +392,7 @@ For instructions on how to build JDOM, please view the README.txt file.
|
|
|
a54a35 |
<include name="**/*.class"/>
|
|
|
a54a35 |
|
|
|
a54a35 |
</fileset>
|
|
|
a54a35 |
+ <classpath refid="junit.class.path" />
|
|
|
a54a35 |
</cobertura-instrument>
|
|
|
a54a35 |
|
|
|
a54a35 |
<property name="forkjunit" value="true" />
|
|
|
a54a35 |
@@ -528,7 +520,25 @@ For instructions on how to build JDOM, please view the README.txt file.
|
|
|
a54a35 |
</filterset>
|
|
|
a54a35 |
</copy>
|
|
|
a54a35 |
|
|
|
a54a35 |
- <exec dir="${mavendir}/core" executable="${gpg}">
|
|
|
a54a35 |
+ <copy filtering="true" file="maven/contrib.pom" tofile="${mavendir}/core/${mavenbase}-contrib.pom">
|
|
|
a54a35 |
+ <filterset>
|
|
|
a54a35 |
+ <filter token="artifactID" value="${mavenartifact}"/>
|
|
|
a54a35 |
+ <filter token="version" value="${version}" />
|
|
|
a54a35 |
+ <filter token="jdk" value="${compile.target}" />
|
|
|
a54a35 |
+ <filter token="license" value="${license}" />
|
|
|
a54a35 |
+ </filterset>
|
|
|
a54a35 |
+ </copy>
|
|
|
a54a35 |
+
|
|
|
a54a35 |
+ <copy filtering="true" file="maven/junit.pom" tofile="${mavendir}/core/${mavenbase}-junit.pom">
|
|
|
a54a35 |
+ <filterset>
|
|
|
a54a35 |
+ <filter token="artifactID" value="${mavenartifact}"/>
|
|
|
a54a35 |
+ <filter token="version" value="${version}" />
|
|
|
a54a35 |
+ <filter token="jdk" value="${compile.target}" />
|
|
|
a54a35 |
+ <filter token="license" value="${license}" />
|
|
|
a54a35 |
+ </filterset>
|
|
|
a54a35 |
+ </copy>
|
|
|
a54a35 |
+
|
|
|
a54a35 |
+
|
|
|
a54a35 |
<arg value="-abv"/>
|
|
|
a54a35 |
<arg value="${mavenbase}.pom"/>
|
|
|
a54a35 |
</exec>
|
|
|
a54a35 |
@@ -543,7 +553,7 @@ For instructions on how to build JDOM, please view the README.txt file.
|
|
|
a54a35 |
<exec dir="${mavendir}/core" executable="${gpg}">
|
|
|
a54a35 |
<arg value="-abv"/>
|
|
|
a54a35 |
<arg value="${mavenbase}-javadoc.jar"/>
|
|
|
a54a35 |
- </exec>
|
|
|
a54a35 |
+ </exec-->
|
|
|
a54a35 |
|
|
|
a54a35 |
|
|
|
a54a35 |
basedir="${mavendir}/core"
|
|
|
a54a35 |
--
|
|
|
a54a35 |
2.17.1
|
|
|
a54a35 |
|