Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » how to careat folders
how to careat folders [message #9059] Thu, 24 April 2003 07:33 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
>
Previous Topic:Dynamic pop up menus
Next Topic:console view
Goto Forum:
  


Current Time: Sat Dec 21 16:54:38 GMT 2024

Powered by FUDForum. Page generated in 0.03121 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top