summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosendo Martinez2013-05-01 16:22:30 (EDT)
committer Roberto Sanchez2013-05-01 16:22:30 (EDT)
commit43ca8758e854c7c2870e3c9141ed0193f3e2012c (patch)
treef7fe5832a32b139caf9c4c53d404a1a526c1390b
parent8180142db263046edef1319a133dddd004b5abe1 (diff)
downloadwebtools.ejb-43ca8758e854c7c2870e3c9141ed0193f3e2012c.zip
webtools.ejb-43ca8758e854c7c2870e3c9141ed0193f3e2012c.tar.gz
webtools.ejb-43ca8758e854c7c2870e3c9141ed0193f3e2012c.tar.bz2
[400484] Ensure JavaEE7 archives can be imported/exported and are supported in binary modev201305012100
-rw-r--r--plugins/org.eclipse.jst.j2ee.ejb/ejbcreation/org/eclipse/jst/j2ee/internal/ejb/project/operations/EJBComponentImportDataModelProvider.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.jst.j2ee.ejb/ejbcreation/org/eclipse/jst/j2ee/internal/ejb/project/operations/EJBComponentImportDataModelProvider.java b/plugins/org.eclipse.jst.j2ee.ejb/ejbcreation/org/eclipse/jst/j2ee/internal/ejb/project/operations/EJBComponentImportDataModelProvider.java
index 7c4a1b6..0cf0da5 100644
--- a/plugins/org.eclipse.jst.j2ee.ejb/ejbcreation/org/eclipse/jst/j2ee/internal/ejb/project/operations/EJBComponentImportDataModelProvider.java
+++ b/plugins/org.eclipse.jst.j2ee.ejb/ejbcreation/org/eclipse/jst/j2ee/internal/ejb/project/operations/EJBComponentImportDataModelProvider.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2003, 2007 IBM Corporation and others.
+ * Copyright (c) 2003, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -49,8 +49,8 @@ public final class EJBComponentImportDataModelProvider extends J2EEComponentImpo
@Override
protected void handleUnknownType(JavaEEQuickPeek jqp) {
jqp.setType(J2EEVersionConstants.EJB_TYPE);
- jqp.setVersion(J2EEVersionConstants.EJB_3_1_ID);
- jqp.setJavaEEVersion(J2EEVersionConstants.JEE_6_0_ID);
+ jqp.setVersion(J2EEVersionConstants.EJB_3_2_ID);
+ jqp.setJavaEEVersion(J2EEVersionConstants.JEE_7_0_ID);
}
@Override