[211115] J2EEFlexProjDeployable getURI(IModule module) returns an incorrect URI
diff --git a/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/util/ComponentUtilities.java b/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/util/ComponentUtilities.java
index e9bd7ca..ba5afa0 100644
--- a/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/util/ComponentUtilities.java
+++ b/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/util/ComponentUtilities.java
@@ -314,14 +314,22 @@
 		comp.setMetaProperty(IModuleConstants.CONTEXTROOT, contextRoot);
 	}
 
+	/**
+	 * @deprecated use {@link #getDeployUriOfComponent(IVirtualReference, String)}
+	 * @param reference
+	 * @return
+	 */
 	public static String getDeployUriOfUtilComponent(IVirtualReference reference){
+		return ComponentUtilities.getDeployUriOfComponent(reference, ".jar"); //$NON-NLS-1$
+	}
+
+	public static String getDeployUriOfComponent(IVirtualReference reference, String extension) {
 		String archiveName = reference.getArchiveName();
 		String uri = null;
-		if( archiveName != null && archiveName != "" ){ //$NON-NLS-1$
+		if( archiveName != null && !archiveName.equals("") ){ //$NON-NLS-1$
 			uri = reference.getRuntimePath() + "/" + reference.getArchiveName(); //$NON-NLS-1$
 		}else{
-			uri = reference.getRuntimePath() + "/" + reference.getReferencedComponent().getProject().getName() + ".jar"; //$NON-NLS-1$ //$NON-NLS-2$
+			uri = reference.getRuntimePath() + "/" + reference.getReferencedComponent().getProject().getName() + extension; //$NON-NLS-1$
 		}
 		return uri;
-	}
-}
+	}}