Index: plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/part/ForgeView.java =================================================================== --- plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/part/ForgeView.java (revision 37095) +++ plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/part/ForgeView.java (working copy) @@ -254,11 +254,11 @@ Object first = ss.getFirstElement(); if (first instanceof IResource) { String path = ((IResource)first).getLocation().toOSString(); - runtime.sendInput("pick-up " + path + "\n"); + runtime.sendInput("pick-up \"" + path + "\"\n"); } else if (first instanceof IJavaElement) { try { String path = ((IJavaElement)first).getCorrespondingResource().getLocation().toOSString(); - runtime.sendInput("pick-up " + path + "\n"); + runtime.sendInput("pick-up \"" + path + "\"\n"); } catch (JavaModelException e) { ForgeUIPlugin.log(e); }