Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 178591 Details for
Bug 307393
OSGi Web Container RI: WAR extraction when installing a web application
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Additional integration test
integrationtest.patch (text/plain), 1.87 KB, created by
Violeta Georgieva
on 2010-09-10 05:08:37 EDT
(
hide
)
Description:
Additional integration test
Filename:
MIME Type:
Creator:
Violeta Georgieva
Created:
2010-09-10 05:08:37 EDT
Size:
1.87 KB
patch
obsolete
>diff --git a/org.eclipse.gemini.web.test/src/test/java/org/eclipse/gemini/web/test/tomcat/TomcatServletContainerTests.java b/org.eclipse.gemini.web.test/src/test/java/org/eclipse/gemini/web/test/tomcat/TomcatServletContainerTests.java >index 04acce7..7c6ac8b 100644 >--- a/org.eclipse.gemini.web.test/src/test/java/org/eclipse/gemini/web/test/tomcat/TomcatServletContainerTests.java >+++ b/org.eclipse.gemini.web.test/src/test/java/org/eclipse/gemini/web/test/tomcat/TomcatServletContainerTests.java >@@ -408,8 +408,12 @@ public class TomcatServletContainerTests { > public void testInstallWebAppDir() throws Exception { > //Create web app dir > File webAppDir = new File("target/test-classes/simple-web-app-dir"); >- File indexHtml = new File(webAppDir, "index.html"); >- createFileWithContent(indexHtml, "Hello World!"); >+ File indexHtml = new File(webAppDir, "index.jsp"); >+ createFileWithContent( >+ indexHtml, >+ "Hello World!\n" + >+ "config.getServletContext().getResourcePaths(/): <%=config.getServletContext().getResourcePaths(\"/\")%>\n" + >+ "config.getServletContext().getRealPath(/): <%=config.getServletContext().getRealPath(\"/\")%>"); > > Bundle bundle = this.bundleContext.installBundle(LOCATION_PREFIX + webAppDir.getAbsolutePath() + "?Web-ContextPath=/simple-web-app-dir"); > bundle.start(); >@@ -417,7 +421,7 @@ public class TomcatServletContainerTests { > WebApplicationHandle handle = this.container.createWebApplication("/simple-web-app-dir", bundle); > this.container.startWebApplication(handle); > try { >- validateURL("http://localhost:8080/simple-web-app-dir/index.html"); >+ validateURL("http://localhost:8080/simple-web-app-dir/index.jsp"); > } finally { > this.container.stopWebApplication(handle); > bundle.uninstall();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 307393
:
163269
|
174009
|
174863
|
174968
|
178388
|
178591
|
178592