|
|
@ -4,11 +4,11 @@ Date: Mon, 20 Apr 2020 09:29:12 +0200
|
|
|
|
Subject: [PATCH] Adapt build
|
|
|
|
Subject: [PATCH] Adapt build
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
---
|
|
|
|
build.xml | 61 +++----------------------------------------------------
|
|
|
|
build.xml | 54 +++---------------------------------------------------
|
|
|
|
1 file changed, 3 insertions(+), 58 deletions(-)
|
|
|
|
1 file changed, 3 insertions(+), 51 deletions(-)
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/build.xml b/build.xml
|
|
|
|
diff --git a/build.xml b/build.xml
|
|
|
|
index ed632c2..d80abff 100644
|
|
|
|
index cd7c2ed..16368e2 100644
|
|
|
|
--- a/build.xml
|
|
|
|
--- a/build.xml
|
|
|
|
+++ b/build.xml
|
|
|
|
+++ b/build.xml
|
|
|
|
@@ -112,17 +112,7 @@ For instructions on how to build JDOM, please view the README.txt file.
|
|
|
|
@@ -112,17 +112,7 @@ For instructions on how to build JDOM, please view the README.txt file.
|
|
|
@ -26,7 +26,7 @@ index ed632c2..d80abff 100644
|
|
|
|
- <!-- this is used for testing Java5 (the test sets stax.dir) -->
|
|
|
|
- <!-- this is used for testing Java5 (the test sets stax.dir) -->
|
|
|
|
- <pathelement location="${stax.dir}/jsr173_1.0_api.jar" />
|
|
|
|
- <pathelement location="${stax.dir}/jsr173_1.0_api.jar" />
|
|
|
|
- <pathelement location="${stax.dir}/sjsxp.jar" />
|
|
|
|
- <pathelement location="${stax.dir}/sjsxp.jar" />
|
|
|
|
+ <fileset dir="${lib.dir}" includes="*.jar" />
|
|
|
|
+ <fileset dir="${lib.dir}" includes="*.jar" />
|
|
|
|
</path>
|
|
|
|
</path>
|
|
|
|
|
|
|
|
|
|
|
|
<path id="core.class.path">
|
|
|
|
<path id="core.class.path">
|
|
|
@ -39,7 +39,7 @@ index ed632c2..d80abff 100644
|
|
|
|
description="Builds the Jars">
|
|
|
|
description="Builds the Jars">
|
|
|
|
<fixcrlf srcdir="." includes="**/*.bat" excludes="build*.*" eol="crlf"/>
|
|
|
|
<fixcrlf srcdir="." includes="**/*.bat" excludes="build*.*" eol="crlf"/>
|
|
|
|
<fixcrlf srcdir="." includes="**/*.sh" excludes="build*.*" eol="lf"/>
|
|
|
|
<fixcrlf srcdir="." includes="**/*.sh" excludes="build*.*" eol="lf"/>
|
|
|
|
@@ -316,27 +306,6 @@ For instructions on how to build JDOM, please view the README.txt file.
|
|
|
|
@@ -316,21 +306,6 @@ For instructions on how to build JDOM, please view the README.txt file.
|
|
|
|
<fileset dir="${core.build}" includes="**/*.class" />
|
|
|
|
<fileset dir="${core.build}" includes="**/*.class" />
|
|
|
|
<fileset dir="${metainf.build}" excludes="**/MANIFEST.MF" />
|
|
|
|
<fileset dir="${metainf.build}" excludes="**/MANIFEST.MF" />
|
|
|
|
</jar>
|
|
|
|
</jar>
|
|
|
@ -53,21 +53,15 @@ index ed632c2..d80abff 100644
|
|
|
|
- </jar>
|
|
|
|
- </jar>
|
|
|
|
- <jar destfile="${package}/${jarbase}-javadoc.jar"
|
|
|
|
- <jar destfile="${package}/${jarbase}-javadoc.jar"
|
|
|
|
- basedir="${build.javadocs}" includes="**/*" />
|
|
|
|
- basedir="${build.javadocs}" includes="**/*" />
|
|
|
|
-
|
|
|
|
|
|
|
|
- <jar jarfile="${package}/${jarbase}-sources.jar" >
|
|
|
|
- <jar jarfile="${package}/${jarbase}-sources.jar" >
|
|
|
|
- <fileset dir="${core.src}" includes="**/*" />
|
|
|
|
- <fileset dir="${core.src}" includes="**/*" />
|
|
|
|
- </jar>
|
|
|
|
|
|
|
|
- <jar jarfile="${package}/${jarbase}-junit-sources.jar" >
|
|
|
|
|
|
|
|
- <fileset dir="${junit.src}" includes="**/*" />
|
|
|
|
- <fileset dir="${junit.src}" includes="**/*" />
|
|
|
|
- </jar>
|
|
|
|
|
|
|
|
- <jar jarfile="${package}/${jarbase}-contrib-sources.jar" >
|
|
|
|
|
|
|
|
- <fileset dir="${contrib.src}" includes="**/*" />
|
|
|
|
- <fileset dir="${contrib.src}" includes="**/*" />
|
|
|
|
- </jar>
|
|
|
|
- </jar>
|
|
|
|
-
|
|
|
|
|
|
|
|
</target>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
|
|
|
|
<target name="androidtests" depends="jars">
|
|
|
|
@@ -500,7 +475,7 @@ For instructions on how to build JDOM, please view the README.txt file.
|
|
|
|
@@ -505,7 +474,7 @@ For instructions on how to build JDOM, please view the README.txt file.
|
|
|
|
|
|
|
|
<delete dir="${mavendir}" includes="**/*" failonerror="false"/>
|
|
|
|
<delete dir="${mavendir}" includes="**/*" failonerror="false"/>
|
|
|
|
</target>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
|
|
|
@ -76,7 +70,7 @@ index ed632c2..d80abff 100644
|
|
|
|
description="Prepares Maven bundle to load on to Sonatype Nexus for Maven-Central">
|
|
|
|
description="Prepares Maven bundle to load on to Sonatype Nexus for Maven-Central">
|
|
|
|
<mkdir dir="${mavendir}" />
|
|
|
|
<mkdir dir="${mavendir}" />
|
|
|
|
<mkdir dir="${mavendir}/core" />
|
|
|
|
<mkdir dir="${mavendir}/core" />
|
|
|
|
@@ -517,8 +486,6 @@ For instructions on how to build JDOM, please view the README.txt file.
|
|
|
|
@@ -512,8 +487,6 @@ For instructions on how to build JDOM, please view the README.txt file.
|
|
|
|
|
|
|
|
|
|
|
|
<!-- copy the build jar -->
|
|
|
|
<!-- copy the build jar -->
|
|
|
|
<copy tofile="${mavendir}/core/${mavenbase}.jar" file="${package}/${jarbase}.jar"/>
|
|
|
|
<copy tofile="${mavendir}/core/${mavenbase}.jar" file="${package}/${jarbase}.jar"/>
|
|
|
@ -85,11 +79,10 @@ index ed632c2..d80abff 100644
|
|
|
|
|
|
|
|
|
|
|
|
<!-- load the license in to the ${license} property -->
|
|
|
|
<!-- load the license in to the ${license} property -->
|
|
|
|
<loadfile property="license" srcfile="LICENSE.txt" />
|
|
|
|
<loadfile property="license" srcfile="LICENSE.txt" />
|
|
|
|
@@ -532,28 +499,6 @@ For instructions on how to build JDOM, please view the README.txt file.
|
|
|
|
@@ -528,27 +501,6 @@ For instructions on how to build JDOM, please view the README.txt file.
|
|
|
|
<filter token="license" value="${license}" />
|
|
|
|
|
|
|
|
</filterset>
|
|
|
|
</filterset>
|
|
|
|
</copy>
|
|
|
|
</copy>
|
|
|
|
-
|
|
|
|
|
|
|
|
- <exec dir="${mavendir}/core" executable="${gpg}">
|
|
|
|
- <exec dir="${mavendir}/core" executable="${gpg}">
|
|
|
|
- <arg value="-abv"/>
|
|
|
|
- <arg value="-abv"/>
|
|
|
|
- <arg value="${mavenbase}.pom"/>
|
|
|
|
- <arg value="${mavenbase}.pom"/>
|
|
|
@ -115,5 +108,5 @@ index ed632c2..d80abff 100644
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|
|
|
|
</project>
|
|
|
|
--
|
|
|
|
--
|
|
|
|
2.37.2
|
|
|
|
2.25.2
|
|
|
|
|
|
|
|
|