Skip to content

Commit

Permalink
OSGi jsp tests don't work because jstl not yet ported to servlet6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
janbartel committed May 2, 2024
1 parent c20a723 commit 2347c5c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
Expand Up @@ -44,7 +44,7 @@
<supportedProjectType>war</supportedProjectType>
</supportedProjectTypes>
<instructions>
<Import-Package>jakarta.servlet.jsp.*;version="[3,4)",org.eclipse.jetty.*;version="[$(version;===;${parsedVersion.osgiVersion}),$(version;==+;${parsedVersion.osgiVersion}))",*</Import-Package>
<Import-Package>jakarta.servlet.jsp.*;version="[4,5)",org.eclipse.jetty.*;version="[$(version;===;${parsedVersion.osgiVersion}),$(version;==+;${parsedVersion.osgiVersion}))",*</Import-Package>
<Export-Package>!org.example.*</Export-Package>
<Web-ContextPath>/ee11-demo-jsp</Web-ContextPath>
<Bundle-ClassPath>.,WEB-INF/classes</Bundle-ClassPath>
Expand Down
2 changes: 2 additions & 0 deletions jetty-ee11/jetty-ee11-osgi/test-jetty-ee11-osgi/pom.xml
Expand Up @@ -546,6 +546,8 @@
<exclude>**/TestJettyOSGiBootHTTP2Conscrypt.java</exclude>
<exclude>**/TestJettyOSGiBootHTTP2JDK9.java</exclude>
<exclude>**/TestJettyOSGiBootWithJakartaWebSocket.java</exclude>
<exclude>**/TestJettyOSGiBootWithJsp.java</exclude>
<exclude>**/TestJettyOSGiBootWithBundleJettyHome.java</exclude>
</excludes>
</configuration>
<!-- paxexam still using junit 4 so we have to force the provider here -->
Expand Down
Expand Up @@ -20,6 +20,7 @@
import org.eclipse.jetty.client.HttpClient;
import org.eclipse.jetty.http.HttpStatus;
import org.junit.Test;
import org.junit.jupiter.api.Disabled;
import org.junit.runner.RunWith;
import org.ops4j.pax.exam.Configuration;
import org.ops4j.pax.exam.CoreOptions;
Expand Down Expand Up @@ -67,6 +68,7 @@ public static Option[] configure()
}

@Test
@Disabled("TODO servlet6.1 jstl not ported to servlet6.1 jars")
public void testJspDump() throws Exception
{
if (Boolean.getBoolean(TestOSGiUtil.BUNDLE_DEBUG))
Expand Down
Expand Up @@ -20,6 +20,7 @@
import org.eclipse.jetty.client.HttpClient;
import org.eclipse.jetty.http.HttpStatus;
import org.junit.Test;
import org.junit.jupiter.api.Disabled;
import org.junit.runner.RunWith;
import org.ops4j.pax.exam.Configuration;
import org.ops4j.pax.exam.CoreOptions;
Expand Down Expand Up @@ -67,6 +68,7 @@ public static Option[] configure()
}

@Test
@Disabled("TODO servlet6.1 jstl not ported to servlet 6 jars yet")
public void testJspDump() throws Exception
{
if (Boolean.getBoolean(TestOSGiUtil.BUNDLE_DEBUG))
Expand Down

0 comments on commit 2347c5c

Please sign in to comment.