Fixing ee9 MetaInfConfigurationTest usage of classpath to be compatible with ee8 conversion.

This commit is contained in:
Joakim Erdfelt 2022-10-17 17:09:36 -05:00
parent 65c5e93351
commit 3c5fb319ec
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
3 changed files with 3 additions and 3 deletions

View File

@ -80,7 +80,7 @@
</argLine>
<useManifestOnlyJar>false</useManifestOnlyJar>
<additionalClasspathElements>
<additionalClasspathElement>${basedir}/src/test/resources/mods/foo-bar-janb.jar</additionalClasspathElement>
<additionalClasspathElement>${project.build.testOutputDirectory}/mods/foo-bar-janb.jar</additionalClasspathElement>
</additionalClasspathElements>
<excludes>
<exclude>org.eclipse.jetty.ee8.webapp.WebAppClassLoaderUrlStreamTest</exclude>

View File

@ -53,7 +53,7 @@
</argLine>
<useManifestOnlyJar>false</useManifestOnlyJar>
<additionalClasspathElements>
<additionalClasspathElement>${basedir}/src/test/resources/mods/foo-bar-janb.jar</additionalClasspathElement>
<additionalClasspathElement>${project.build.testOutputDirectory}/mods/foo-bar-janb.jar</additionalClasspathElement>
</additionalClasspathElements>
<excludes>
<exclude>org.eclipse.jetty.ee9.webapp.WebAppClassLoaderUrlStreamTest</exclude>

View File

@ -143,7 +143,7 @@ public class MetaInfConfigurationTest
* jetty-9.4.x to jetty-10.0.x (where we use module-info): in jetty-9.4.x,
* we can use the --add-module argument to put the foo-bar-janb.jar onto the
* module path, but this doesn't seem to work in jetty-10.0.x. So this test
* will find foo-bar.janb.jar on the classpath, and jetty-util from the module path.
* will find foo-bar-janb.jar on the classpath, and servlet-api from the module path.
*
* @throws Exception if the test fails
*/