|IFolder.move() gives exception on windows machine [message #516543]
||Wed, 24 February 2010 11:37
Registered: February 2010
Hi, I am trying to move a resource (IFolder) from one location to another location inside the project through IFolder.move() API as follows:|
dataFolder.move(project.getLocation(), true, null);
The problem I am getting is, I am running it on the Windows platform and the first parameter IPath resolves to the file system path as: 'C:/workspace/project'. And move() gives me CoreException as : ":" is an invalid character in path.
Has anyone faced this similar issue?
[Updated on: Wed, 24 February 2010 12:31]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01667 seconds