how to careat folders [message #9059] |
Thu, 24 April 2003 07:33 |
Eclipse User |
|
|
|
Originally posted by: terence.liu.intech.com.tw
Hi
Does any anyone know how to create folders?
It's like c:/a/a/a/a
if I use
folder = myNewProject.getFolder("Code");
folder.create(true, true, null);
, I got the error message
"org.eclipse.core.internal.resources.ResourceException: Resource c:/a does
not exist.
How can I do?
Thanks
Terence
|
|
|
Re: how to careat folders [message #20589 is a reply to message #9059] |
Mon, 28 April 2003 22:53 |
Eclipse User |
|
|
|
Originally posted by: John_Arthorne.oti.com_
It looks like you haven't created the project yet. You can only create
folders in projects that exist and are open. See IResource.isAccessible.
--
Terence wrote:
> Hi
> Does any anyone know how to create folders?
> It's like c:/a/a/a/a
> if I use
> folder = myNewProject.getFolder("Code");
> folder.create(true, true, null);
> , I got the error message
> "org.eclipse.core.internal.resources.ResourceException: Resource c:/a does
> not exist.
>
|
|
|
Powered by
FUDForum. Page generated in 0.02940 seconds