Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvbhadrir2005-06-16 14:24:20 +0000
committervbhadrir2005-06-16 14:24:20 +0000
commit87b995117775701b1f334a41dd2772405671d1ec (patch)
tree68c1ecb886687dddc2b855dc663720d6b1fcb1cb /plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/EARComponentCreationOperation.java
parent5320ae1d8d1b97c7f23199972b2a390513032e84 (diff)
downloadwebtools.javaee-87b995117775701b1f334a41dd2772405671d1ec.tar.gz
webtools.javaee-87b995117775701b1f334a41dd2772405671d1ec.tar.xz
webtools.javaee-87b995117775701b1f334a41dd2772405671d1ec.zip
[100301]reverted back the fix, problem exists while finding resoources from virtual API's
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/EARComponentCreationOperation.java')
-rw-r--r--plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/EARComponentCreationOperation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/EARComponentCreationOperation.java b/plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/EARComponentCreationOperation.java
index 7c5ba597b..0cdb91b2f 100644
--- a/plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/EARComponentCreationOperation.java
+++ b/plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/EARComponentCreationOperation.java
@@ -55,7 +55,7 @@ public class EARComponentCreationOperation extends ComponentCreationOperation im
component.create(0, null);
//create and link META-INF folder
IVirtualFolder root = component.getFolder(new Path("/")); //$NON-NLS-1$
- root.createLink(new Path("/"), 0, null); //$NON-NLS-1$
+ root.createLink(new Path("/" + getModuleName()), 0, null); //$NON-NLS-1$
IVirtualFolder metaInfFolder = root.getFolder(J2EEConstants.META_INF);
metaInfFolder.create(IResource.FORCE, null);

Back to the top