Virtual folders

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Virtual folders

1,676 Views
barbercolman
Contributor III

I have started a new project based on the twr-k60 and noticed the source files are in folders with small white squares on the icons. It appears these are virtual folders, but I have had trouble finding information on why virtual folders are used and how there are created.

Labels (1)
0 Kudos
Reply
3 Replies

960 Views
J2MEJediMaster
Specialist I

Have you looked in your project folder (within the workspace folder)? What do you see there? A screenshot would also help.

 

---Tom

0 Kudos
Reply

960 Views
CrasyCat
Specialist III

Hello

 

Extract from Eclipse on line help system:

 

"

Virtual folders are folders that exist only in the Eclipse workspace tree, and have no file system location.

By using virtual folders, file and folders can be organized in a project hierarchy independently of the file system location of those resources.

Regular file and folder resources can not be created under a virtual folder, since they need a file system location as their parent in order to exist in the file system. Only other virtual folders, or linked resources can be created directly under a virtual folder.

"

 

In order to create a virtual folder:

   - Right click in the CodeWarrior Projects view and select New > Folder.

   - Click on Advanced button

   - Select the parent folder (where you want the virtual folder to show up) and give it a name

   - Check Folder is not located in the file system (Virtual Folder).

  - Click on Finish.

 

You can now add files to this folder using right mouse click + selecting Add files.

 

CrasyCat

0 Kudos
Reply

960 Views
barbercolman
Contributor III

Thanks

There are a lot of issues I do not YET understand.

0 Kudos
Reply