diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-22 22:13:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-22 22:13:37 -0500 |
| commit | 171e0b5f950f655c3da943ea59ba2e741425319f (patch) | |
| tree | c520a8c422c7fc58a5149552b1db8a423e469b21 /dev-java/ant-ivy | |
| parent | f95e0da799133b56968a5a6af89c7fb3366c4777 (diff) | |
| download | baldeagleos-repo-171e0b5f950f655c3da943ea59ba2e741425319f.tar.gz baldeagleos-repo-171e0b5f950f655c3da943ea59ba2e741425319f.tar.xz baldeagleos-repo-171e0b5f950f655c3da943ea59ba2e741425319f.zip | |
Adding metadata
Diffstat (limited to 'dev-java/ant-ivy')
9 files changed, 401 insertions, 0 deletions
diff --git a/dev-java/ant-ivy/Manifest b/dev-java/ant-ivy/Manifest index 0d8fb7a2c918..d876e93214c6 100644 --- a/dev-java/ant-ivy/Manifest +++ b/dev-java/ant-ivy/Manifest @@ -1 +1,3 @@ DIST apache-ivy-2.5.0-src.tar.gz 2719181 BLAKE2B 71c47e3493beac8de1bc4e8c86ae18383938265dd2803a1c4b9ad466306227dab9eeca256516ff94064d902d0694b4f0b35ce152c5f64b95b876e47289b25833 SHA512 59d9458345e3a51e8f527258ba26ebe2cf5cf257401c52fb5f75aced0da5f7bf36f8aa0f202bbc0cf029d1d49bd6634f7cb8b65ccc828eb55ff7084430879268 +DIST apache-ivy-2.5.3-src.tar.gz 2740477 BLAKE2B 6539b73ea49b76fdd547417265fd54ece2352a042cd40cef34b88886c994d377048710469a4b07ac7d3ff586d8816d50e10493abf4ebe78f6d90c9f1cb3a0bee SHA512 135c9cdbd3b4d291f67849e1b38964e1adef51b879de6b46ea4b72fd1bfa2d337b7468d46c4632b2bf360bdb9a25af874195f1032c61fe9fcd1f39ffa02469be +DIST apache-ivy-2.5.3-src.tar.gz.asc 190 BLAKE2B a72faaa8ef1c0fc5d3073311d2fe85ae3d9d4a1494ba74ab53ad5a779787dbd13484da84d556e46d95ef712f35941a9751de7c3ac709eb556fab4ef3711e6588 SHA512 37c40100426b4e045a738570b5133845e753d3e0ebcd7a91d401be967446fed7d8d9d17275191b4cbd33f2847f042fa36fa5f125eaea305b3eef63ea668f9af3 diff --git a/dev-java/ant-ivy/ant-ivy-2.5.3.ebuild b/dev-java/ant-ivy/ant-ivy-2.5.3.ebuild new file mode 100644 index 000000000000..b2040231ad2a --- /dev/null +++ b/dev-java/ant-ivy/ant-ivy-2.5.3.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +JAVA_PKG_IUSE="doc source test" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple verify-sig + +DESCRIPTION="Ivy is a free java based dependency manager" +HOMEPAGE="https://ant.apache.org/ivy/" +SRC_URI="mirror://apache/ant/ivy/${PV}/apache-ivy-${PV}-src.tar.gz + verify-sig? ( mirror://apache/ant/ivy/${PV}/apache-ivy-${PV}-src.tar.gz.asc )" +S="${WORKDIR}/apache-ivy-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" + +COMMON_DEPEND=" + >=dev-java/ant-1.10.15-r1:0 + dev-java/bcpg:0 + dev-java/bcprov:0 + dev-java/commons-vfs:2 + dev-java/httpcomponents-client:4 + dev-java/httpcore:0 + dev-java/jakarta-oro:2.0 + dev-java/jsch:0 + dev-java/jsch-agent-proxy:0 +" + +BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-apache-ant-20260402 )" +DEPEND=" + ${COMMON_DEPEND} + || ( virtual/jdk:11 virtual/jdk:1.8 ) + test? ( + >=dev-java/ant-1.10.15-r1:0[junit,junit4,testutil] + >=dev-java/ant-contrib-1.0_beta6_pre20201123-r3:0 + >=dev-java/commons-logging-1.3.6:0 + >=dev-java/hamcrest-3.0:0 + dev-java/xmlunit:1 + ) +" + +RDEPEND=" + ${COMMON_DEPEND} + >=virtual/jre-1.8:* +" + +DOCS=( NOTICE README.adoc ) +PATCHES=( + "${FILESDIR}/ant-ivy-2.5.3-gentoo.patch" + "${FILESDIR}/ant-ivy-2.5.3-ant-contrib-classpath.patch" + "${FILESDIR}/ant-ivy-2.5.3-BundleRepoTest.patch" + "${FILESDIR}/ant-ivy-2.5.3-testExtendsAbsoluteLocation.patch" + "${FILESDIR}/ant-ivy-2.5.3-MirroredURLResolverTest.patch" + "${FILESDIR}/ant-ivy-2.5.3-BintrayResolverTest.patch" + "${FILESDIR}/ant-ivy-2.5.3-UpdateSiteLoaderTest.patch" +) + +JAVA_JAR_FILENAME="ivy.jar" # PN is different +JAVA_SRC_DIR="src/java" # needed for USE=source +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/ant.apache.org.asc" + +src_prepare() { + java-pkg-2_src_prepare + java-pkg_clean ! -path './test/**' +} + +src_compile() { + mkdir lib || die "mkdir lib" # needed because of -Dno.resolve + local libs="ant,bcpg,bcprov,commons-vfs-2,httpcomponents-client-4,httpcore,jakarta-oro-2.0,jsch,jsch-agent-proxy" + eant \ + -f build.xml jar $(usev doc javadoc) \ + -Dskip.test \ + -Doffline=true \ + -Dno.resolve=true \ + -Divy.use.local.home=true \ + -Dant.jar=$(java-pkg_getjar --build-only ant ant.jar) \ + -Dgentoo.classpath=$(java-pkg_getjars --build-only "${libs}") \ + -Dant.build.javac.source="$(java-pkg_get-source)" \ + -Dant.build.javac.target="$(java-pkg_get-target)" +} + +src_test() { + # test-class with only one test which needs network access + rm test/java/org/apache/ivy/osgi/updatesite/UpdateSiteAndIbiblioResolverTest.java || die + + local libs="ant,bcpg,bcprov,commons-vfs-2,httpcomponents-client-4,httpcore,jakarta-oro-2.0,jsch,jsch-agent-proxy" + libs+=",commons-logging,junit,junit-4,hamcrest,xmlunit-1" + eant \ + -f build.xml test \ + -Dant-contrib.jar=$(java-pkg_getjars --build-only ant-contrib) \ + -Doffline=true \ + -Dno.resolve=true \ + -Divy.use.local.home=true \ + -Dant.jar=$(java-pkg_getjar --build-only ant ant.jar) \ + -Dgentoo.classpath=$(java-pkg_getjars --build-only "${libs}") \ + -Dant.build.javac.source="$(java-pkg_get-source)" \ + -Dant.build.javac.target="$(java-pkg_get-target)" +} + +src_install() { + if use doc; then + mkdir target || die + mv {build/reports,target}/api || die + fi + mv {build/artifact/jars/,}ivy.jar || die "rename jar" + java-pkg-simple_src_install +} diff --git a/dev-java/ant-ivy/files/ant-ivy-2.5.3-BintrayResolverTest.patch b/dev-java/ant-ivy/files/ant-ivy-2.5.3-BintrayResolverTest.patch new file mode 100644 index 000000000000..dcc940fc1ba0 --- /dev/null +++ b/dev-java/ant-ivy/files/ant-ivy-2.5.3-BintrayResolverTest.patch @@ -0,0 +1,47 @@ + <testcase classname="org.apache.ivy.plugins.resolver.BintrayResolverTest" name="testBintray" time="0.007"> + <failure type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError + at org.apache.ivy.plugins.resolver.BintrayResolverTest.testBintray(BintrayResolverTest.java:145) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) +</failure> + </testcase> + <testcase classname="org.apache.ivy.plugins.resolver.BintrayResolverTest" name="testBintrayArtifacts" time="0.004"> + <failure type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError + at org.apache.ivy.plugins.resolver.BintrayResolverTest.testBintrayArtifacts(BintrayResolverTest.java:214) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) +</failure> + </testcase> + +diff --git a/test/java/org/apache/ivy/plugins/resolver/BintrayResolverTest.java b/test/java/org/apache/ivy/plugins/resolver/BintrayResolverTest.java +index 5a64a3f..892fd65 100644 +--- a/test/java/org/apache/ivy/plugins/resolver/BintrayResolverTest.java ++++ b/test/java/org/apache/ivy/plugins/resolver/BintrayResolverTest.java +@@ -40,6 +40,7 @@ import org.apache.ivy.util.MockMessageLogger; + import org.junit.After;
+ import org.junit.Before;
+ import org.junit.Test;
++import org.junit.Ignore;
+
+ import static org.junit.Assert.assertEquals;
+ import static org.junit.Assert.assertNotNull;
+@@ -134,7 +135,7 @@ public class BintrayResolverTest extends AbstractDependencyResolverTest { + assertEquals("TestName", resolver.getName());
+ }
+
+- @Test
++ @Test @Ignore
+ public void testBintray() throws Exception {
+ BintrayResolver resolver = new BintrayResolver();
+ resolver.setSettings(settings);
+@@ -196,7 +197,7 @@ public class BintrayResolverTest extends AbstractDependencyResolverTest { + .assertLogContains("tried https://dl.bintray.com/unknown/unknown/org/apache/commons-fileupload/1.0/commons-fileupload-1.0.jar");
+ }
+
+- @Test
++ @Test @Ignore
+ public void testBintrayArtifacts() throws Exception {
+ BintrayResolver resolver = new BintrayResolver();
+ resolver.setName("test");
diff --git a/dev-java/ant-ivy/files/ant-ivy-2.5.3-BundleRepoTest.patch b/dev-java/ant-ivy/files/ant-ivy-2.5.3-BundleRepoTest.patch new file mode 100644 index 000000000000..a1518fc5f415 --- /dev/null +++ b/dev-java/ant-ivy/files/ant-ivy-2.5.3-BundleRepoTest.patch @@ -0,0 +1,19 @@ +--- a/test/java/org/apache/ivy/osgi/repo/BundleRepoTest.java ++++ b/test/java/org/apache/ivy/osgi/repo/BundleRepoTest.java +@@ -36,6 +36,7 @@ import org.apache.ivy.plugins.repository.file.FileRepository; + import org.apache.ivy.plugins.resolver.FileSystemResolver;
+ import org.apache.tools.ant.BuildException;
+ import org.junit.Test;
++import org.junit.Ignore;
+ import org.xml.sax.SAXException;
+
+ import static org.junit.Assert.assertEquals;
+@@ -73,7 +74,7 @@ public class BundleRepoTest { + assertEquals(repo, repo2);
+ }
+
+- @Test
++ @Test @Ignore
+ public void testResolver() throws Exception {
+ FileSystemResolver fileSystemResolver = new FileSystemResolver();
+ fileSystemResolver.setName("test");
diff --git a/dev-java/ant-ivy/files/ant-ivy-2.5.3-MirroredURLResolverTest.patch b/dev-java/ant-ivy/files/ant-ivy-2.5.3-MirroredURLResolverTest.patch new file mode 100644 index 000000000000..64d88b25d015 --- /dev/null +++ b/dev-java/ant-ivy/files/ant-ivy-2.5.3-MirroredURLResolverTest.patch @@ -0,0 +1,45 @@ + <testcase classname="org.apache.ivy.plugins.resolver.MirroredURLResolverTest" name="testSolo" time="0.018"> + <failure type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError + at org.apache.ivy.plugins.resolver.MirroredURLResolverTest.testSolo(MirroredURLResolverTest.java:79) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) +</failure> + </testcase> + <testcase classname="org.apache.ivy.plugins.resolver.MirroredURLResolverTest" name="testFailover" time="0.014"> + <failure type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError + at org.apache.ivy.plugins.resolver.MirroredURLResolverTest.testFailover(MirroredURLResolverTest.java:92) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) +</failure> + </testcase> + +--- a/test/java/org/apache/ivy/plugins/resolver/MirroredURLResolverTest.java ++++ b/test/java/org/apache/ivy/plugins/resolver/MirroredURLResolverTest.java +@@ -31,6 +31,7 @@ import org.apache.ivy.core.sort.SortEngine; + import org.junit.After;
+ import org.junit.Before;
+ import org.junit.Test;
++import org.junit.Ignore;
+
+ import static org.junit.Assert.assertNotNull;
+ import static org.junit.Assert.assertNull;
+@@ -66,7 +67,7 @@ public class MirroredURLResolverTest { + TestHelper.cleanCache();
+ }
+
+- @Test
++ @Test @Ignore
+ public void testSolo() throws Exception {
+ DependencyResolver resolver = settings.getResolver("solo");
+ assertNotNull(resolver);
+@@ -79,7 +80,7 @@ public class MirroredURLResolverTest { + assertNotNull(rmr);
+ }
+
+- @Test
++ @Test @Ignore
+ public void testFailover() throws Exception {
+ DependencyResolver resolver = settings.getResolver("failover");
+ assertNotNull(resolver);
diff --git a/dev-java/ant-ivy/files/ant-ivy-2.5.3-UpdateSiteLoaderTest.patch b/dev-java/ant-ivy/files/ant-ivy-2.5.3-UpdateSiteLoaderTest.patch new file mode 100644 index 000000000000..72274b90e5c9 --- /dev/null +++ b/dev-java/ant-ivy/files/ant-ivy-2.5.3-UpdateSiteLoaderTest.patch @@ -0,0 +1,22 @@ + <testcase classname="org.apache.ivy.osgi.updatesite.UpdateSiteLoaderTest" name="testIvyDE" time="0.256"> + <error type="java.lang.NullPointerException">java.lang.NullPointerException + at org.apache.ivy.osgi.updatesite.UpdateSiteLoaderTest.testIvyDE(UpdateSiteLoaderTest.java:68) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) +</error> + </testcase> + +diff --git a/test/java/org/apache/ivy/osgi/updatesite/UpdateSiteLoaderTest.java b/test/java/org/apache/ivy/osgi/updatesite/UpdateSiteLoaderTest.java +index 9b5092a..9b8a2f7 100644 +--- a/test/java/org/apache/ivy/osgi/updatesite/UpdateSiteLoaderTest.java ++++ b/test/java/org/apache/ivy/osgi/updatesite/UpdateSiteLoaderTest.java +@@ -61,7 +61,7 @@ public class UpdateSiteLoaderTest { + CacheCleaner.deleteDir(cache);
+ }
+
+- @Test
++ @Test @Ignore
+ public void testIvyDE() throws IOException, ParseException, SAXException, URISyntaxException {
+ RepoDescriptor site = loader.load(new URI(
+ "https://archive.apache.org/dist/ant/ivyde/updatesite/"));
diff --git a/dev-java/ant-ivy/files/ant-ivy-2.5.3-ant-contrib-classpath.patch b/dev-java/ant-ivy/files/ant-ivy-2.5.3-ant-contrib-classpath.patch new file mode 100644 index 000000000000..0dce7d30ad38 --- /dev/null +++ b/dev-java/ant-ivy/files/ant-ivy-2.5.3-ant-contrib-classpath.patch @@ -0,0 +1,11 @@ +--- a/test/test-repo/build.xml ++++ b/test/test-repo/build.xml +@@ -20,7 +20,7 @@ +
+ <!-- Need ant contrib ! -->
+ <taskdef resource="net/sf/antcontrib/antcontrib.properties">
+- <classpath location="${basedir}/../../lib/ant-contrib.jar"/>
++ <classpath location="${ant-contrib.jar}"/>
+ </taskdef>
+
+ <target name="generate-bundles">
diff --git a/dev-java/ant-ivy/files/ant-ivy-2.5.3-gentoo.patch b/dev-java/ant-ivy/files/ant-ivy-2.5.3-gentoo.patch new file mode 100644 index 000000000000..27aa9332c047 --- /dev/null +++ b/dev-java/ant-ivy/files/ant-ivy-2.5.3-gentoo.patch @@ -0,0 +1,108 @@ +--- a/build.xml ++++ b/build.xml +@@ -72,9 +72,11 @@ + <fileset dir="${lib.dir}">
+ <include name="*.jar"/>
+ </fileset>
++ <pathelement path="${gentoo.classpath}"/>
+ </path>
+ <path id="build.bootstrap.classpath">
+ <pathelement location="${core.classes.build.dir}"/>
++ <pathelement location="${ant.jar}"/>
+ </path>
+ <path id="build.ant.classpath">
+ <pathelement location="${core.classes.build.dir}"/>
+@@ -95,6 +97,7 @@ + <pathelement location="${ant.classes.build.dir}"/>
+ <pathelement location="${optional.classes.build.dir}"/>
+ <pathelement path="${test.build.dir}"/>
++ <path refid="lib.classpath"/>
+ </path>
+ <path id="javadoc.test.classpath">
+ <path refid="run.classpath"/>
+@@ -185,8 +188,6 @@ + <javac srcdir="${src.dir}"
+ destdir="${core.classes.build.dir}"
+ sourcepath=""
+- source="${ivy.minimum.javaversion}"
+- target="${ivy.minimum.javaversion}"
+ debug="${debug.mode}"
+ includeantruntime="no">
+ <excludesfile name="ant.patterns"/>
+@@ -221,8 +222,6 @@ + destdir="${bootstrap.classes.build.dir}"
+ sourcepath=""
+ classpathref="build.bootstrap.classpath"
+- source="${ivy.minimum.javaversion}"
+- target="${ivy.minimum.javaversion}"
+ debug="${debug.mode}"
+ includeantruntime="yes">
+ <includesfile name="ant.patterns"/>
+@@ -241,8 +240,6 @@ + destdir="${ant.classes.build.dir}"
+ sourcepath=""
+ classpathref="build.ant.classpath"
+- source="${ivy.minimum.javaversion}"
+- target="${ivy.minimum.javaversion}"
+ debug="${debug.mode}"
+ includeantruntime="no">
+ <includesfile name="ant.patterns"/>
+@@ -260,8 +257,6 @@ + destdir="${optional.classes.build.dir}"
+ sourcepath=""
+ classpathref="build.optional.classpath"
+- source="${ivy.minimum.javaversion}"
+- target="${ivy.minimum.javaversion}"
+ debug="${debug.mode}"
+ includeantruntime="no">
+ <includesfile name="optional.patterns"/>
+@@ -371,8 +366,6 @@ + <javac srcdir="${test.dir}"
+ destdir="${test.build.dir}"
+ classpathref="run.classpath"
+- source="${ivy.minimum.javaversion}"
+- target="${ivy.minimum.javaversion}"
+ debug="${debug.mode}"
+ encoding="UTF-8"
+ includeantruntime="no"/>
+@@ -388,8 +381,6 @@ + <javac srcdir="${basedir}/test/custom-classpath"
+ destdir="${build.dir}/custom-classpath"
+ classpathref="run.classpath"
+- source="${ivy.minimum.javaversion}"
+- target="${ivy.minimum.javaversion}"
+ debug="${debug.mode}"
+ includeantruntime="no"/>
+ <jar destfile="${test.dir}/org/apache/ivy/core/settings/custom-resolver.jar"
+@@ -418,22 +418,12 @@ + </jar>
+ </target>
+
+- <target name="init-jacoco" depends="jar" unless="skip.test">
+- <ivy:cachepath organisation="org.jacoco" module="org.jacoco.ant" revision="${jacoco.version}"
+- inline="true" conf="default" pathid="jacoco.classpath" log="download-only"/>
+- <taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml"
+- classpathref="jacoco.classpath"/>
+- </target>
+-
+- <target name="test-internal" depends="build-test,init-tests,prepare-osgi-tests,prepare-test-jar-repositories,init-jacoco" unless="skip.test">
++ <target name="test-internal" depends="build-test,init-tests,prepare-osgi-tests,prepare-test-jar-repositories" unless="skip.test">
+ <mkdir dir="${test.xml.dir}"/>
+
+ <!-- multiple runs into the same logfile let the later report generation fail -->
+ <delete file="${jacoco.log}"/>
+ <property name="jacoco.coverage.enabled" value="true"/>
+- <jacoco:coverage xmlns:jacoco="antlib:org.jacoco.ant" destfile="${jacoco.log}"
+- exclclassloader="sun.reflect.DelegatingClassLoader:javassist.Loader"
+- enabled="${jacoco.coverage.enabled}">
+ <junit
+ haltonfailure="off"
+ haltonerror="off"
+@@ -463,7 +453,6 @@ + <fileset refid="test.fileset"/>
+ </batchtest>
+ </junit>
+- </jacoco:coverage>
+ </target>
+
+ <target name="test" depends="test-internal" description="Run the test">
diff --git a/dev-java/ant-ivy/files/ant-ivy-2.5.3-testExtendsAbsoluteLocation.patch b/dev-java/ant-ivy/files/ant-ivy-2.5.3-testExtendsAbsoluteLocation.patch new file mode 100644 index 000000000000..40a3a4daee24 --- /dev/null +++ b/dev-java/ant-ivy/files/ant-ivy-2.5.3-testExtendsAbsoluteLocation.patch @@ -0,0 +1,36 @@ + + <testcase classname="org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParserTest" name="testExtendsAbsoluteLocation" time="0.004"> + <error message="/tmp/foo%2Fbar/parent-ivy.xml" type="java.nio.file.AccessDeniedException">java.nio.file.AccessDeniedException: /tmp/foo%2Fbar/parent-ivy.xml + at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90) + at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) + at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116) + at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219) + at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:478) + at java.base/java.nio.file.Files.newOutputStream(Files.java:220) + at java.base/java.nio.file.Files.copy(Files.java:3067) + at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParserTest.testExtendsAbsoluteLocation(XmlModuleDescriptorParserTest.java:1478) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) +</error> + </testcase> + +--- a/test/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorParserTest.java ++++ b/test/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorParserTest.java +@@ -44,6 +44,7 @@ import org.apache.ivy.util.XMLHelper; + import org.junit.Before;
+ import org.junit.Rule;
+ import org.junit.Test;
++import org.junit.Ignore;
+ import org.junit.rules.ExpectedException;
+
+ import java.io.File;
+@@ -1462,7 +1463,7 @@ public class XmlModuleDescriptorParserTest extends AbstractModuleDescriptorParse + * @throws Exception if something goes wrong
+ * @see <a href="https://issues.apache.org/jira/browse/IVY-1562">IVY-1562</a>
+ */
+- @Test
++ @Test @Ignore
+ public void testExtendsAbsoluteLocation() throws Exception {
+ final URL ivyXML = this.getClass().getResource("foo%2Fbar/hello/test-ivy-extends-absolute.xml");
+ assertNotNull("Ivy xml file is missing", ivyXML);
|
