Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Creating subfolders
Creating subfolders [message #327950] Fri, 09 May 2008 11:51 Go to next message
Eclipse UserFriend
Originally posted by: nospam.nospam.com

Suppose I have the following folder structure:
folderA/folderB

Is it possible to create a subfolder such as:
folderA/folderB/folder1/folder2/folder3

with one call, or do I have to create each of these separately in a loop?
First create folder1 then folder2 then folder3.
Re: Creating subfolders [message #327954 is a reply to message #327950] Fri, 09 May 2008 12:13 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

The Java doc lists a reason for IFolder creation failure as:

* <li> The parent of this resource does not exist.</li>

So I think you need to create each one in turn.


exquisitus wrote:
> Suppose I have the following folder structure:
> folderA/folderB
>
> Is it possible to create a subfolder such as:
> folderA/folderB/folder1/folder2/folder3
>
> with one call, or do I have to create each of these separately in a
> loop? First create folder1 then folder2 then folder3.
>
Previous Topic:how to monitor the "help content" that user selected/clicked
Next Topic:BidiUtil.isBidiPlatform() - Version display BiDi question
Goto Forum:
  


Current Time: Fri Aug 16 20:45:30 GMT 2024

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

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

Back to the top