Author: rob.stryker(a)jboss.com
Date: 2010-12-01 10:02:40 -0500 (Wed, 01 Dec 2010)
New Revision: 27058
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ExploreUtils.java
Log:
JBIDE-7266 - explore util fix
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ExploreUtils.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ExploreUtils.java 2010-12-01
14:54:07 UTC (rev 27057)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ExploreUtils.java 2010-12-01
15:02:40 UTC (rev 27058)
@@ -147,11 +147,11 @@
}
public static IPath getDeployPath(IDeployableServer server,IModule[] moduleTree) {
- IPath p = PublishUtil.getDeployRootFolder(moduleTree, server);
+ IPath fullPath = PublishUtil.getDeployPath(moduleTree, server);
if( !PublishUtil.isBinaryObject(moduleTree)) {
- return PublishUtil.getDeployPath(moduleTree, server);
+ return fullPath;
}
- return p;
+ return fullPath.removeLastSegments(1);
}
}
Show replies by date