From dce9f22726877cf8c89e66854964cd4ad3ef64cb Mon Sep 17 00:00:00 2001 From: antelder Date: Mon, 5 Jan 2009 12:15:31 +0000 Subject: Copy fix for zip contributions from 1.x to 1.3.3 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@731540 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/contribution/service/impl/PackageTypeDescriberImpl.java | 1 + 1 file changed, 1 insertion(+) (limited to 'branches/sca-java-1.3.3/modules/contribution-impl/src/main/java') diff --git a/branches/sca-java-1.3.3/modules/contribution-impl/src/main/java/org/apache/tuscany/sca/contribution/service/impl/PackageTypeDescriberImpl.java b/branches/sca-java-1.3.3/modules/contribution-impl/src/main/java/org/apache/tuscany/sca/contribution/service/impl/PackageTypeDescriberImpl.java index 9f04c4af27..110450c469 100644 --- a/branches/sca-java-1.3.3/modules/contribution-impl/src/main/java/org/apache/tuscany/sca/contribution/service/impl/PackageTypeDescriberImpl.java +++ b/branches/sca-java-1.3.3/modules/contribution-impl/src/main/java/org/apache/tuscany/sca/contribution/service/impl/PackageTypeDescriberImpl.java @@ -51,6 +51,7 @@ public class PackageTypeDescriberImpl implements TypeDescriber { private void init() { contentTypeRegistry.put("JAR", PackageType.JAR); contentTypeRegistry.put("WAR", PackageType.JAR); + contentTypeRegistry.put("ZIP", PackageType.ZIP); } protected String resolveContentyTypeByExtension(URL resourceURL) { -- cgit v1.2.3