summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvamsic007 <vamsic007@13f79535-47bb-0310-9956-ffa450edef68>2009-03-18 11:17:26 +0000
committervamsic007 <vamsic007@13f79535-47bb-0310-9956-ffa450edef68>2009-03-18 11:17:26 +0000
commitfa14a612de68186992b53b58a6a306f9ce7ad72f (patch)
tree767eb87d62ee13f3c682bc9f857fade2131270ce
parent46ed3e11fd047206b9a6606f811d9d8ea91b7acb (diff)
Added an EAR packaging type. Updated WAR to use PackageType.WAR.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@755552 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--branches/sca-java-1.x/modules/contribution-impl/src/main/java/org/apache/tuscany/sca/contribution/service/impl/PackageTypeDescriberImpl.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/branches/sca-java-1.x/modules/contribution-impl/src/main/java/org/apache/tuscany/sca/contribution/service/impl/PackageTypeDescriberImpl.java b/branches/sca-java-1.x/modules/contribution-impl/src/main/java/org/apache/tuscany/sca/contribution/service/impl/PackageTypeDescriberImpl.java
index 110450c469..a052e43356 100644
--- a/branches/sca-java-1.x/modules/contribution-impl/src/main/java/org/apache/tuscany/sca/contribution/service/impl/PackageTypeDescriberImpl.java
+++ b/branches/sca-java-1.x/modules/contribution-impl/src/main/java/org/apache/tuscany/sca/contribution/service/impl/PackageTypeDescriberImpl.java
@@ -49,8 +49,9 @@ public class PackageTypeDescriberImpl implements TypeDescriber {
* Initialize contentType registry with know types based on known file extensions
*/
private void init() {
+ contentTypeRegistry.put("EAR", PackageType.EAR);
contentTypeRegistry.put("JAR", PackageType.JAR);
- contentTypeRegistry.put("WAR", PackageType.JAR);
+ contentTypeRegistry.put("WAR", PackageType.WAR);
contentTypeRegistry.put("ZIP", PackageType.ZIP);
}