Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:FrontRunner
jdom2.28016
0001-Adapt-build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Adapt-build.patch of Package jdom2.28016
From 40912d0cdd69b3f327402176ce622078e6d0846d Mon Sep 17 00:00:00 2001 From: Michael Simacek <msimacek@redhat.com> Date: Mon, 23 Jul 2018 14:30:14 +0200 Subject: [PATCH] Adapt build --- build.xml | 42 ++++++++++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/build.xml b/build.xml index ed632c2c..78bbe934 100644 --- a/build.xml +++ b/build.xml @@ -112,17 +112,7 @@ For instructions on how to build JDOM, please view the README.txt file. <!-- Compilation class path --> <path id="base.class.path"> - <pathelement location="${jaxen.jar}" /> - <pathelement location="${parser.jar}" /> - <pathelement location="${xmlapi.jar}" /> - <pathelement location="${junit.jar}" /> - <pathelement location="${isorelax.jar}" /> - <pathelement location="${xalan.jar}" /> - <pathelement location="${xalanser.jar}" /> - <!-- normally these stax jars will not be found --> - <!-- this is used for testing Java5 (the test sets stax.dir) --> - <pathelement location="${stax.dir}/jsr173_1.0_api.jar" /> - <pathelement location="${stax.dir}/sjsxp.jar" /> + <fileset dir="${lib.dir}" includes="*.jar" /> </path> <path id="core.class.path"> @@ -289,6 +279,7 @@ For instructions on how to build JDOM, please view the README.txt file. header="<b>${Name}<br><font size='-1'>${version}</font></b>" bottom="Copyright © ${year} Jason Hunter, Brett McLaughlin. All Rights Reserved."> <classpath refid="base.class.path"/> + <link href="${j2se.apidoc}"/> </javadoc> </target> @@ -378,11 +369,11 @@ For instructions on how to build JDOM, please view the README.txt file. <!-- =================================================================== --> <target name="package" depends="coverage, jars" description="Creates the class package"> - <zip destfile="${package}/${jarbase}.zip"> + <!--<zip destfile="${package}/${jarbase}.zip"> <fileset dir="${package}" includes="${jarbase}*.jar" /> <fileset dir="${basedir}" includes="lib/xerces* lib/jaxen* lib/xml* lib/xalan/**" /> <fileset dir="${basedir}" includes="LICENSE.txt README.txt" /> - </zip> + </zip>--> </target> <!-- =================================================================== --> @@ -406,6 +397,7 @@ For instructions on how to build JDOM, please view the README.txt file. <include name="**/*.class"/> <!-- exclude name="**/**/jaxen/**/*.class"/ --> </fileset> + <classpath refid="junit.class.path" /> </cobertura-instrument> <property name="forkjunit" value="true" /> @@ -533,7 +525,25 @@ For instructions on how to build JDOM, please view the README.txt file. </filterset> </copy> - <exec dir="${mavendir}/core" executable="${gpg}"> + <copy filtering="true" file="maven/contrib.pom" tofile="${mavendir}/core/${mavenbase}-contrib.pom"> + <filterset> + <filter token="artifactID" value="${mavenartifact}"/> + <filter token="version" value="${version}" /> + <filter token="jdk" value="${compile.target}" /> + <filter token="license" value="${license}" /> + </filterset> + </copy> + + <copy filtering="true" file="maven/junit.pom" tofile="${mavendir}/core/${mavenbase}-junit.pom"> + <filterset> + <filter token="artifactID" value="${mavenartifact}"/> + <filter token="version" value="${version}" /> + <filter token="jdk" value="${compile.target}" /> + <filter token="license" value="${license}" /> + </filterset> + </copy> + + <!--exec dir="${mavendir}/core" executable="${gpg}"> <arg value="-abv"/> <arg value="${mavenbase}.pom"/> </exec> @@ -548,8 +558,8 @@ For instructions on how to build JDOM, please view the README.txt file. <exec dir="${mavendir}/core" executable="${gpg}"> <arg value="-abv"/> <arg value="${mavenbase}-javadoc.jar"/> - </exec> - + </exec--> + <jar destfile="${mavendir}/${mavenbase}-maven-bundle.jar" basedir="${mavendir}/core" includes="${mavenbase}*" excludes="*maven-bundle*" /> -- 2.34.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor