Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 423759
Collapse All | Expand All

(-)a/plugins/org.eclipse.jst.server.tomcat.core/tomcatcore/org/eclipse/jst/server/tomcat/core/internal/Tomcat80PublishModuleVisitor.java (-7 / +13 lines)
Lines 15-20 Link Here
15
import java.util.HashMap;
15
import java.util.HashMap;
16
import java.util.HashSet;
16
import java.util.HashSet;
17
import java.util.Iterator;
17
import java.util.Iterator;
18
import java.util.List;
18
import java.util.Map;
19
import java.util.Map;
19
import java.util.Set;
20
import java.util.Set;
20
21
Lines 248-260 Link Here
248
		}
249
		}
249
		if (!virtualDependentResources.isEmpty()) {
250
		if (!virtualDependentResources.isEmpty()) {
250
			// TODO Implement support for WebFragment resources
251
			// TODO Implement support for WebFragment resources
251
//			for (Map.Entry<String, List<String>> entry : virtualDependentResources.entrySet()) {
252
			for (Map.Entry<String, List<String>> entry : virtualDependentResources.entrySet()) {
252
//				String rtPath = entry.getKey();
253
				String rtPath = entry.getKey();
253
//				List<String> locations = entry.getValue();
254
				List<String> locations = entry.getValue();
254
//				for (String location : locations) {
255
				for (String location : locations) {
255
//
256
					PostResources postResources = (PostResources)context.getResources().createElement("PostResources");
256
//				}
257
					postResources.setClassName("org.apache.catalina.webresources.DirResourceSet");
257
//			}
258
					postResources.setBase(location);
259
					postResources.setWebAppMount(rtPath.length() > 0 ? rtPath : "/");
260
					postResources.setInternalPath("/");
261
					postResources.setClassLoaderOnly("false");
262
				}
263
			}
258
		}
264
		}
259
		virtualDependentResources.clear();
265
		virtualDependentResources.clear();
260
266

Return to bug 423759