summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.3.3/modules/contribution-impl/src/main
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-01-05 12:15:31 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-01-05 12:15:31 +0000
commitdce9f22726877cf8c89e66854964cd4ad3ef64cb (patch)
tree85aed7de5ca6ad79cb352488160458c3b4ddeac1 /branches/sca-java-1.3.3/modules/contribution-impl/src/main
parent9a0f40c77c189ec49c5fdedd6a7f07e30bf5e393 (diff)
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
Diffstat (limited to 'branches/sca-java-1.3.3/modules/contribution-impl/src/main')
-rw-r--r--branches/sca-java-1.3.3/modules/contribution-impl/src/main/java/org/apache/tuscany/sca/contribution/service/impl/PackageTypeDescriberImpl.java1
1 files changed, 1 insertions, 0 deletions
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) {