commit | 0f8353f86dafaa4407f0f134b0a7241824d03989 | [log] [tgz] |
---|---|---|
author | jsholl <jsholl> | Wed Nov 24 20:05:24 2010 +0000 |
committer | jsholl <jsholl> | Wed Nov 24 20:05:24 2010 +0000 |
tree | 6874b4df062372009f59fb151cce30b264a4098d | |
parent | c73714b772d1b58db04f01f14b9f3674dc6f91e3 [diff] |
[331044] Deployment assembly's use of '/'
diff --git a/plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/AddComponentToEnterpriseApplicationOp.java b/plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/AddComponentToEnterpriseApplicationOp.java index 39745a4..33abe33 100644 --- a/plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/AddComponentToEnterpriseApplicationOp.java +++ b/plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/AddComponentToEnterpriseApplicationOp.java
@@ -151,6 +151,8 @@ return; } } + if(name != null) + name = new Path(name).makeRelative().toString(); ICommonModule mod = addModule(application, wc, name); if(mod == null){ //utility project return;