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 148203 | Differences between
and this patch

Collapse All | Expand All

(-)static_web_project/org/eclipse/wst/web/internal/deployables/ComponentDeployable.java (-1 / +1 lines)
Lines 246-252 Link Here
246
    		// Otherwise, if it is a folder, check its children for the existing resource path
246
    		// Otherwise, if it is a folder, check its children for the existing resource path
247
    		// but only check if the beginning segments are a match
247
    		// but only check if the beginning segments are a match
248
	    	if(moduleResource instanceof IModuleFolder && 
248
	    	if(moduleResource instanceof IModuleFolder && 
249
	    			startsWith(moduleSegments, pathSegments) && 
249
	    			startsWith(moduleSegments, pathSegments) && pathSegments.length > moduleSegments.length &&
250
	    			moduleResource.getName().equals(pathSegments[moduleSegments.length > 0 ? moduleSegments.length : 0]))	    	  
250
	    			moduleResource.getName().equals(pathSegments[moduleSegments.length > 0 ? moduleSegments.length : 0]))	    	  
251
    			if (((IModuleFolder)moduleResource).members()!=null)
251
    			if (((IModuleFolder)moduleResource).members()!=null)
252
    				return getExistingModuleResource(Arrays.asList(((IModuleFolder)moduleResource).members()),path);		
252
    				return getExistingModuleResource(Arrays.asList(((IModuleFolder)moduleResource).members()),path);		

Return to bug 148203