summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/contribution-impl
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-11-13 15:01:53 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-11-13 15:01:53 +0000
commitba73f8abcef884936f965c3085b80485bf2b5e1a (patch)
treecf29c5b6bde7935b549873a9c5021830c7fed01c /java/sca/modules/contribution-impl
parentd5e432c9b0c84ab153812e2d603f0e51d3a133bb (diff)
Work in progress, add support for ZIP archive contributions
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@713741 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/contribution-impl')
-rw-r--r--java/sca/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/java/sca/modules/contribution-impl/src/main/java/org/apache/tuscany/sca/contribution/service/impl/PackageTypeDescriberImpl.java b/java/sca/modules/contribution-impl/src/main/java/org/apache/tuscany/sca/contribution/service/impl/PackageTypeDescriberImpl.java
index 9f04c4af27..110450c469 100644
--- a/java/sca/modules/contribution-impl/src/main/java/org/apache/tuscany/sca/contribution/service/impl/PackageTypeDescriberImpl.java
+++ b/java/sca/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) {